475 Commits

Author SHA1 Message Date
ehmaldonado
3a864d2545 MB: Add swarming bots in the FYI waterfall and remove memcheck swarming.
BUG=chromium:657725
R=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2532943004
Cr-Commit-Position: refs/heads/master@{#15320}
2016-11-30 10:35:47 +00:00
Henrik Kjellander
455b512333 Landmine to clobber Windows builders
Speculative clobber to see if the Win 64-bit Debug linking
errors go away.

BUG=chromium:668961
TBR=ossu@webrtc.org

Review URL: https://codereview.webrtc.org/2538593003 .

Cr-Commit-Position: refs/heads/master@{#15289}
2016-11-29 10:14:47 +00:00
ehmaldonado
0fa164a22c Make Valgrind memcheck work in swarming.
Add a fallback path to tools/valgrind-webrtc/webrtc_tests.sh if locate_valgrind.sh fails.

This is a workaround to run memcheck on swarming, since locate_valgrind.sh fails even though the files are present. This is almost certainly because the way we use symlinks.

A warning message is displayed to warn the developers to follow the instructions to get the valgrind binaries.

Some extra suppressions were needed. The bug tracking them is https://bugs.webrtc.org/6773

R=kjellander@chromium.org
BUG=chromium:497757

Review-Url: https://codereview.webrtc.org/2531573003
Cr-Commit-Position: refs/heads/master@{#15244}
2016-11-25 13:49:00 +00:00
ehmaldonado
464d50f293 Set rtc_use_memcheck=true for the FYI bot.
R=kjellander@chromium.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2529753002
Cr-Commit-Position: refs/heads/master@{#15220}
2016-11-23 21:19:30 +00:00
ehmaldonado
ed8c8ede5d Add rtc_use_memcheck flag, update MB and GN to handle it, and add gni files listing the runtime deps
When set to true, this adds the files necessary to run memcheck as data dependencies, listed in the .gni files.
This will enable us to run memcheck on swarming.

R=kjellander@chromium.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2510033004
Cr-Commit-Position: refs/heads/master@{#15219}
2016-11-23 20:58:45 +00:00
kjellander
24d812ddc1 DEPS: Specify WebRTC hooks and add a few dependencies
This removes the need of executing Chromium's runhooks.
A selection of hooks (not all) were picked that should be
sufficient for WebRTC's needs.

New dependencies:
* third_party/espresso
* third_party/javax_inject
* tools/clang_format_merge_driver

BUG=webrtc:5578, webrtc:5006, webrtc:6741

TESTED=
rm -rf third_party/android_tools/sdk/extras/google/m2repository/
gclient runhooks
Verified that third_party/android_tools/sdk/extras/google/m2repository/ is downloaded without any license prompt.
NOTRY=True

Review-Url: https://codereview.webrtc.org/2524673002
Cr-Commit-Position: refs/heads/master@{#15195}
2016-11-22 15:02:16 +00:00
ehmaldonado
2df1ab45ba MB: Add Win32 SyzyASan (swarming) config.
R=kjellander@webrtc.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2521273002
Cr-Commit-Position: refs/heads/master@{#15191}
2016-11-22 14:09:20 +00:00
kjellander
d848a5686f DEPS: Cleanup extra_gyp_flag and extra_gitignore.py
Both of these are unused legacy stuff.

BUG=webrtc:6323
NOTRY=True

Review-Url: https://codereview.webrtc.org/2520253002
Cr-Commit-Position: refs/heads/master@{#15183}
2016-11-22 10:10:09 +00:00
henrik.lundin
875862ca86 Let Opus increase complexity for low bitrates
This change adds code that lets Opus increase the complexity setting
at low bitrates (only relevant for mobile where the default complexity
is not already maximum). The feature is default off.

Also adding a performance test to make sure the complexity adaptation
has desired effect.

BUG=webrtc:6708

Review-Url: https://codereview.webrtc.org/2503443002
Cr-Commit-Position: refs/heads/master@{#15182}
2016-11-22 10:08:01 +00:00
tkchin
fb94cd610b build_ios_libs.sh: Add command line bitcode option.
BUG=webrtc:5085
NOTRY=True

Review-Url: https://codereview.webrtc.org/2523623002
Cr-Commit-Position: refs/heads/master@{#15175}
2016-11-22 07:31:03 +00:00
kjellander
f880285af2 iOS: Cleanup buildbot JSON files + bump iOS version to 10.0
After https://chromium-review.googlesource.com/c/412190/
we can remove all the GYP variables. The GN args are also not used
during runhooks (only GYP_DEFINES had any effect), so they're also
removed to avoid confusion. Only use_goma=True was left since
the ios recipe module uses it to decide if Goma shall be started
on the bots.

Delete unused GN/GYP-specific JSON files for bots that are now removed.

Finally, bump iOS version 10.0 and change simulator phones to
iPhone 6s to match what Chromium uses (may help solving bugs.webrtc.org/4752)

BUG=webrtc:4752, webrtc:6323
NOTRY=True

Review-Url: https://codereview.webrtc.org/2507063008
Cr-Commit-Position: refs/heads/master@{#15160}
2016-11-21 08:41:35 +00:00
solenberg
01af3a352c Remove unused dbus.cc/.h and related things.
BUG=none

Review-Url: https://codereview.webrtc.org/2520533002
Cr-Commit-Position: refs/heads/master@{#15155}
2016-11-18 22:52:23 +00:00
kjellander
de4980311c MB: Add new perf desktop bots and remove DCHECK from Android perf
Add new perf desktop bots.
Remove dcheck_always_on=true for all perf bots.
Cleanup some more GYP traces.
Remove gn_ prefix for all mixins for readability.

BUG=chromium:665874
NOTRY=True

Review-Url: https://codereview.webrtc.org/2505183003
Cr-Commit-Position: refs/heads/master@{#15138}
2016-11-17 15:47:17 +00:00
ehmaldonado
3a1c40a60a MB: Remove configuration for unexisting bots.
R=kjellander@webrtc.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2507243002
Cr-Commit-Position: refs/heads/master@{#15108}
2016-11-16 22:05:51 +00:00
Henrik Kjellander
b4af3d673a Remove all references to GYP
Remove all .gyp and .gypi files.
Remove entries from OWNERS files for *.isolate, *.gyp, *.gypi
Remove unused scripts in webrtc/build.

BUG=webrtc:6323
R=henrika@webrtc.org, phoglund@webrtc.org

Review URL: https://codereview.webrtc.org/2509703002 .

Cr-Commit-Position: refs/heads/master@{#15107}
2016-11-16 19:11:38 +00:00
ehmaldonado
b2fcf6d96f MB: Run test with gtest-parallel on swarming.
TBR=pbos@webrtc.org
BUG=chromium:497757, chromium:664425
NOTRY=True

Review-Url: https://codereview.webrtc.org/2503503002
Cr-Commit-Position: refs/heads/master@{#15093}
2016-11-15 20:20:35 +00:00
Henrik Kjellander
e918a135ed MB: Add new Win8 and Win10 bots.
BUG=chromium:658652
TBR=ehmaldonado@webrtc.org

Review URL: https://codereview.webrtc.org/2494573004 .

Cr-Commit-Position: refs/heads/master@{#15034}
2016-11-11 07:07:22 +00:00
ehmaldonado
d64bf6f312 MB: Add Mac Asan (swarming) to FYI waterfall.
R=kjellander@webrtc.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2491623004
Cr-Commit-Position: refs/heads/master@{#15021}
2016-11-10 14:24:40 +00:00
kthelgason
5ec208fc98 Use bitcode by default for ios framework build.
BUG=webrtc:5085
NOTRY=true

Review-Url: https://codereview.webrtc.org/2490143002
Cr-Commit-Position: refs/heads/master@{#15011}
2016-11-10 09:13:49 +00:00
kthelgason
592baaf89a Add build flag to enable bitcode on ios
BUG=webrtc:5085
NOTRY=true

Review-Url: https://codereview.webrtc.org/2478663002
Cr-Commit-Position: refs/heads/master@{#14997}
2016-11-09 12:58:19 +00:00
kjellander
eee9c0e3ec GN: Move xmllite_xmpp_unittests into webrtc/libjingle
Moving one of the targets that shouldn't pollute the already large
webrtc/BUILD.gn file.

BUG=webrtc:6440
NOTRY=True

Review-Url: https://codereview.webrtc.org/2440963002
Cr-Commit-Position: refs/heads/master@{#14970}
2016-11-08 11:18:43 +00:00
ehmaldonado
84309bc4e6 MB: Replace Win32 Release by Win64 Debug in FYI.
NOTRY=True
BUG=chromium:497757

Review-Url: https://codereview.webrtc.org/2484703002
Cr-Commit-Position: refs/heads/master@{#14951}
2016-11-07 14:57:23 +00:00
kjellander
496c64c0fa Cleanup warnings configs and enable more for Android ARM64
This will enable more warnings for Android ARM64 build.
The main purpose is to clean up clutter in the warnings config.

BUG=webrtc:6653
NOTRY=True

Review-Url: https://codereview.webrtc.org/2479533002
Cr-Commit-Position: refs/heads/master@{#14917}
2016-11-03 14:57:40 +00:00
VladimirTechMan
18b8774792 Setting PATH so that the 'plistbuddy' utility can be found, in a typical OS X environment
Restoring a line from the older version (GYP-days) of the
build_ios_libs.sh script: modifying PATH so that the
PlistBuddy utility can be successfully found and called,
as it normally is not available under the PATH directories
in a typical OS X environment (even on developer configs).

NOTRY=True
BUG=webrtc:6372

Review-Url: https://codereview.webrtc.org/2463623002
Cr-Commit-Position: refs/heads/master@{#14834}
2016-10-31 06:09:50 +00:00
kjellander
5e49c2f09e Restore symbol level for Android builds.
With https://codereview.webrtc.org/2447263003/ landed the
assert that fired due to large APKs in Chromium is now disabled
(it doesn't affect WebRTC builds since we don't have that large
APKs). See https://crbug.com/648948 for more info.

BUG=webrtc:6596
NOTRY=True

Review-Url: https://codereview.webrtc.org/2460463002
Cr-Commit-Position: refs/heads/master@{#14796}
2016-10-27 07:00:20 +00:00
kjellander
bc59b061a7 Add gn_isolate_map.pyl file for WebRTC stand-alone tests
With this, MB can be invoked with the new --isolate-map-file flag
that was added in https://codereview.chromium.org/2443643002.

BUG=chromium:497757
NOTRY=True
TESTED=Created /tmp/foo and filled it with targets from https://build.chromium.org/p/client.webrtc/builders/Linux32%20Debug/builds/9305/steps/generate_build_files/logs/swarming-targets-file.txt
Then I sucessfully ran:
tools/mb/mb.py gen -m client.webrtc -b 'Linux32 Debug' --config-file webrtc/build/mb_config.pyl --swarming-targets-file /tmp/foo --gyp-script=webrtc/build/gyp_webrtc.py --isolate-map-file=webrtc/build/gn_isolate_map.pyl //out/Debug

Review-Url: https://codereview.webrtc.org/2454963002
Cr-Commit-Position: refs/heads/master@{#14795}
2016-10-27 06:55:29 +00:00
ehmaldonado
5819660f9d MB: Add Linux swarming bots with memory sanitizers on the FYI waterfall.
R=kjellander@webrtc.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2453593003
Cr-Commit-Position: refs/heads/master@{#14787}
2016-10-26 14:00:29 +00:00
mattdr
0d8ade543d Remove remnants of libsrtp1
Now that Chromium has taken libsrtp2, remove any compatibility bridge code in WebRTC that was only needed for libsrtp1.

Remove SRTP_RELATIVE_PATH now that Google's internal copy of libsrtp and the Chromium copy have the same directory structure.

Fix some include orderings per the Chromium C++ style guide.

Remove the `extern "C"` blocks now that the libsrtp headers include them (https://github.com/cisco/libsrtp/pull/195).

BUG=webrtc:6376

Review-Url: https://codereview.webrtc.org/2447893002
Cr-Commit-Position: refs/heads/master@{#14776}
2016-10-25 16:47:31 +00:00
ehmaldonado
d312713e61 Roll chromium_revision 1362287708..9b5bb47fa0 (426760:426837) + roll Android SDK to N
This roll brings in the Android N SDK.
Add lint suppressions for Android to suppress errors caused by the new lint rules.

Change log: 1362287708..9b5bb47fa0
Full diff: 1362287708..9b5bb47fa0

Changed dependencies:
* src/third_party/libsrtp: b17c065a8a..71692eaab2
DEPS diff: 1362287708..9b5bb47fa0/DEPS

No update to Clang.

TBR=
NOTRY=True
BUG=webrtc:6534

Review-Url: https://codereview.webrtc.org/2444853002
Cr-Commit-Position: refs/heads/master@{#14746}
2016-10-24 14:53:36 +00:00
nisse
c4d2dc4e02 Delete DataLog abstraction, which was almost unused.
Configuration with rtc_enable_data_logging = true was broken in cl
https://codereview.webrtc.org/2054373002/ (which deleted the
FileWrapper::WriteText method), and apparently noone noticed.

BUG=None

Review-Url: https://codereview.webrtc.org/2439473002
Cr-Commit-Position: refs/heads/master@{#14719}
2016-10-21 08:53:01 +00:00
Henrik Kjellander
057b8d91a6 Remove all traces of Dr Memory.
The Dr Memory toolchain is no longer supported by Chromium and
their bots have been removed. WebRTC will now rely on the LLVM
santizers for catching such errors.

BUG=webrtc:6553
NOTRY=True
R=ehmaldonado@webrtc.org

Review URL: https://codereview.webrtc.org/2434563003 .

Cr-Commit-Position: refs/heads/master@{#14703}
2016-10-20 11:17:25 +00:00
peah
285e55816a Removed suppressions for the data race inside the APM that is now fixed.
BUG=webrtc:2521
NOTRY=True

Review-Url: https://codereview.webrtc.org/2418093002
Cr-Commit-Position: refs/heads/master@{#14640}
2016-10-14 21:44:54 +00:00
Henrik Kjellander
dd7a1cff68 Landmine due to corrupt .pdb files on Windows.
BUG=None
TBR=ehmaldonado@webrtc.org

Review URL: https://codereview.webrtc.org/2418713002 .

Cr-Commit-Position: refs/heads/master@{#14625}
2016-10-13 04:07:15 +00:00
Henrik Kjellander
91a5759733 Roll chromium_revision 316b880c55..2cabef4e7d (421519:424936)
Change symbol level for Android Release ARM builds similar to
https://codereview.chromium.org/2383743002

Disabled -Wobjc-missing-property-synthesis warning for iOS.

Change log: 316b880c55..2cabef4e7d
Full diff: 316b880c55..2cabef4e7d

Changed dependencies:
* src/buildtools: 86f7e41d94..39b1db2ab4
* src/third_party/libFuzzer/src: eb9b8b0366..3e02228ebf
* src/third_party/libvpx/source/libvpx: 99ef84c65a..294a734a5f
* src/third_party/libyuv: de944ed8c7..198bce3959
DEPS diff: 316b880c55..2cabef4e7d/DEPS

Clang version changed 282487:283753
Details: 316b880c55..2cabef4e7d/tools/clang/scripts/update.py

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

Review URL: https://codereview.webrtc.org/2412383002 .

Cr-Commit-Position: refs/heads/master@{#14623}
2016-10-13 03:25:44 +00:00
Zeke Chin
dd0e1e0070 GN: Build iOS framework in build_ios_libs.sh
BUG=webrtc:6372
NOTRY=True
R=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/2408983002 .

Cr-Commit-Position: refs/heads/master@{#14603}
2016-10-11 20:27:34 +00:00
Henrik Kjellander
cbfb033f1d MB: Update Android bots after moving to Swarming and client.webrtc.perf
This matches the changes in https://codereview.chromium.org/2395143002/
client.webrtc.fyi section was moved up, unchanged.

BUG=583318
TBR=ehmaldonado@webrtc.org

Review URL: https://codereview.webrtc.org/2405713002 .

Cr-Commit-Position: refs/heads/master@{#14582}
2016-10-09 04:29:11 +00:00
tkchin
5fa51e2947 Add iOS static library GN build script.
NOTRY=True

BUG=webrtc:6372

Review-Url: https://codereview.webrtc.org/2391123002
Cr-Commit-Position: refs/heads/master@{#14532}
2016-10-05 20:16:07 +00:00
Henrik Kjellander
f363d147d7 Roll chromium_revision f86fb54ec3..dd442d4812 (420104:421425)
Add a copy of Chromium's build/common.gypi @ fa8868418ffe9da48614de5bff07b72f97760f51
as webrtc/build/chromium_common.gypi to preserve GYP behavior.
Update webrtc/build/gyp_webrtc.py to include it during GYP invocation.

Change log: f86fb54ec3..dd442d4812
Full diff: f86fb54ec3..dd442d4812

Changed dependencies:
* src/buildtools: 57649e5e20..86f7e41d94
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/ed6c5d3910..0d81373f91
* src/third_party/libsrtp: 48bdd208dc..b17c065a8a
* src/third_party/libvpx/source/libvpx: 4282d29355..99ef84c65a
DEPS diff: f86fb54ec3..dd442d4812/DEPS

Clang version changed 280836:282487
Details: f86fb54ec3..dd442d4812/tools/clang/scripts/update.py

TBR=marpan@webrtc.org,
BUG=None
NOTRY=True

Review URL: https://codereview.webrtc.org/2380533002 .

Cr-Commit-Position: refs/heads/master@{#14409}
2016-09-28 07:45:12 +00:00
kjellander
0c9e567cd5 Landmine to clobber on Android and Windows.
BUG=webrtc:6359
NOTRY=True

Review-Url: https://codereview.webrtc.org/2380613002
Cr-Commit-Position: refs/heads/master@{#14408}
2016-09-28 07:05:34 +00:00
kjellander
c3f549bf7a Update expected Xcode version to 8.0.
BUG=649150
NOTRY=True
TBR=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2365863002
Cr-Commit-Position: refs/heads/master@{#14404}
2016-09-27 19:15:01 +00:00
kjellander
ee99696592 Make 'webrtc' a static library.
Most other targets were converted to static_library to match the
GYP build in https://codereview.webrtc.org/2361623004.

The monolithic 'webrtc' wasn't converted due to a limitation in
libtool on Mac: it will fail if there are no object files to link
(see http://crbug.com/625874).
Because of that, a no_op_function.cc source file was added to
the sources here, even if it's not used. This will be further
refactored in the future as part of the Slim and Modular
effort (bugs.webrtc.org/5716).

BUG=webrtc:6418, webrtc:6410
NOTRY=True

Review-Url: https://codereview.webrtc.org/2372983002
Cr-Commit-Position: refs/heads/master@{#14403}
2016-09-27 19:13:20 +00:00
magjed
44428a8aa6 iOS: Always build H264 HW encoder/decoder
This CL removes the use_objc_h264 flag. This means that the VideoToolbox
H264 encoder and decoder will always be built.

BUG=webrtc:4081
NOTRY=TRUE

Review-Url: https://codereview.webrtc.org/2366443003
Cr-Commit-Position: refs/heads/master@{#14372}
2016-09-23 14:01:44 +00:00
kjellander
519da00bb3 Roll chromium_revision cf9457edb7..cede888c27 (416297:419407)
This is a reland of https://codereview.webrtc.org/2348133003/ which
was reverted.
This CL adds a copy of Chromium's build/filename_rules.gypi into
webrtc/build and includes it in webrtc/build/common.gypi.
This was needed since the file was dropped in crrev.com/8c0eb8ed76
The revision of filename_rules.gypi being added is:
5b20e75e68/build/filename_rules.gypi

Change log: cf9457edb7..cede888c27
Full diff: cf9457edb7..cede888c27

Changed dependencies:
* src/buildtools: adb8bf4e8f..6115afa0ea
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/bc61769e49..ed6c5d3910
* src/third_party/ffmpeg: 35740fc7b7..3c7a098821
* src/third_party/libFuzzer/src: 96e97b48e8..eb9b8b0366
* src/third_party/libvpx/source/libvpx: e66cd132f0..4282d29355
DEPS diff: cf9457edb7..cede888c27/DEPS

Clang version changed 280106:280836
Details: cf9457edb7..cede888c27/tools/clang/scripts/update.py

NOTRY=True
TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2351163002
Cr-Commit-Position: refs/heads/master@{#14310}
2016-09-20 20:23:12 +00:00
ehmaldonado
936405b521 MB: Add Android swarming bots.
BUG=chromium:583318
NOTRY=True

Review-Url: https://codereview.webrtc.org/2353513004
Cr-Commit-Position: refs/heads/master@{#14294}
2016-09-19 21:01:23 +00:00
sakal
ea938c0c49 Remove Android tests GYP target.
BUG=webrtc:6365
NOTRY=True

Review-Url: https://codereview.webrtc.org/2345743004
Cr-Commit-Position: refs/heads/master@{#14257}
2016-09-16 12:21:15 +00:00
kjellander
17f008bf33 GYP: Remove targets inside include_tests==1 that are converted to GN.
Remove a large number of targets that are no longer built, to reduce maintenance.
Only targets that have a GN version were removed.

BUG=webrtc:6323
NOTRY=True
NOPRESUBMIT=True

Review-Url: https://codereview.webrtc.org/2340773003
Cr-Commit-Position: refs/heads/master@{#14231}
2016-09-15 11:57:39 +00:00
kjellander
70d01242f8 MB: Change Android Clang to build shared instead of static.
A recent build error on Android revealed that we're always doing
static builds for the Android Debug builders. This changes one
to be building shared library instead (is_component_build=true),
which should prevent such breakages in the future.

BUG=webrtc:6360
NOTRY=True

Review-Url: https://codereview.webrtc.org/2342033002
Cr-Commit-Position: refs/heads/master@{#14226}
2016-09-15 10:42:34 +00:00
gaetano.carlucci
52a5703721 Enable BWE logging to command line when rtc_enable_bwe_test_logging is set to true
This patch enables bwe related variable logging to the command line.
This is useful to test congestion control algorithm over real networks.

NOTRY=true

Review-Url: https://codereview.webrtc.org/2296253002
Cr-Commit-Position: refs/heads/master@{#14209}
2016-09-14 12:04:43 +00:00
kjellander
7b11c65a17 MB: Move iOS GYP bots to use limited support config
BUG=webrtc:5949
NOTRY=True

Review-Url: https://codereview.webrtc.org/2325063002
Cr-Commit-Position: refs/heads/master@{#14185}
2016-09-12 12:34:01 +00:00
kjellander
11d5766819 GN: Revert to default compiler optimizations for Win Release.
Revert back to the GN/Chromium default optimization levels what
was changed in https://codereview.webrtc.org/2307283002/ and
https://codereview.webrtc.org/2305403002/ due to a performance
regression. Those changes caused a size regression in Chromium,
which is why this is changed back.

BUG=chromium:641966
NOTRY=True
TBR=ehmaldonado@webrtc.org, henrik.lundin@webrtc.org

Review-Url: https://codereview.webrtc.org/2334593002
Cr-Commit-Position: refs/heads/master@{#14178}
2016-09-12 06:29:49 +00:00