111 Commits

Author SHA1 Message Date
nisse
0584331219 Delete VieRemb class, move functionality to PacketRouter.
Also rename SendFeedback --> SendTransportFeedback.

BUG=webrtc:7135

Review-Url: https://codereview.webrtc.org/2789843002
Cr-Commit-Position: refs/heads/master@{#17755}
2017-04-19 06:38:35 +00:00
kjellander
dd460e2aa2 Fix lint errors to enable stricter PyLint rules
These fixes are needed to avoid errors after submitting
https://codereview.webrtc.org/2737963003

BUG=webrtc:7303
NOTRY=True

Review-Url: https://codereview.webrtc.org/2812273002
Cr-Commit-Position: refs/heads/master@{#17679}
2017-04-12 19:06:13 +00:00
oprypin
f250100475 Add POLQA to low bandwidth audio test
BUG=webrtc:7229

Review-Url: https://codereview.webrtc.org/2804083003
Cr-Commit-Position: refs/heads/master@{#17671}
2017-04-12 12:00:56 +00:00
Henrik Kjellander
e52b8ace0a Remove ortc_unittests from iOS simualator tests.
The test has proven to flake a lot (too much).

BUG=webrtc:7479
TBR=deadbeef@webrtc.org

Review-Url: https://codereview.webrtc.org/2809123005 .
Cr-Commit-Position: refs/heads/master@{#17669}
2017-04-12 11:49:27 +00:00
kjellander
382f2b2c45 Fix swarming tests not running in parallel
Due to recent Chrome infra changes in
https://chromium-review.googlesource.com/c/472290/
tests running on swarming are now assumed to emit JSON results
or will be marked as failing. This requires us to use our
gtest-parallel wrapper for all our Swarming tests
(or implement the --isolated-script-test-output flag, which
normally only is implemented by the Chromium test launcher).

The low_bandwidth_audio_test can actually run in parallel,
so just change that.

The webrtc_nonparallel_tests cannot, so this CL changes MB
to pass --workers=1 flag to gtest-parallel, which makes the
tests run in sequence. This adds a little confusion but the root
problem is really that our gtest-parallel script [1] does a lot more
than just running the tests in parallel these days, so it should
probably be renamed.

Also make sure gtest-parallel-wrapper.py [2] consumes the
--isolated-script-test-chartjson-output flag (unused) so we don't
pass it on to the test executable.

[1]: https://chromium.googlesource.com/external/github.com/google/gtest-parallel/+/master/gtest-parallel
[2]: https://chromium.googlesource.com/external/webrtc/+/master/tools-webrtc/gtest-parallel-wrapper.py

BUG=709988
TBR=ehmaldonado@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2806373002
Cr-Commit-Position: refs/heads/master@{#17646}
2017-04-11 11:07:01 +00:00
sakal
423f106e8c Add support for 64-bit architectures in build_aar.py.
BUG=webrtc:7456
NOTRY=True

Review-Url: https://codereview.webrtc.org/2802693005
Cr-Commit-Position: refs/heads/master@{#17587}
2017-04-07 12:10:15 +00:00
kjellander
cab8d888c5 Revert of Enable rtc_unittests on iOS simulator (patchset #2 id:20001 of https://codereview.webrtc.org/2799033004/ )
Reason for revert:
It has already failed several times:
https://build.chromium.org/p/client.webrtc/builders/iOS64%20Sim%20Debug%20%28iOS%209.0%29/builds/1363
https://build.chromium.org/p/client.webrtc/builders/iOS64%20Sim%20Debug%20%28iOS%209.0%29/builds/1361
https://build.chromium.org/p/client.webrtc/builders/iOS64%20Sim%20Debug%20%28iOS%209.0%29/builds/1360

Original issue's description:
> Enable rtc_unittests on iOS simulator
>
> The recent change in https://codereview.chromium.org/2780513006
> seems to make it possible for us to enable this test.
>
> BUG=webrtc:5572, webrtc:5566
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2799033004
> Cr-Commit-Position: refs/heads/master@{#17558}
> Committed: 4fcfdd8ff0

TBR=oprypin@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:5572, webrtc:5566

Review-Url: https://codereview.webrtc.org/2799783005
Cr-Commit-Position: refs/heads/master@{#17567}
2017-04-06 14:32:51 +00:00
kjellander
4fcfdd8ff0 Enable rtc_unittests on iOS simulator
The recent change in https://codereview.chromium.org/2780513006
seems to make it possible for us to enable this test.

BUG=webrtc:5572, webrtc:5566
NOTRY=True

Review-Url: https://codereview.webrtc.org/2799033004
Cr-Commit-Position: refs/heads/master@{#17558}
2017-04-06 09:21:45 +00:00
kjellander
b1e3fc4515 Enable tools_unittests and rtc_stats_unittests on iOS Simulator
The tests have been passing for some time, but were never added.

BUG=webrtc:5572, webrtc:5566
NOTRY=True

Review-Url: https://codereview.webrtc.org/2800813005
Cr-Commit-Position: refs/heads/master@{#17556}
2017-04-06 08:48:37 +00:00
kjellander
c88b5d56ad Reland of PyLint fixes for tools-webrtc and webrtc/tools (patchset #1 id:1 of https://codereview.webrtc.org/2737233003/ )
Reason for revert:
Fixing errors for reland. I have tested that this does not make Chromium video quality tests fail.

Original issue's description:
> Revert of PyLint fixes for tools-webrtc and webrtc/tools (patchset #3 id:40001 of https://codereview.webrtc.org/2736233003/ )
>
> Reason for revert:
> Fails video quality tests in Chrome:  http://build.chromium.org/p/chromium.webrtc.fyi/builders/Win10%20Tester/builds/6568
> I should have looked more closer at those :(
>
> Original issue's description:
> > PyLint fixes for tools-webrtc and webrtc/tools
> >
> > Fix a lot of errors before bringing in the new config in
> > https://codereview.webrtc.org/2737963003/
> >
> > BUG=webrtc:7303
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2736233003
> > Cr-Commit-Position: refs/heads/master@{#17137}
> > Committed: f5318e1f39
>
> TBR=oprypin@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7303
>
> Review-Url: https://codereview.webrtc.org/2737233003
> Cr-Commit-Position: refs/heads/master@{#17142}
> Committed: 94f4d9effc

NOTRY=true
BUG=webrtc:7312

Review-Url: https://codereview.webrtc.org/2741733003
Cr-Commit-Position: refs/heads/master@{#17541}
2017-04-05 13:42:43 +00:00
Henrik Kjellander
65a830892c Another landmine for low_bandwidth_audio_test
It seems old build output is still causing problems with failed
compile steps.

BUG=webrtc:7430
TBR=lliuu@webrtc.org
CC=oprypin@webrtc.org

Review-Url: https://codereview.webrtc.org/2787023003 .
Cr-Commit-Position: refs/heads/master@{#17478}
2017-03-30 19:32:53 +00:00
oprypin
6d305baa04 Add Windows, Mac, Android support to low bandwidth audio test
BUG=webrtc:7229

Review-Url: https://codereview.webrtc.org/2767383005
Cr-Commit-Position: refs/heads/master@{#17470}
2017-03-30 11:01:30 +00:00
oprypin
30cbd0ba8f Landmine #2 for https://codereview.webrtc.org/2767383005
BUG=webrtc:7229
NOTRY=True

Review-Url: https://codereview.webrtc.org/2787753002
Cr-Commit-Position: refs/heads/master@{#17469}
2017-03-30 10:51:10 +00:00
ehmaldonado
031846393c gtest-parallel: Concatenate the log files in the passed, failed and interrupted dirs.
BUG=webrtc:7391
R=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2787453004
Cr-Commit-Position: refs/heads/master@{#17468}
2017-03-30 10:33:19 +00:00
deadbeef
1dcb16409a Rewrite PeerConnection integration tests using better testing practices.
Also renames "peerconnection_unittests" to "peerconnection_integrationtests",
and moves the ICE URL parsing code to separate files.

The main problem previously was that the test assertions
occurred in various places in the main test class, and this shared test
code was overly complex and stateful. As a result, it was difficult to
tell what a test even does, let alone what assertions it's meant to be
making. And writing a new test that does what you want can be a
frustrating ordeal.

The new code still uses helper methods, but they have intuitive names
and a smaller role; all of the important parts of the test's logic are
in the test case itself.

We're planning on merging PeerConnection and WebRtcSession at some point
soon, so it seemed valuable to do this, so that the WebRtcSession tests
can be rewritten as PeerConnection tests using better patterns.

BUG=None

Review-Url: https://codereview.webrtc.org/2738353003
Cr-Commit-Position: refs/heads/master@{#17458}
2017-03-30 04:08:16 +00:00
ehmaldonado
3ff7a95552 Use Chromium's mirror of github for gtest-parallel.
- Move gtest-parallel-wrapper.py to tools-webrtc.
- Update mb.py and mb_unittest.py

BUG=webrtc:7391
NOTRY=True
R=kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2785653002
Cr-Commit-Position: refs/heads/master@{#17453}
2017-03-29 16:42:32 +00:00
Henrik Kjellander
6104cb7656 MB: Make new ARM Debug bots actually build Debug.
There was a mistake in
https://codereview.webrtc.org/2787483002 making the new Debug
bots build Release.

BUG=webrtc:7024
NOTRY=True
TBR=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2782883002 .
Cr-Commit-Position: refs/heads/master@{#17448}
2017-03-29 14:14:47 +00:00
Henrik Kjellander
c02b5fad2a MB: Add the new ARM bots.
BUG=webrtc:7024
NOTRY=True
R=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2787483002 .
Cr-Commit-Position: refs/heads/master@{#17446}
2017-03-29 13:51:57 +00:00
aleloi
dbd0a21a5d Disable P2PTransportChannelMultihomedTest test on memcheck.
The test
P2PTransportChannelMultihomedTest.TestContinualGatheringOnNewInterface
fails on Linux memcheck with the following error:

../../webrtc/p2p/base/p2ptransportchannel_unittest.cc:2780: Failure
Value of: ep1_ch1()->GetState() == IceTransportState::STATE_COMPLETED && (conn = GetConnectionWithLocalAddress(ep1_ch1(), cellular[0])) != nullptr && conn != ep1_ch1()->selected_connection() && conn->writable()
  Actual: false
Expected: true

TBR=honghaiz@webrtc.org
BUG=webrtc:7421
NOTRY=true

Review-Url: https://codereview.webrtc.org/2782163002
Cr-Commit-Position: refs/heads/master@{#17445}
2017-03-29 12:04:26 +00:00
oprypin
3c5ec8d918 Landmine for https://codereview.webrtc.org/2767383005
BUG=webrtc:7229
NOTRY=True

Review-Url: https://codereview.webrtc.org/2777873002
Cr-Commit-Position: refs/heads/master@{#17441}
2017-03-29 11:09:44 +00:00
Henrik Kjellander
43d57dea32 Landmine to clobber due to Win Clang Debug linking errors
In https://codereview.webrtc.org/2786603002 we saw several
Win Clang Debug errors. Clang was recently rolled so let's just
wipe our bots clean.

BUG=None
TBR=oprypin@webrtc.org

Review-Url: https://codereview.webrtc.org/2781873003 .
Cr-Commit-Position: refs/heads/master@{#17439}
2017-03-29 10:49:47 +00:00
kjellander
f9e2a36229 Roll chromium_revision 22b81f6c45..d604de96c9 (459032:459307)
MB changes were needed due to https://codereview.chromium.org/2767833002
FullStackTest.ScreenshareSlidesVP9_2SL
test was disabled due to libvpx regression, see webrtc:7401.

Roll chromium_revision 22b81f6c45..d604de96c9 (459032:459307)

Change log: 22b81f6c45..d604de96c9
Full diff: 22b81f6c45..d604de96c9

Changed dependencies:
* src/base: 258342709c..d49079a0cb
* src/build: 4a2354d6ce..a18678dc18
* src/ios: f825ec1419..4afbbbaa88
* src/testing: 83a00745ef..7a028befe4
* src/third_party: 5c1951e265..5903b09f59
* src/third_party/catapult: 1b6a20ab7e..5c300b0898
* src/third_party/ffmpeg: b9acb5c51e..6d2e444456
* src/third_party/libvpx/source/libvpx: 8121f85473..2fac50fa0e
* src/tools: a4f9a9e9e9..3a6ca3a28a
DEPS diff: 22b81f6c45..d604de96c9/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=webrtc:7401

Review-Url: https://codereview.webrtc.org/2777553002
Cr-Commit-Position: refs/heads/master@{#17376}
2017-03-24 19:17:33 +00:00
deadbeef
f137e97adb Revert of Removing HTTPS and SOCKS proxy server code. (patchset #2 id:20001 of https://codereview.webrtc.org/2731673002/ )
Also needed to revert these CLs, which removed code used by the
code being un-removed:
https://codereview.webrtc.org/2745523004
https://codereview.webrtc.org/2754033003
https://codereview.webrtc.org/2758943002

Reason for revert:
This code is still being used by native application developers, so we should send a PSA announcing the deprecation and suggest an alternative before removing it.

Original issue's description:
> Removing HTTPS and SOCKS proxy server code.
>
> This isn't used any more so there's no point in maintaining it.
>
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2731673002
> Cr-Commit-Position: refs/heads/master@{#17016}
> Committed: a1991c5175

TBR=pthatcher@webrtc.org
NOPRESUBMIT=true
NOTRY=true
BUG=None

Review-Url: https://codereview.webrtc.org/2766063005
Cr-Commit-Position: refs/heads/master@{#17369}
2017-03-23 22:45:49 +00:00
kjellander
74e8126ac9 MB: Add --quick flag for low_bandwidth_audio_test
This seems to be the preferred way to pass flags to tests running on Swarming.

Add --quick flag to the low_bandwidth_audio_test and support for 'args' keyword
(similar to upstream Chromium's mb.py).
Change the type of the test to non_parallel_console_test_launcher to avoid
running with gtest-parallel, since it will swallow the stdout output.

BUG=webrtc:7229
NOTRY=True
TBR=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2763323003
Cr-Commit-Position: refs/heads/master@{#17353}
2017-03-23 07:51:11 +00:00
kjellander
1372291654 MB: Add low_bandwidth_audio_test to isolate map.
This is needed for the test to be possible to run on Swarming.

BUG=webrtc:7229
NOTRY=True
TBR=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2761213005
Cr-Commit-Position: refs/heads/master@{#17344}
2017-03-22 15:02:38 +00:00
ehmaldonado
e55f91ce47 MB: Add webrtc_perf_tests to gn_isolate_map.pyl
BUG=chromium:687890
NOTRY=True

Review-Url: https://codereview.webrtc.org/2766513006
Cr-Commit-Position: refs/heads/master@{#17340}
2017-03-22 12:40:14 +00:00
philipel
e828c9690a Probing EndToEndTests.
Add tests for inital probing and mid-call probing by reconfiguring max bitrate.

BUG=none

Review-Url: https://codereview.webrtc.org/2760623002
Cr-Commit-Position: refs/heads/master@{#17316}
2017-03-21 10:24:27 +00:00
solenberg
61c703118c Remove obsolete valgrind/MSAN suppressions.
BUG=webrtc:3827,webrtc:6784,webrtc:5988
NOTRY=True

Review-Url: https://codereview.webrtc.org/2758943002
Cr-Commit-Position: refs/heads/master@{#17307}
2017-03-20 11:29:09 +00:00
kjellander
8430825856 Roll chromium_revision 0036d9b08e..2d05f4450c (457220:457366)
Reverting MB changes from https://codereview.webrtc.org/2755433005/
since https://codereview.chromium.org/2695963003 was reverted.

Change log: 0036d9b08e..2d05f4450c
Full diff: 0036d9b08e..2d05f4450c

Changed dependencies:
* src/base: 921d4dc4be..536da69816
* src/build: 15d5fcab1c..81c2772699
* src/ios: 6f28a4ab1b..bee9511bdb
* src/testing: 3cc4ea5920..6d32ea1500
* src/third_party: 95b8b082f7..eccad07478
* src/third_party/catapult: 76b86f523b..faf60eb37f
* src/tools: 04c6d654f7..b06789b11a
DEPS diff: 0036d9b08e..2d05f4450c/DEPS

No update to Clang.

TBR=
BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2753773005
Cr-Commit-Position: refs/heads/master@{#17268}
2017-03-16 08:35:09 +00:00
kjellander
9f8a566316 Roll chromium_revision 981ff3850e..99c1f4221e (456928:457015)
MB was updated to accomodate changes in https://codereview.chromium.org/2695963003

Change log: 981ff3850e..99c1f4221e
Full diff: 981ff3850e..99c1f4221e

Changed dependencies:
* src/base: be5cf86ede..6d7c22c4f5
* src/build: 2744073131..e8b5e58534
* src/ios: 65ada1572f..8d1f4a15e6
* src/testing: 3d76f6cb4c..d6eb1e0a11
* src/third_party: 779bb26879..24999c043d
* src/tools: f2d0d63fdc..2ffeda5cdc
DEPS diff: 981ff3850e..99c1f4221e/DEPS

No update to Clang.

TBR=
BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2755433005
Cr-Commit-Position: refs/heads/master@{#17238}
2017-03-15 09:31:11 +00:00
VladimirTechMan
7b188e8fbb Add flag to clean up temporary results after building iOS Framework or static lib
The --purify flag can now be passed to remove the temporary
files and directories created while building the iOS Framework or static
library. That way, only the final result(s) are taking up space in the
output folder.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2740923003
Cr-Commit-Position: refs/heads/master@{#17224}
2017-03-14 10:12:35 +00:00
kthelgason
96feb2ac1c Update licence generation script after GYP->GN migration.
BUG=webrtc:6372

Review-Url: https://codereview.webrtc.org/2735173002
Cr-Commit-Position: refs/heads/master@{#17212}
2017-03-13 15:05:59 +00:00
kjellander
94f4d9effc Revert of PyLint fixes for tools-webrtc and webrtc/tools (patchset #3 id:40001 of https://codereview.webrtc.org/2736233003/ )
Reason for revert:
Fails video quality tests in Chrome:  http://build.chromium.org/p/chromium.webrtc.fyi/builders/Win10%20Tester/builds/6568
I should have looked more closer at those :(

Original issue's description:
> PyLint fixes for tools-webrtc and webrtc/tools
>
> Fix a lot of errors before bringing in the new config in
> https://codereview.webrtc.org/2737963003/
>
> BUG=webrtc:7303
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2736233003
> Cr-Commit-Position: refs/heads/master@{#17137}
> Committed: f5318e1f39

TBR=oprypin@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7303

Review-Url: https://codereview.webrtc.org/2737233003
Cr-Commit-Position: refs/heads/master@{#17142}
2017-03-09 14:09:33 +00:00
kjellander
f5318e1f39 PyLint fixes for tools-webrtc and webrtc/tools
Fix a lot of errors before bringing in the new config in
https://codereview.webrtc.org/2737963003/

BUG=webrtc:7303
NOTRY=True

Review-Url: https://codereview.webrtc.org/2736233003
Cr-Commit-Position: refs/heads/master@{#17137}
2017-03-09 10:26:46 +00:00
Henrik Kjellander
efff7c534d MB: Add android_experimental trybot configuration
Replaced the unused android_n6 config and changed it
to build Release for ARM 32-bit.

BUG=chromium:685222
NOTRY=True
TBR=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2741653002 .
Cr-Commit-Position: refs/heads/master@{#17127}
2017-03-09 06:18:27 +00:00
ehmaldonado
41f8a88e4f Add AppRTCMobileTestStubbedVideoIO to gn_isolate_map.
This will make it possible for the test to run on swarming bots.

BUG=chromium:685222
R=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2731423004
Cr-Commit-Position: refs/heads/master@{#17113}
2017-03-08 12:22:36 +00:00
oprypin
3b2fb203fd Add PESQ precompiled tool for audio quality testing
BUG=webrtc:7229

Review-Url: https://codereview.webrtc.org/2715933003
Cr-Commit-Position: refs/heads/master@{#17055}
2017-03-06 10:23:34 +00:00
mbonadei
9660627c9d Reland of Setting is_component_build to false by default (patchset #1 id:1 of https://codereview.webrtc.org/2731703004/ )
Reason for revert:
Trying to fix this skipping the check if we are building webrtc within chromium.

Original issue's description:
> Revert of Setting is_component_build to false by default (patchset #5 id:80001 of https://codereview.webrtc.org/2728643003/ )
>
> Reason for revert:
> Breaks chrome rolls
>
> Original issue's description:
> > Setting is_component_build to false by default
> >
> > Webrtc does not support component builds so we want to override
> > the chromium default value (which can be true on debug builds if the
> > os is different from iOS).
> >
> > Please note that the user can set this value to true in two ways:
> >
> >  - using --args (e.g.: gn gen out/default --args='is_component_build=true'
> >  - changing the value in the args.gn file
> >
> > But in both cases the value will be ignored because we don't use the
> > 'component' template but we rely directly on 'rtc_static_library' and
> > 'rtc_shared_library'.
> >
> > BUG=webrtc:6975
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2728643003
> > Cr-Commit-Position: refs/heads/master@{#17020}
> > Committed: 2cb3944ba7
>
> TBR=kjellander@webrtc.org,mbonadei@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6975
>
> Review-Url: https://codereview.webrtc.org/2731703004
> Cr-Commit-Position: refs/heads/master@{#17025}
> Committed: 2d9e7685a5

TBR=kjellander@webrtc.org,tommi@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6975

Review-Url: https://codereview.webrtc.org/2729243003
Cr-Commit-Position: refs/heads/master@{#17027}
2017-03-04 03:41:59 +00:00
tommi
2d9e7685a5 Revert of Setting is_component_build to false by default (patchset #5 id:80001 of https://codereview.webrtc.org/2728643003/ )
Reason for revert:
Breaks chrome rolls

Original issue's description:
> Setting is_component_build to false by default
>
> Webrtc does not support component builds so we want to override
> the chromium default value (which can be true on debug builds if the
> os is different from iOS).
>
> Please note that the user can set this value to true in two ways:
>
>  - using --args (e.g.: gn gen out/default --args='is_component_build=true'
>  - changing the value in the args.gn file
>
> But in both cases the value will be ignored because we don't use the
> 'component' template but we rely directly on 'rtc_static_library' and
> 'rtc_shared_library'.
>
> BUG=webrtc:6975
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2728643003
> Cr-Commit-Position: refs/heads/master@{#17020}
> Committed: 2cb3944ba7

TBR=kjellander@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6975

Review-Url: https://codereview.webrtc.org/2731703004
Cr-Commit-Position: refs/heads/master@{#17025}
2017-03-04 00:15:01 +00:00
mbonadei
2cb3944ba7 Setting is_component_build to false by default
Webrtc does not support component builds so we want to override
the chromium default value (which can be true on debug builds if the
os is different from iOS).

Please note that the user can set this value to true in two ways:

 - using --args (e.g.: gn gen out/default --args='is_component_build=true'
 - changing the value in the args.gn file

But in both cases the value will be ignored because we don't use the
'component' template but we rely directly on 'rtc_static_library' and
'rtc_shared_library'.

BUG=webrtc:6975
NOTRY=True

Review-Url: https://codereview.webrtc.org/2728643003
Cr-Commit-Position: refs/heads/master@{#17020}
2017-03-03 19:36:37 +00:00
sakal
e7b8c3759b Fix perf_setup.sh for zsh.
BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2724963005
Cr-Commit-Position: refs/heads/master@{#16994}
2017-03-03 08:04:11 +00:00
deadbeef
dc9200e314 Adding YouCompleteMe config for WebRTC.
Mostly just copied from Chromium, replacing instances of "chromium" with
"webrtc".

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2725233002
Cr-Commit-Position: refs/heads/master@{#16988}
2017-03-03 05:48:39 +00:00
VladimirTechMan
4cbe286252 Minor correction to the help printout, to reflect the actual behaviour
Just a small update to the embedded description of the script outcome,
to match the actual situation, after a quick sync-up at:

https://codereview.webrtc.org/2712263002/

NOTRY=True
BUG=None

Review-Url: https://codereview.webrtc.org/2715363003
Cr-Commit-Position: refs/heads/master@{#16947}
2017-03-01 15:08:31 +00:00
kthelgason
2892244801 Reland of Do not produce dSYM file for the iOS Frameworks with bitcode (patchset #1 id:1 of https://codereview.webrtc.org/2719773002/ )
Reason for revert:
Fixing issues with the framework builder.

Original issue's description:
> Revert of Do not produce dSYM file for the iOS Frameworks with bitcode (patchset #2 id:20001 of https://codereview.webrtc.org/2705163007/ )
>
> Reason for revert:
> Looks like this caused the iOS API Framework Builder to fail.
>
> https://build.chromium.org/p/client.webrtc/builders/iOS%20API%20Framework%20Builder/builds/3487/steps/zip%20archive/logs/stdio
>
> Zipping /b/rr/tmpkIyP1e/w/webrtc_ios_api_framework.zip...
> Traceback (most recent call last):
>   File "/b/rr/tmpkIyP1e/rw/checkout/scripts/slave/recipe_modules/zip/resources/zip.py", line 144, in <module>
>     sys.exit(main())
>   File "/b/rr/tmpkIyP1e/rw/checkout/scripts/slave/recipe_modules/zip/resources/zip.py", line 130, in main
>     exit_code = zip_with_subprocess(root, output, entries)
>   File "/b/rr/tmpkIyP1e/rw/checkout/scripts/slave/recipe_modules/zip/resources/zip.py", line 43, in zip_with_subprocess
>     assert os.path.isdir(path), path
> AssertionError: /b/c/b/iOS_API_Framework_Builder/src/out_ios_libs/WebRTC.dSYM/
> step returned non-zero exit code: 1
> @@@STEP_FAILURE@@@
>
> Original issue's description:
> > Do not produce dSYM file for the iOS Frameworks with bitcode
> >
> > Though dSYM files can be generated when building applications or libraries
> > with bitcode. They cannot be used to symbolicate crash reports from
> > applications. Instead, developers need to grab the real dSYM files, which
> > are generated for each specific device type after uploading an iOS / tvOS
> > application to App Store (or to a device using Xcode). Apple clearly warns
> > about it in its documentation:
> >
> > https://developer.apple.com/library/content/technotes/tn2151/_index.html#//apple_ref/doc/uid/DTS40008184-CH1-SYMBOLICATION-BITCODE
> >
> > With that in mind, I believe that it would be better to not confuse
> > developers by giving them dSYM files that are not very helpful with
> > the bitcode-enabled framework. Thus, proposing the following modification
> > to the building script, to generate dSYM by default only without
> > the bitcode option. However, if some developers still want to get
> > the dSYM files as a build-process artifact, when enabling bitcode,
> > they can explicitly add --extra-gn-args enable_dsyms=true to the script.
> >
> > Let me know if it lgty.
> >
> > NOTRY=True
> > BUG=None
> >
> > Review-Url: https://codereview.webrtc.org/2705163007
> > Cr-Commit-Position: refs/heads/master@{#16836}
> > Committed: d74517c52a
>
> TBR=kjellander@webrtc.org,kthelgason@webrtc.org,VladimirTechMan@gmail.com
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=None
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2719773002
> Cr-Commit-Position: refs/heads/master@{#16844}
> Committed: da00077cfa

TBR=kjellander@webrtc.org,vladimirtechman@gmail.com,tommi@webrtc.org
NOTRY=true
BUG=None

Review-Url: https://codereview.webrtc.org/2718983002
Cr-Commit-Position: refs/heads/master@{#16924}
2017-02-28 23:33:26 +00:00
henrika
c6106f4102 Adds profiling support for non-rooted devices.
NOTRY=TRUE
TBR=kjellander
BUG=NONE

Review-Url: https://codereview.webrtc.org/2720613008
Cr-Commit-Position: refs/heads/master@{#16901}
2017-02-28 13:55:44 +00:00
henrika
86d01320eb Minor fixes for profiling - part III
Sorry for all small changes. I tried the scripts on a clean device and
realized that some parts had worked before because files existed on the
device already. Should be OK now.

NOTRY=TRUE
TBR=kjellander
BUG=NONE

Review-Url: https://codereview.webrtc.org/2718103002
Cr-Commit-Position: refs/heads/master@{#16874}
2017-02-27 15:36:45 +00:00
henrika
e71efab73d Minor fix in profiling script, part 2.
Ensures that perf_update works after inital perf_setup.sh call.

NOTRY=TRUE
TBR=kjellander
BUG=NONE

Review-Url: https://codereview.webrtc.org/2719033002
Cr-Commit-Position: refs/heads/master@{#16868}
2017-02-27 13:44:15 +00:00
henrika
19854a0053 Trivial fix in profiling scripts.
NOTRY=TRUE
TBR=kjellander
BUG=NONE

Review-Url: https://codereview.webrtc.org/2723493003
Cr-Commit-Position: refs/heads/master@{#16861}
2017-02-27 13:07:59 +00:00
Henrik Kjellander
98257cf250 Add memcheck suppression file for ortc_unittests to isolates.
BUG=webrtc:7249, webrtc:7248
TBR=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2721533002 .
Cr-Commit-Position: refs/heads/master@{#16851}
2017-02-27 06:51:18 +00:00
tommi
da00077cfa Revert of Do not produce dSYM file for the iOS Frameworks with bitcode (patchset #2 id:20001 of https://codereview.webrtc.org/2705163007/ )
Reason for revert:
Looks like this caused the iOS API Framework Builder to fail.

https://build.chromium.org/p/client.webrtc/builders/iOS%20API%20Framework%20Builder/builds/3487/steps/zip%20archive/logs/stdio

Zipping /b/rr/tmpkIyP1e/w/webrtc_ios_api_framework.zip...
Traceback (most recent call last):
  File "/b/rr/tmpkIyP1e/rw/checkout/scripts/slave/recipe_modules/zip/resources/zip.py", line 144, in <module>
    sys.exit(main())
  File "/b/rr/tmpkIyP1e/rw/checkout/scripts/slave/recipe_modules/zip/resources/zip.py", line 130, in main
    exit_code = zip_with_subprocess(root, output, entries)
  File "/b/rr/tmpkIyP1e/rw/checkout/scripts/slave/recipe_modules/zip/resources/zip.py", line 43, in zip_with_subprocess
    assert os.path.isdir(path), path
AssertionError: /b/c/b/iOS_API_Framework_Builder/src/out_ios_libs/WebRTC.dSYM/
step returned non-zero exit code: 1
@@@STEP_FAILURE@@@

Original issue's description:
> Do not produce dSYM file for the iOS Frameworks with bitcode
>
> Though dSYM files can be generated when building applications or libraries
> with bitcode. They cannot be used to symbolicate crash reports from
> applications. Instead, developers need to grab the real dSYM files, which
> are generated for each specific device type after uploading an iOS / tvOS
> application to App Store (or to a device using Xcode). Apple clearly warns
> about it in its documentation:
>
> https://developer.apple.com/library/content/technotes/tn2151/_index.html#//apple_ref/doc/uid/DTS40008184-CH1-SYMBOLICATION-BITCODE
>
> With that in mind, I believe that it would be better to not confuse
> developers by giving them dSYM files that are not very helpful with
> the bitcode-enabled framework. Thus, proposing the following modification
> to the building script, to generate dSYM by default only without
> the bitcode option. However, if some developers still want to get
> the dSYM files as a build-process artifact, when enabling bitcode,
> they can explicitly add --extra-gn-args enable_dsyms=true to the script.
>
> Let me know if it lgty.
>
> NOTRY=True
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2705163007
> Cr-Commit-Position: refs/heads/master@{#16836}
> Committed: d74517c52a

TBR=kjellander@webrtc.org,kthelgason@webrtc.org,VladimirTechMan@gmail.com
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2719773002
Cr-Commit-Position: refs/heads/master@{#16844}
2017-02-26 14:39:07 +00:00