459 Commits

Author SHA1 Message Date
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
Henrik Kjellander
467bc84dc9 Revert webrtc/build/mb_config.pyl accidental change
In https://codereview.webrtc.org/2320043002/ a mb_config.pyl
change that belonged to https://codereview.webrtc.org/2325063002/
accidentally was included.
This reverts it.

TBR=ehmaldonado@webrtc.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#14164}
2016-09-09 13:07:21 +00:00
Henrik Kjellander
a41c13e6a2 OWNERS: Make everyone able to change *.gn,*.gni files.
Project-wide change to make it possible for all team members
to do changes to GN files.

NOTRY=True
R=kwiberg@webrtc.org
TBR=henrika@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#14163}
2016-09-09 12:51:48 +00:00
kjellander
9c8c586dd3 MB: Disable more parts of the GYP build.
This will unblock planned work on libsrtp and reduce the exposed GYP surface.

BUG=webrtc:5949
NOTRY=True

Review-Url: https://codereview.webrtc.org/2314473002
Cr-Commit-Position: refs/heads/master@{#14152}
2016-09-09 08:42:09 +00:00
kjellander
499dcb1ac0 Remove references to .isolate files that are no longer needed.
After the Android test framework in Chromium moved over to generated
scripts, these paths are no longer used, so let's clean them up.

BUG=webrtc:6323
NOTRY=True

Review-Url: https://codereview.webrtc.org/2327013002
Cr-Commit-Position: refs/heads/master@{#14151}
2016-09-09 08:39:00 +00:00
kjellander
432950cab2 Revert of Add a DEPS gclient hook to prune corrupt mockito remote. (patchset #1 id:1 of https://codereview.webrtc.org/2326523002/ )
Reason for revert:
Unfortunately this didn't help, so I'm reverting this to clean things up for now.

Original issue's description:
> Add a DEPS gclient hook to prune corrupt mockito remote.
>
> A third_party remote for third_party/mockito/src is corrupt. Run
> `git remote prune origin` in the checkout directory before syncing
> Chromium.
>
> Thanks to slan@ for providing this fix.
>
> TBR=kjellander@webrtc.org
> BUG=chromium:644722
> NOTRY=True
>
> Committed: https://crrev.com/3115b06957d5b8cba5d45cebc301795e94a926ec
> Cr-Commit-Position: refs/heads/master@{#14138}

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

Review-Url: https://codereview.webrtc.org/2326473003
Cr-Commit-Position: refs/heads/master@{#14143}
2016-09-08 17:55:50 +00:00
ehmaldonado
3115b06957 Add a DEPS gclient hook to prune corrupt mockito remote.
A third_party remote for third_party/mockito/src is corrupt. Run
`git remote prune origin` in the checkout directory before syncing
Chromium.

Thanks to slan@ for providing this fix.

TBR=kjellander@webrtc.org
BUG=chromium:644722
NOTRY=True

Review-Url: https://codereview.webrtc.org/2326523002
Cr-Commit-Position: refs/heads/master@{#14138}
2016-09-08 15:02:12 +00:00
ehmaldonado
acf9f4785a GN Templates: Introduce rtc_shared_library
libjingle_peerconnection_so is not including common_config, which is
causing some differences is the defines.

We'd like to prevent that happening in the future.

NOTRY=True
BUG=webrtc:5949

Review-Url: https://codereview.webrtc.org/2325603002
Cr-Commit-Position: refs/heads/master@{#14127}
2016-09-08 11:26:42 +00:00
ehmaldonado
76cd281200 MB: Move Linux 32 bots from the WebRTC FYI to the main waterfall.
NOTRY=True
BUG=chromium:644167

Review-Url: https://codereview.webrtc.org/2325613002
Cr-Commit-Position: refs/heads/master@{#14126}
2016-09-08 11:25:26 +00:00
ehmaldonado
4016a0b2e8 GN: Move variables from //build_overrides/webrtc.gni to //webrtc/build/webrtc.gni
There is no clear reason to have them in build_overrides, and
webrtc/build seems to be a better place.

Also, delete build_overrides/webrtc.gni

NOTRY=True
BUG=webrtc:5949

Review-Url: https://codereview.webrtc.org/2309253004
Cr-Commit-Position: refs/heads/master@{#14108}
2016-09-07 13:50:23 +00:00
kjellander
dedc822830 MB: Cleanup no-longer-used GN configurations
These were used in the transition from GN->GYP.

NOTRY=True
BUG=webrtc:5949

Review-Url: https://codereview.webrtc.org/2310973003
Cr-Commit-Position: refs/heads/master@{#14087}
2016-09-06 09:32:39 +00:00
ehmaldonado
edaa4a45ef GN: Set WEBRTC_RESTRICT_LOGGING as is set in GYP.
In GYP the define is set when we build with chrome, but it's always set
in GN.

NOTRY=True
BUG=webrtc:6312

Review-Url: https://codereview.webrtc.org/2313913002
Cr-Commit-Position: refs/heads/master@{#14086}
2016-09-06 09:27:53 +00:00
Henrik Kjellander
891eaac4fc MB: Add Linux 32-bit Debug and Release trybots
BUG=chromium:644167
NOTRY=True
R=ehmaldonado@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#14082}
2016-09-06 07:52:53 +00:00
ehmaldonado
f71d298217 GN: Apply optimize_max only on windows
For iOS and Android, the default is to optimize for size.
For Linux and Mac, there is no difference between default_optimization
and optimize_max.

NOTRY=True
BUG=webrtc:6311

Review-Url: https://codereview.webrtc.org/2305403002
Cr-Commit-Position: refs/heads/master@{#14075}
2016-09-05 17:04:01 +00:00
ehmaldonado
d6e65b39ea MB: Add WebRTC FYI bots to mb_config.pyl.
We need this for the bots to be functional in client.webrtc.fyi.
Right now they're not really working since runhooks no longer runs GYP
(nor GN), and the MB step is not yet enabled in this waterfall.

BUG=webrtc:6287
NOTRY=True

Review-Url: https://codereview.webrtc.org/2312733002
Cr-Commit-Position: refs/heads/master@{#14070}
2016-09-05 13:44:02 +00:00
ehmaldonado
e9cc686293 GN Templates: Move common_inherited_config to the template.
Remove common_inherited_config from the targets and add it to the
template instead.

BUG=webrtc:6187
NOTRY=True

Review-Url: https://codereview.webrtc.org/2311843002
Cr-Commit-Position: refs/heads/master@{#14069}
2016-09-05 13:10:23 +00:00
ehmaldonado
59af8b7714 GN Templates: Use the optimize_max compiler config.
Add "//build/config/compiler:optimize_max" to rtc_add_configs and
"//build/config/compiler:default_optimization" to rtc_remove_configs.

This is the default optimization in GYP, and might help explain a 82.5%
regression in webrtc_perf_tests at 13946:13946

BUG=chromium:641966
NOTRY=True

Review-Url: https://codereview.webrtc.org/2307283002
Cr-Commit-Position: refs/heads/master@{#14067}
2016-09-05 09:48:58 +00:00