Commit Graph

427 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
7a2ce0b738 GN Templates: Move common_config to the template.
Remove common_config from the targets' config and add
it to the template instead.

BUG=webrtc:6187
NOTRY=True

Review-Url: https://codereview.webrtc.org/2300413002
Cr-Commit-Position: refs/heads/master@{#14063}
2016-09-05 08:35:48 +00:00
84fcbd429f MB: Enable rtc_use_h264 for GYP builds for now.
NOTRY=True
TBR=emhaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2303673005
Cr-Commit-Position: refs/heads/master@{#14052}
2016-09-02 18:55:42 +00:00
1dd2335023 GN Templates: Add //build/config/sanitizers:deps to rtc_executable.
Remove //build/config/sanitizers:deps as a dependency for
all rtc_executable targets and add it to the template instead.

BUG=webrtc:6187
NOTRY=True

Review-Url: https://codereview.webrtc.org/2308553002
Cr-Commit-Position: refs/heads/master@{#14048}
2016-09-02 14:03:23 +00:00
38a2132b02 GN: Introduce templates.
Defines the rtc_executable, rtc_source_set, rtc_test and
rtc_static_library templates.

These templates provide no functionality yet, but will enable common
configuration to be introduced, avoiding repetition in every target

Changes summary:
- Prepend rtc_ to test, source_set, executable and static_library targets
- Change "configs -= [" to "suppressed_configs += ["
- Include webrtc/build/webrtc.gni where it wasn't included yet
- Delete import("//testing/test.gni"), since rtc_test makes it unnecessary.

BUG=webrtc:6187
TBR=henrik.lundin@webrtc.org,tommi@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2301053002
Cr-Commit-Position: refs/heads/master@{#14043}
2016-09-02 11:10:41 +00:00
3d21e23df2 Delete talk directory, and references from build_ios_libs.sh.
BUG=webrtc:4256

Review-Url: https://codereview.webrtc.org/2296613002
Cr-Commit-Position: refs/heads/master@{#14040}
2016-09-02 10:07:13 +00:00
f28a389446 Moved the place for the aec_debug_dump build flag and changed the name to apm_debug_dump
Currently, the aec_debug_dump buildflag can and is used to store data in the whole of
the audio processing module. Therefore a more appropriate name is apm_debug_dump which
also matches the names of the data dumping functionality. This CL makes that name change.

The CL also changes the WEBRTC_AEC_DEBUG_DUMP define to
WEBRTC_APM_DEBUG_DUMP == 1

Furthermore, this CL moves the buildflag to a more appropriate place.

BUG=webrtc:5298

Review-Url: https://codereview.webrtc.org/2300813004
Cr-Commit-Position: refs/heads/master@{#14026}
2016-09-01 15:58:27 +00:00
08352ab8c5 Emit landmine for Android builds to solve compile lint errors
The recent roll in https://codereview.webrtc.org/2293863002/ seems to cause
build errors on some Android bots. Clobbering all of them should solve it.

TBR=ehmaldonado@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2300643002
Cr-Commit-Position: refs/heads/master@{#14000}
2016-08-31 15:24:06 +00:00
08c047ee37 GN: Use custom suppressions for lint in android.
Also, suppress lint warnings that were causing compiling errors.

BUG=webrtc:6281
NOTRY=True

Review-Url: https://codereview.webrtc.org/2293383002
Cr-Commit-Position: refs/heads/master@{#13985}
2016-08-31 08:55:10 +00:00
6b74865fed Disable h264 for WebRTC GYP bots.
Also, make explicit that the GYP build has limited support.

BUG=webrtc:6281
NOTRY=True

Review-Url: https://codereview.webrtc.org/2298143002
Cr-Commit-Position: refs/heads/master@{#13984}
2016-08-31 08:53:51 +00:00
6e5b0d7a5b MB: Flip iOS bots to GN by default
Change the previous GN configs to build GYP instead
(since we'll keep GYP around for a while) but exclude tests
and examples for that config, since we'll only support the production
code for GYP.

Add new configs for upcoming rename of those bots to GYP instead
of GN.

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

Review-Url: https://codereview.webrtc.org/2291443002
Cr-Commit-Position: refs/heads/master@{#13980}
2016-08-30 21:05:49 +00:00
133edb2131 MB: Flip Windows bots to GN by default
Change the previous GN configs to build GYP instead
(since we'll keep GYP around for a while) but exclude tests
and examples for that config, since we'll only support the production
code for GYP.

Add new configs for upcoming rename of those bots to GYP instead
of GN.

BUG=webrtc:5949
NOTRY=True

Review-Url: https://codereview.webrtc.org/2277253002
Cr-Commit-Position: refs/heads/master@{#13946}
2016-08-29 03:36:01 +00:00
1bcfce5ff2 Deactivated the intelligibility enhancement functionality by default
NOTRY=true
BUG=

Review-Url: https://codereview.webrtc.org/2272423003
Cr-Commit-Position: refs/heads/master@{#13937}
2016-08-26 14:16:13 +00:00
fe1d191e58 MB: Flip Linux bots to GN by default.
Change the previous GN configs to build GYP instead
(since we'll keep GYP around for a while) but exclude tests
and examples for that config, since we'll only support the production
code for GYP.

Add new configs for upcoming rename of those bots to GYP instead
of GN.

The Linux32 Debug/Release bots were removed a while back, so
their configs are removed as well.

BUG=webrtc:5949
NOTRY=True

Review-Url: https://codereview.webrtc.org/2277633005
Cr-Commit-Position: refs/heads/master@{#13935}
2016-08-26 13:10:34 +00:00
f02207dde9 MB: Flip Mac bots to GN by default.
Change the previous GN configs to build GYP instead
(since we'll keep GYP around for a while) but exclude tests
and examples for that config, since we'll only support the production
code for GYP.

Add new configs for upcoming rename of those bots to GYP instead
of GN.

BUG=webrtc:5949
NOTRY=True

Review-Url: https://codereview.webrtc.org/2274713003
Cr-Commit-Position: refs/heads/master@{#13900}
2016-08-24 16:40:04 +00:00
b0b0edb8af Roll chromium_revision e3860bd297..938114be1e (412289:414059)
Change log: e3860bd297..938114be1e
Full diff: e3860bd297..938114be1e

Changed dependencies:
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/96e1a25943..405da48900
* src/third_party/libvpx/source/libvpx: 2d1e63d0c5..f5bd76f5c1
DEPS diff: e3860bd297..938114be1e/DEPS

Clang version changed 277962:278861
Details: e3860bd297..938114be1e/tools/clang/scripts/update.py

TBR=marpan@webrtc.org
BUG=webrtc:6245
NOTRY=True

Review-Url: https://codereview.webrtc.org/2269953002
Cr-Commit-Position: refs/heads/master@{#13899}
2016-08-24 15:16:25 +00:00
7a0ff2f700 Disable examples for GYP Android bots.
When rolling Chromium into WebRTC, these fail to compile since chromium
no longer supports GYP.

BUG=webrtc:6252
NOTRY=True

Review-Url: https://codereview.webrtc.org/2275973003
Cr-Commit-Position: refs/heads/master@{#13892}
2016-08-24 13:09:21 +00:00
4c8adb1ec7 MB: Flip Android bots to GN by default.
Change the previous GN configs to build GYP instead
(since we'll keep GYP around for a while) but exclude tests for
that config from now on, since we're facing errors with GYP.

Add new configs for upcoming rename of those bots to GYP instead
of GN.

BUG=webrtc:5949
NOTRY=True

Review-Url: https://codereview.webrtc.org/2264283003
Cr-Commit-Position: refs/heads/master@{#13875}
2016-08-24 07:34:59 +00:00
ff101d6171 iOS: add PlistBuddy location to path to avoid build errors
On OS X El Capitan, the system location of 'PlistBuddy' is:
"/usr/libexec/PlistBuddy"
and default system path environment variable is:
"PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

NOTRY=True

Review-Url: https://codereview.webrtc.org/2262813002
Cr-Commit-Position: refs/heads/master@{#13841}
2016-08-22 09:27:38 +00:00
2ae1fb62f6 Fix get_landmines.py script.
BUG=webrtc:6216
NOTRY=True

Review-Url: https://codereview.webrtc.org/2250343002
Cr-Commit-Position: refs/heads/master@{#13795}
2016-08-17 11:00:47 +00:00
c594aa61bc Add a gyp/gn option to use dummy audio file devices.
Conceptually, dummy audio file devices are a "platform", like
win/mac/linux, and so the conditional slots under
include_internal_audio_device. When enabled, use_dummy_audio_file_devices
disables whatever platform-specific audio layer would have been used and
turns on dummy file device support.

BUG=

Review-Url: https://codereview.webrtc.org/2250483002
Cr-Commit-Position: refs/heads/master@{#13790}
2016-08-17 01:21:23 +00:00
e252d3ce3a MB: Fix incorrect iOS builder names.
In https://codereview.webrtc.org/2239643002/ MB was turned on
for the iOS GYP bots. This exposed an incorrect config for the
iOS simulator bots in client.webrtc.

BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2245393003
Cr-Commit-Position: refs/heads/master@{#13778}
2016-08-16 10:46:29 +00:00
1c814e7b72 iOS: Update MB and JSON configs + enable Goma
Turns out that if mb_type is missing in the JSON, GYP is run the
traditional way instead of having the MB configuration decide.
This turns on MB for those builders.
See https://codereview.chromium.org/2194703002 for how Chromium
switched from GYP->GN.

The JSON environment for GYP and GN is only used during runhooks
step since there are scripts that key on some of these environment variables.
The actual build that is compiled is defined by the MB config, which
is now updated to have component=static_library everywhere for iOS.
With this CL, all configs gets a full GYP+GN environment.

When flipping bots over to GN, the following line will need to be added
in addition to changing mb_type:
"additional_compile_targets": [ "all" ],

Goma was also enabled for all builders to reduce compile time.

BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2239643002
Cr-Commit-Position: refs/heads/master@{#13775}
2016-08-16 09:42:06 +00:00
a3a1fde020 Add Mac bots to MB.
BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2232643003
Cr-Commit-Position: refs/heads/master@{#13724}
2016-08-11 08:04:39 +00:00
0ae7878bbc MB: Add Windows configurations
BUG=589510, 636414
NOTRY=True

Review-Url: https://codereview.webrtc.org/2235833002
Cr-Commit-Position: refs/heads/master@{#13721}
2016-08-11 07:49:55 +00:00
68815bf977 MB: Make all Android debug builds static
In https://codereview.webrtc.org/2228923002 all Android debug
bots were configured to build with component=shared_library.
This is not the behavior we had before:
https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/chromium/config.py?rcl=0&l=713
This CL changes them back to static library.

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

Review-Url: https://codereview.webrtc.org/2236573002
Cr-Commit-Position: refs/heads/master@{#13718}
2016-08-10 16:49:45 +00:00
63cb17294c MB: Fix typo for android_arm64_rel trybot.
This was missed in review of https://codereview.webrtc.org/2228923002

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

Review-Url: https://codereview.webrtc.org/2233913002
Cr-Commit-Position: refs/heads/master@{#13716}
2016-08-10 15:28:32 +00:00
5d6b84c484 MB: Set crosscompilation config for Linux ARM bot.
This apparently was missed as well for our initial Linux configs,
thus failing compilation.

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

Review-Url: https://codereview.webrtc.org/2228123003
Cr-Commit-Position: refs/heads/master@{#13699}
2016-08-09 20:17:48 +00:00
3cb0c573dd MB: Make commit-/trybots identical + add OpenH264 for all desktop configs
We actually run with OpenH264 enabled on all the desktop platforms:
https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/webrtc/chromium_config.py?rcl=0&l=48
We also have dcheck_always_enabled=1 both on commit- and trybots
(which is different from Chromium):
https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/webrtc/chromium_config.py?rcl=0&l=15

I also made a few alphabetic sorting of configs to get more consistency.

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

Review-Url: https://codereview.webrtc.org/2228053004
Cr-Commit-Position: refs/heads/master@{#13697}
2016-08-09 20:01:04 +00:00
89b0ca878c Add Android bots to MB.
BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2228923002
Cr-Commit-Position: refs/heads/master@{#13696}
2016-08-09 15:15:09 +00:00
048ab2f08f Rename linux_ubsan_clang_vptr to linux_ubsan_vptr.
I mistyped the name of the bot as 'linux_ubsan_clang_vptr'.
The real name is 'linux_ubsan_vptr'.

Also erase the libfuzzer bot, since it's alreading using GN.

BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2227043002
Cr-Commit-Position: refs/heads/master@{#13695}
2016-08-09 14:55:50 +00:00
09abaa0c7d Add Linux bots to mb_config.pyl.
BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2223893002
Cr-Commit-Position: refs/heads/master@{#13689}
2016-08-09 09:26:20 +00:00
d046d985f9 Cleaning up mb_config.pyl style.
BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2222853003
Cr-Commit-Position: refs/heads/master@{#13671}
2016-08-08 13:59:24 +00:00