Граф коммитов

12489 Коммитов

Автор SHA1 Сообщение Дата
agrieve 8f1a42a755 Fix resource_sizes.py breaking if CWD!=src
BUG=678338

Review-Url: https://codereview.chromium.org/2761883002
Cr-Original-Commit-Position: refs/heads/master@{#458160}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5664563554b429cc617b0ea8ebdd77293852492e
2017-03-20 20:12:40 +00:00
perezju 2338bdddf7 [build/android] Fix device.RunShellCommand usages
- Pass command as list of args or set shell=True when needed.
- Set check_return=True where appropriate.

BUG=chromium:628617,catapult:#3242

Review-Url: https://codereview.chromium.org/2760923002
Cr-Original-Commit-Position: refs/heads/master@{#458097}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 43cc0fba21372346c981396d719443b05e7a2a0c
2017-03-20 16:55:06 +00:00
estevenson 4c534d4429 Revert of Android: Support Android Studio 2.3 (patchset #2 id:20001 of https://codereview.chromium.org/2746103004/ )
Reason for revert:
Breaks code editing in Android Studio, see http://crbug/700438 for more info.

Original issue's description:
> Android: Support Android Studio 2.3
>
> Also fixes excludes filters not working. For files whose directory is
> not fully included in the target, add those individually instead.
>
> BUG=700438
>
> Review-Url: https://codereview.chromium.org/2746103004
> Cr-Commit-Position: refs/heads/master@{#457093}
> Committed: f9fca7ca02

TBR=wnwen@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=700438

Review-Url: https://codereview.chromium.org/2758683003
Cr-Original-Commit-Position: refs/heads/master@{#457866}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 136f215ed31f9e748b388b5e79bf0e4888f62acc
2017-03-17 19:59:19 +00:00
dgn 7d0bd53c73 [Android] Add enable_chrome_android_internal GN flag
This flag will allow devs having access to the internal Chrome for
Android repo to choose whether to use it in their builds.

BUG=702323

Review-Url: https://codereview.chromium.org/2753273002
Cr-Original-Commit-Position: refs/heads/master@{#457749}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d1e190d78a2084aa849819a8921d76e8dfe67e19
2017-03-17 13:34:49 +00:00
kmarshall 72004d5fb0 Add static analysis support to Win Clang builds
This CL enables static analysis support for Clang builds on Windows.
Developers can opt-in to receiving analysis text by setting
"use_clang_static_analyzer = true" in their GN build
args. The solution works with Goma.

* Added flags to Clang portions of build/toolchain/win/BUILD.gn.
* Added options to the Analysis wrapper script to handle clang-cl.exe's
flag style.

BUG=687243

Review-Url: https://codereview.chromium.org/2748793004
Cr-Original-Commit-Position: refs/heads/master@{#457566}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5847e4bdf3b65ccc136bc42ef00d573f2adb50fb
2017-03-16 21:39:51 +00:00
mikecase 3431774dce Remove hard-coded sdk build tools path from test_runner_py target.
BUG=688263

Review-Url: https://codereview.chromium.org/2752093003
Cr-Original-Commit-Position: refs/heads/master@{#457534}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9add10b813d77f81636bb8ddcd49c64ac3757e5d
2017-03-16 20:23:29 +00:00
thakis 3cf878cf65 Revert of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #1 id:1 of https://codereview.chromium.org/2756713002/ )
Reason for revert:
Still breaks pnacl-ld on Windows: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.chrome%2FGoogle_Chrome_Win%2F16241%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout
pnacl-ld: "--build-id=sha1" affects translation. To allow, specify --pnacl-allow-native

Original issue's description:
> Reland of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #1 id:1 of https://codereview.chromium.org/2732023004/ )
>
> Reason for revert:
> With https://bugs.chromium.org/p/nativeclient/issues/detail?id=4391#c1 fixed, this might now work.
>
> Original issue's description:
> > Revert of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #2 id:20001 of https://codereview.chromium.org/2732293002/ )
> >
> > Reason for revert:
> > https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/30394/steps/compile/logs/stdio
> >
> > pnacl-ld: Unrecognized option: --build-id=sha1
> >
> > gn args:
> > goma_dir = "/b/c/goma_client"
> > is_chrome_branded = true
> > is_debug = false
> > is_official_build = true
> > target_os = "chromeos"
> > use_goma = true
> >
> > Original issue's description:
> > > build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON
> > >
> > > BUG=622775
> > >
> > > Review-Url: https://codereview.chromium.org/2732293002
> > > Cr-Commit-Position: refs/heads/master@{#455154}
> > > Committed: 4e5c4a1545
> >
> > TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=622775
> >
> > Review-Url: https://codereview.chromium.org/2732023004
> > Cr-Commit-Position: refs/heads/master@{#455172}
> > Committed: e806d46df5
>
> TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=622775
>
> Review-Url: https://codereview.chromium.org/2756713002
> Cr-Commit-Position: refs/heads/master@{#457493}
> Committed: c3cb7d84db

TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=622775

Review-Url: https://codereview.chromium.org/2754973002
Cr-Original-Commit-Position: refs/heads/master@{#457523}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c9650610e0df4aa3d24cdb52f1139c17cdfe530b
2017-03-16 19:48:52 +00:00
thomasanderson 2124af88c2 Revert of Linux UI: Switch to the Gtk3 theme (patchset #3 id:180001 of https://codereview.chromium.org/2670623002/ )
Reason for revert:
Reverting to fix component builds on systems with Mir.
Will reland (probably later today) once https://codereview.chromium.org/2756543002/ lands

Original issue's description:
> Linux UI: Switch to the Gtk3 theme
>
> Sets "use_gtk3 = true" by default.
>
> BUG=79722
> TBR=dpranke@chromium.org
> CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_msan_rel_ng;master.tryserver.chromium.linux:linux_chromium_dbg_32_ng
>
> > > Review-Url: https://codereview.chromium.org/2670623002
> > > Cr-Commit-Position: refs/heads/master@{#452118}
> > > Committed: 872a494bba
>
> > Review-Url: https://codereview.chromium.org/2670623002
> > Cr-Commit-Position: refs/heads/master@{#454491}
> > Committed: 89be63a39b
>
> Review-Url: https://codereview.chromium.org/2670623002
> Cr-Commit-Position: refs/heads/master@{#455596}
> Committed: 0725228010

TBR=erg@chromium.org,mmoss@chromium.org,thomasanderson@google.com
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=79722,700120

Review-Url: https://codereview.chromium.org/2754913002
Cr-Original-Commit-Position: refs/heads/master@{#457516}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fd5f9e0d7330c6cd8bbb2301acd77305aa63981c
2017-03-16 19:23:34 +00:00
jbudorick 7c17b14308 [android] Add support for passing command-line flags directly.
Previously, command-line flags to be passed to the test had to be
passed via:
 - (gtests) --test-arguments <string>
 - (instrumentation tests) --device-flags{,-file} <file>

This CL changes it s.t. any flags not recognized by the test runner
are passed down to the binary. It also removes --device-flags and
deprecates --test-arguments.

BUG=700366

Review-Url: https://codereview.chromium.org/2752493002
Cr-Original-Commit-Position: refs/heads/master@{#457513}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7d30806cf9bcb492d60dab0b3987aba72ff59f87
2017-03-16 19:18:52 +00:00
thakis b30ab5d975 Reland of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #1 id:1 of https://codereview.chromium.org/2732023004/ )
Reason for revert:
With https://bugs.chromium.org/p/nativeclient/issues/detail?id=4391#c1 fixed, this might now work.

Original issue's description:
> Revert of build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON (patchset #2 id:20001 of https://codereview.chromium.org/2732293002/ )
>
> Reason for revert:
> https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/30394/steps/compile/logs/stdio
>
> pnacl-ld: Unrecognized option: --build-id=sha1
>
> gn args:
> goma_dir = "/b/c/goma_client"
> is_chrome_branded = true
> is_debug = false
> is_official_build = true
> target_os = "chromeos"
> use_goma = true
>
> Original issue's description:
> > build: Prepare for building clang without ENABLE_LINKER_BUILD_ID=ON
> >
> > BUG=622775
> >
> > Review-Url: https://codereview.chromium.org/2732293002
> > Cr-Commit-Position: refs/heads/master@{#455154}
> > Committed: 4e5c4a1545
>
> TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=622775
>
> Review-Url: https://codereview.chromium.org/2732023004
> Cr-Commit-Position: refs/heads/master@{#455172}
> Committed: e806d46df5

TBR=hans@chromium.org,torne@chromium.org,mcgrathr@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=622775

Review-Url: https://codereview.chromium.org/2756713002
Cr-Original-Commit-Position: refs/heads/master@{#457493}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c3cb7d84db9a7d99ae917f32c1acca0f44ca3b22
2017-03-16 18:12:09 +00:00
jbudorick 217858da3e Set OWNERS for {build,third_party}/.gitignore to *.
https://crrev.com/68d02518d39937443244001624fa500e00aad408 split
//build/.gitignore and //third_party/.gitignore out of the main
.gitignore file, which is owned by *. This CL updates the owners for
the new .gitignore files to match.

Review-Url: https://codereview.chromium.org/2751353004
Cr-Original-Commit-Position: refs/heads/master@{#457476}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b17a05b5025de0288c1ee255ee4adceee55bf50a
2017-03-16 17:36:04 +00:00
hzl 81c2772699 Revert of Use logdog butler subcommand to run tests. (patchset #42 id:820001 of https://codereview.chromium.org/2695963003/ )
Reason for revert:
Increases time by a great deal.

Original issue's description:
> Use logdog butler subcommand to run tests.
>
> Previously we ran tests, without setting butler environment variables.
> This will run into NotBootstrappedError when we try to upload test
> results through logdog.
>
> In this cl, we use logdog butler subcommand to run tests, which will set
> butler environment variables before hand.
>
> BUG=692287
>
> Review-Url: https://codereview.chromium.org/2695963003
> Cr-Commit-Position: refs/heads/master@{#456976}
> Committed: de2df28c86

TBR=mikecase@chromium.org,dnj@chromium.org,jbudorick@chromium.org,dpranke@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=692287

Review-Url: https://codereview.chromium.org/2749643008
Cr-Original-Commit-Position: refs/heads/master@{#457257}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d58d09ff7ef678920db1110ae5a0230f7d7cdb52
2017-03-15 23:15:35 +00:00
pcc 37349a7461 build: Add a new build flag, use_cfi_icall.
This flag enables CFI for indirect calls via a function pointer.

BUG=701919
R=thakis@chromium.org

Review-Url: https://codereview.chromium.org/2749393002
Cr-Original-Commit-Position: refs/heads/master@{#457229}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a7bb0b59a2a4c5918ddfa951f91591ddee7d468e
2017-03-15 22:12:02 +00:00
shenghuazhang 15d5fcab1c [Android] Strip 'DISABLED_' test name prefix for gtest
Currently the gtest results output has the 'DISABLED_' prefix on
disabled tests. This CL strips the 'DISABLED_' prefix for gtest results
output, which matches gtest results on desktop produced by
//base/test/launcher.

BUG=698143

Review-Url: https://codereview.chromium.org/2754463004
Cr-Original-Commit-Position: refs/heads/master@{#457155}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d0287a23d5d61345ca9c246b5119ab78e80305eb
2017-03-15 18:57:31 +00:00
wnwen 1a88c1e1db Android: Support Android Studio 2.3
Also fixes excludes filters not working. For files whose directory is
not fully included in the target, add those individually instead.

BUG=700438

Review-Url: https://codereview.chromium.org/2746103004
Cr-Original-Commit-Position: refs/heads/master@{#457093}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f9fca7ca0225a5c4ef021046526bf75e2cade80d
2017-03-15 15:47:29 +00:00
maxmorin dc8b69a1b5 Remove suppressions for some bugs that are closed as fixed.
BUG=280466,285242,345618,345624,347548,417193,638583

Review-Url: https://codereview.chromium.org/2755453003
Cr-Original-Commit-Position: refs/heads/master@{#457076}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ba0d317cba4476cd306db516d13f704bfd5bf9ff
2017-03-15 14:22:32 +00:00
thakis 96c34ee9bb Make USE_EXTERNAL_POPUP_MENU local to content.
No intended behavior change. -DUSE_EXTERNAL_POPUP should no longer be
on every single compiler invocation, but only on the ones that need it.

BUG=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2751763002
Cr-Original-Commit-Position: refs/heads/master@{#457057}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 18e4264101591745752da096923f3133e6fc21e4
2017-03-15 12:06:37 +00:00
kcwu 8ec52bfb65 Fix syntax of kAsanDefaultOptions
BUG=None
TEST=chromeos build with is_asan=true

Review-Url: https://codereview.chromium.org/2748103007
Cr-Original-Commit-Position: refs/heads/master@{#457050}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 59e93059c5418474c88680fb71020bf1fb417d2b
2017-03-15 10:50:29 +00:00
jbudorick e8b5e58534 [Android] Add support for external sharding to the test runner.
This adds support for sharding via GTEST_SHARD_INDEX and
GTEST_TOTAL_SHARDS (along with their equivalent --test-launcher-*
command-line options), matching the behavior of //base/test/launcher
for both gtests and instrumentation tests.

BUG=692200

Review-Url: https://codereview.chromium.org/2743873003
Cr-Original-Commit-Position: refs/heads/master@{#457001}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 84188b5c73a3bd70944aac7028dbdd449e9e5b73
2017-03-15 05:29:24 +00:00
hzl 06f2c728f1 Use logdog butler subcommand to run tests.
Previously we ran tests, without setting butler environment variables.
This will run into NotBootstrappedError when we try to upload test
results through logdog.

In this cl, we use logdog butler subcommand to run tests, which will set
butler environment variables before hand.

BUG=692287

Review-Url: https://codereview.chromium.org/2695963003
Cr-Original-Commit-Position: refs/heads/master@{#456976}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de2df28c86b13227040aba5f9f5a1d1f869b81eb
2017-03-15 03:14:52 +00:00
sbc 2744073131 Revert of Update linux sysroot images from debian/wheezy to debian/jessie (patchset #1 id:1 of https://codereview.chromium.org/2755483002/ )
Reason for revert:
Broken the official rpm builders (https://bugs.chromium.org/p/chromium/issues/detail?id=701585) and also causes an apparent regressing in the number of static initializes.

Original issue's description:
> Reland of Update linux sysroot images from debian/wheezy to debian/jessie (patchset #1 id:1 of https://codereview.chromium.org/2743253004/ )
>
> Reason for revert:
> Linux bot has now been upgraded
>
> Original issue's description:
> > Revert of Update linux sysroot images from debian/wheezy to debian/jessie (patchset #8 id:140001 of https://codereview.chromium.org/2361223002/ )
> >
> > Reason for revert:
> > Broke the linux builder which it seems is still on Precise.
> >
> > Original issue's description:
> > > Update linux sysroot images from debian/wheezy to debian/jessie
> > >
> > > BUG=564904
> > >
> > > Review-Url: https://codereview.chromium.org/2361223002
> > > Cr-Commit-Position: refs/heads/master@{#456441}
> > > Committed: 8d4f1d731f
> >
> > TBR=phajdan.jr@chromium.org,thestig@chromium.org,thomasanderson@google.com,dpranke@chromium.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=564904
> >
> > Review-Url: https://codereview.chromium.org/2743253004
> > Cr-Commit-Position: refs/heads/master@{#456449}
> > Committed: 189891d210
>
> TBR=phajdan.jr@chromium.org,thestig@chromium.org,thomasanderson@google.com,dpranke@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=564904
>
> Review-Url: https://codereview.chromium.org/2755483002
> Cr-Commit-Position: refs/heads/master@{#456758}
> Committed: 79d4fc169a

TBR=phajdan.jr@chromium.org,thestig@chromium.org,thomasanderson@google.com,dpranke@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=564904

Review-Url: https://codereview.chromium.org/2754443003
Cr-Original-Commit-Position: refs/heads/master@{#456900}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d93f0e0cabc7d2d4570b60d97434e32749c5723f
2017-03-14 23:58:08 +00:00
thakis ca4535df7d Remove unused enable_chromevox_next.
No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2746053005
Cr-Original-Commit-Position: refs/heads/master@{#456845}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: abe94d70476dfbaf5eece00aa7e98c79fe8e461f
2017-03-14 21:43:58 +00:00
jbudorick fe1496a389 [android] Clean up test_runner.py arguments.
This includes:
  - reformatting
  - purging dead / deprecated / unused arguments

Review-Url: https://codereview.chromium.org/2605083002
Cr-Original-Commit-Position: refs/heads/master@{#456835}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 761f60864c37e7af6fe9dba49256a8b014860049
2017-03-14 21:20:28 +00:00
twellington f49c745c96 [Home] Add a bottom navigation bar for the BottomSheet
This adds a basic navigation bar fixed to the bottom of the
BottomSheet. Changing BottomSheet content will be done in a
follow up CL(s).

BUG=699598

Review-Url: https://codereview.chromium.org/2738843003
Cr-Original-Commit-Position: refs/heads/master@{#456833}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4a2aaa37f0366b0a4673fa57867cda86f65118c9
2017-03-14 21:17:41 +00:00
sbc bc77c14d4e Reland of Update linux sysroot images from debian/wheezy to debian/jessie (patchset #1 id:1 of https://codereview.chromium.org/2743253004/ )
Reason for revert:
Linux bot has now been upgraded

Original issue's description:
> Revert of Update linux sysroot images from debian/wheezy to debian/jessie (patchset #8 id:140001 of https://codereview.chromium.org/2361223002/ )
>
> Reason for revert:
> Broke the linux builder which it seems is still on Precise.
>
> Original issue's description:
> > Update linux sysroot images from debian/wheezy to debian/jessie
> >
> > BUG=564904
> >
> > Review-Url: https://codereview.chromium.org/2361223002
> > Cr-Commit-Position: refs/heads/master@{#456441}
> > Committed: 8d4f1d731f
>
> TBR=phajdan.jr@chromium.org,thestig@chromium.org,thomasanderson@google.com,dpranke@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=564904
>
> Review-Url: https://codereview.chromium.org/2743253004
> Cr-Commit-Position: refs/heads/master@{#456449}
> Committed: 189891d210

TBR=phajdan.jr@chromium.org,thestig@chromium.org,thomasanderson@google.com,dpranke@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=564904

Review-Url: https://codereview.chromium.org/2755483002
Cr-Original-Commit-Position: refs/heads/master@{#456758}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 79d4fc169a9af62228134cf4c60714dbbe4659dd
2017-03-14 17:59:22 +00:00
thakis 21f869cbc8 Remove ui_compositor_image_transport, it has no effect.
It's been used to add a conditional dep on ui/gl, but we chrome depends on
that unconditionally already.

It's also been used to call glFinish() under the following conditions in
the glResizeCHROMIUM handler:

    !defined(UI_COMPOSITOR_IMAGE_TRANSPORT)

UI_COMPOSITOR_IMAGE_TRANSPORT was always set on Linux and Chrome OS, which
means this code only ran on Android, and I'm not sure if we use
glResizeCHROMIUM there.

BUG=700681
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2748533002
Cr-Original-Commit-Position: refs/heads/master@{#456746}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 81e3d61f4f273627a7fb9d6d7f2bbbc382c95d7e
2017-03-14 17:17:03 +00:00
thakis da321211f0 Remove enable_webvr from build/config, and move it to the buildflag_header system.
No intended behavior change. After this change, -DENABLE_WEBRTC won't be passed
to all translation units but only to those in targets containing translation
units reading it.

BUG=none
TBR=avi
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2745943002
Cr-Original-Commit-Position: refs/heads/master@{#456738}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 49a841a4fa2889833c8181cc18eae546db9370f7
2017-03-14 17:02:28 +00:00
qyearsley 108ba89d73 Reland of move enable_vulkan from build/config, and move it to the buildflag_header system. (patchset #1 id:1 of https://codereview.chromium.org/2742263004/ )
Reason for revert:
Relanding since this revert doesn't appear to have helped:
https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests

Original issue's description:
> Revert of Remove enable_vulkan from build/config, and move it to the buildflag_header system. (patchset #8 id:140001 of https://codereview.chromium.org/2744973002/ )
>
> Reason for revert:
> Speculative revert for linux tests failure:
> https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests
>
> Original issue's description:
> > Remove enable_vulkan from build/config, and move it to the buildflag_header system.
> >
> > No intended behavior change.
> >
> > TBR=avi
> > BUG=none
> > CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
> >
> > Review-Url: https://codereview.chromium.org/2744973002
> > Cr-Commit-Position: refs/heads/master@{#456525}
> > Committed: 7f118188c1
>
> TBR=dyen@chromium.org,danakj@chromium.org,jbauman@chromium.org,avi@chromium.org,piman@chromium.org,thakis@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=none
>
> Review-Url: https://codereview.chromium.org/2742263004
> Cr-Commit-Position: refs/heads/master@{#456562}
> Committed: 0192171168

TBR=dyen@chromium.org,danakj@chromium.org,jbauman@chromium.org,avi@chromium.org,piman@chromium.org,thakis@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=none

Review-Url: https://codereview.chromium.org/2746363002
Cr-Original-Commit-Position: refs/heads/master@{#456613}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: db0a348759ea9c97783c516344a1d96880ceb359
2017-03-14 03:24:31 +00:00
qyearsley 7de5863eca Revert of Remove enable_vulkan from build/config, and move it to the buildflag_header system. (patchset #8 id:140001 of https://codereview.chromium.org/2744973002/ )
Reason for revert:
Speculative revert for linux tests failure:
https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests

Original issue's description:
> Remove enable_vulkan from build/config, and move it to the buildflag_header system.
>
> No intended behavior change.
>
> TBR=avi
> BUG=none
> CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
>
> Review-Url: https://codereview.chromium.org/2744973002
> Cr-Commit-Position: refs/heads/master@{#456525}
> Committed: 7f118188c1

TBR=dyen@chromium.org,danakj@chromium.org,jbauman@chromium.org,avi@chromium.org,piman@chromium.org,thakis@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=none

Review-Url: https://codereview.chromium.org/2742263004
Cr-Original-Commit-Position: refs/heads/master@{#456562}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0192171168e7afc337edc13c150eca4152185cd5
2017-03-14 01:34:27 +00:00
thakis 883170d2b4 Remove enable_vulkan from build/config, and move it to the buildflag_header system.
No intended behavior change.

TBR=avi
BUG=none
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2744973002
Cr-Original-Commit-Position: refs/heads/master@{#456525}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7f118188c140989c8a633c60d531b4c08eef8564
2017-03-13 23:06:58 +00:00
estevenson a72dd71ab4 Add utility for downloading reference APKs.
This will be used primarily on perf bots to download APKs used for
tracking per-milestone patch size growth.

BUG=695188

Review-Url: https://codereview.chromium.org/2750603003
Cr-Original-Commit-Position: refs/heads/master@{#456502}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2850476323ae769b612011f3d99a2d17759a2952
2017-03-13 22:07:29 +00:00
brucedawson 3c5003eba8 Copy *all* UCRT DLLs to the output directory
In component builds where DEPOT_TOOLS_WIN_TOOLCHAIN=0 the VS toolchain
script would copy *most* of the UCRT DLLs, but not all of them. It would
fail to copy the api-ms-win-crt-*.dll files. This was not noticed
because these only need to be copied in if you make the mini_installer
target, and if you had previously done generated your output directory
with DEPOT_TOOLS_WIN_TOOLCHAIN=1 then the files would be copied in then,
and retained.

This changes the script to copy from %WINDOWSSDKDIR%\Redist\ucrt\DLLs
directory, or the default location if this variable is not set. This
path is used elsewhere, why copy_cdb_to_output.py and is supported by
both values of DEPOT_TOOLS_WIN_TOOLCHAIN. If the SDK is installed in a
non-default location then DEPOT_TOOLS_WIN_TOOLCHAIN=0 users will have to
ensure that WINDOWSSDKDIR is set.

Local testing confirms that the set of files copied is now identical for
DEPOT_TOOLS_WIN_TOOLCHAIN=0/1 (the file versions are different due to
SDK updates but that is known and expected).

BUG=692300

Review-Url: https://codereview.chromium.org/2743423002
Cr-Original-Commit-Position: refs/heads/master@{#456484}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 46cd6d9361fffc104929e0ed654576eb3b286f14
2017-03-13 21:12:31 +00:00
sbc 5c1f817ec6 Revert of Update linux sysroot images from debian/wheezy to debian/jessie (patchset #8 id:140001 of https://codereview.chromium.org/2361223002/ )
Reason for revert:
Broke the linux builder which it seems is still on Precise.

Original issue's description:
> Update linux sysroot images from debian/wheezy to debian/jessie
>
> BUG=564904
>
> Review-Url: https://codereview.chromium.org/2361223002
> Cr-Commit-Position: refs/heads/master@{#456441}
> Committed: 8d4f1d731f

TBR=phajdan.jr@chromium.org,thestig@chromium.org,thomasanderson@google.com,dpranke@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=564904

Review-Url: https://codereview.chromium.org/2743253004
Cr-Original-Commit-Position: refs/heads/master@{#456449}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 189891d210bb98c91e155d4794dffa03d95f1e15
2017-03-13 19:07:45 +00:00
sbc 7cebfc7615 Update linux sysroot images from debian/wheezy to debian/jessie
BUG=564904

Review-Url: https://codereview.chromium.org/2361223002
Cr-Original-Commit-Position: refs/heads/master@{#456441}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8d4f1d731faf1e9564985cbec05e840e9207bef9
2017-03-13 18:37:34 +00:00
wnwen 509f01322c Android: Add missing resources to android studio
Some apk targets directly depend on their resources (e.g.
//android_webview/test:android_webview_apk). These are not picked up by
javac and need to be added to gradle in order to allow editing of all
resources.

BUG=682846

Review-Url: https://codereview.chromium.org/2724093003
Cr-Original-Commit-Position: refs/heads/master@{#456416}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f37993e1a795b3d8d72bb858a8ccb0a74b82400b
2017-03-13 17:36:15 +00:00
sakal aa1278561c Fix .so-file enumeration in generate_gradle.py.
BUG=620034, webrtc:6328
NOTRY=True

Review-Url: https://codereview.chromium.org/2747723002
Cr-Original-Commit-Position: refs/heads/master@{#456373}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a4451c911ee05e56000474c58bfad89f744a35e
2017-03-13 14:26:50 +00:00
glider fc1240aa4e Delete TSan suppressions for base::Histogram.
The bugs are fixed long ago.

BUG=chromium:46840
TBR=thestig@chromium.org
TEST=trybots are green

Review-Url: https://codereview.chromium.org/2742353002
Cr-Original-Commit-Position: refs/heads/master@{#456366}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ce64fc7cd0fa0546926a832497d913f058a1e74
2017-03-13 13:55:39 +00:00
thakis 1748b434c7 Convert ENABLE_WAYLAND_SERVER to a build flag.
This way, ENABLE_WAYLAND_SERVER isn't defined globally, but only where
it's needed (chrome/common and deps). No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2741783007
Cr-Original-Commit-Position: refs/heads/master@{#456293}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a6fa3d313a9e5a445c2ed406bc87e0affaa3cc63
2017-03-11 23:12:55 +00:00
thakis 74dbe84de9 Remove blink-specific global lsan define.
No intended behavior change.

BUG=none

Review-Url: https://codereview.chromium.org/2745533006
Cr-Original-Commit-Position: refs/heads/master@{#456292}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 06a1dbc9d7d88f5ccb634b569f88b231a65629e2
2017-03-11 22:52:25 +00:00
thestig cc228aba0c Only import gyp when required in vs_toolchain.py.
Also replace some elifs after returns with ifs.

BUG=648423

Review-Url: https://codereview.chromium.org/2745863002
Cr-Original-Commit-Position: refs/heads/master@{#456250}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b24fa5e6df163fc6aaea2fbc9150016af90a2ce
2017-03-11 01:46:42 +00:00
brucedawson 86d81d7640 Don't confuse VS 2013 with VS 2017
Building with VS 2017 using a packaged toolchain is not yet supported
but if you try to do it you get a surprising result - the VS 2013
toolchain gets downloaded. This adds a 2013 check to avoid this, and
also simplifies/corrects an existing 2017 check and comment.

This lets us fail-fast if a user tries the VS 2017 depot-tools
combination before it is supported.

BUG=683729

Review-Url: https://codereview.chromium.org/2741783006
Cr-Original-Commit-Position: refs/heads/master@{#456226}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fead74a8e3d55044bc89fe96500275a0b5e3f24c
2017-03-11 00:14:47 +00:00
kmarshall 78d6849c6b Remove dependency on scan-build wrapper script for analysis builds.
This CL replaces the Clang 'c++-analyzer' Perl script with logic added to the Python wrapper script. This gives us the hooks we need to run analysis builds with "gomacc" (necessary for distributed builds) and gives us a convenient place to specify analyzer config flags which aren't exposed by scan-build.

Adds a warning suppression rule which prevents the analyzer from raising false positives from stdlib code (code w/namespace "std").

Other changes:
* Modify Goma portions of the GCC toolchain GNI to build paths to
  the Clang static analyzer.
* Create an exception for ASM tool invocations, which don't play
  well with the analysis command line flags.
* Removed 'scan-build' DEP.

BUG=687245
R=thakis@chromium.org,wez@chromium.org

Review-Url: https://codereview.chromium.org/2667853004
Cr-Original-Commit-Position: refs/heads/master@{#456136}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6694c0e5e6727606e83542d3d471f3967fdb0128
2017-03-10 19:47:21 +00:00
brucedawson 957a0ba4d6 Fix VS 2015 Update 3, 14393 SDK landmine
The VS 2015 Update 3, 14393 SDK landmine currently fires if you move to
building with VS 2017. That is undesirable. For local builds it is
unnecessary. For bot builds we need to fix the long-standing bug whereby
Windows compiler changes fail to trigger builds, rather than relying on
this landmine quirk.

R=scottmg@chromium.org
BUG=683729

Review-Url: https://codereview.chromium.org/2742603002
Cr-Original-Commit-Position: refs/heads/master@{#455812}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8f32820f092fb4b91778feb1304c6161fec14658
2017-03-09 18:49:37 +00:00
ymzhang 8acd528aab [DirectoryOwnership] Add TEAM/COMPONENT into OWNERS files.
We are adding COMPONENT/TEAM information into OWNERS file
(third_party/*, etc).

Proposal to add TEAM/COMPONENT information into OWNERS files
http://bit.ly/add-team-component-proposal
Proposal about how to get suggested component for directory.
http://bit.ly/directory-mapping-proposal
TEAM-COMPONENT mapping
http://bit.ly/component-team-mapping

Additional Information:
Component lists
https://bugs.chromium.org/p/chromium/adminComponents

BUG=679905
R=agrieve@chromium.org

Review-Url: https://codereview.chromium.org/2734393004
Cr-Original-Commit-Position: refs/heads/master@{#455799}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: af8c9798ce11b04fb6ad0fa8ddd5e7f0d7faf8af
2017-03-09 18:29:14 +00:00
mikecase 33b29e1fc5 Revert of Add failure screenshots and render test images to results detail. (patchset #8 id:130001 of https://codereview.chromium.org/2701473003/ )
Reason for revert:
Reverting :( this since using find_depot_tools doesnt work on some bots. Will have to find alternative and reland.

Original issue's description:
> Add failure screenshots and render test images to results detail.
>
> Review-Url: https://codereview.chromium.org/2701473003
> Cr-Commit-Position: refs/heads/master@{#453039}
> Committed: 191a06d04a

TBR=yolandyan@chromium.org,hzl@chromium.org,hzl@google.com,jbudorick@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.

Review-Url: https://codereview.chromium.org/2737223002
Cr-Original-Commit-Position: refs/heads/master@{#455639}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 85c3c4f9fdb6de0dcda6f8c5e9d460ef09dd292d
2017-03-09 02:10:42 +00:00
brucedawson 22d73001be Allow building with VS 2017 when VS 2013/2015 are in path
The VS 2017 vcvarsall.bat file is quite fragile. It fails if
vcvarsall.bat from a previous release has been run in the same command
prompt, and this failure is not detected by setup_toolchain.py. The
problem occurs because the new vcvarsall.bat won't overwrite an
existing VSINSTALLDIR. The fix is to clear it from the environment if it
is set.

The main test was to try to build with VS 2017 after running the VS 2015
vcvarsall.bat. Trimmed output is shown here:

> where cl
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe

> set gyp
GYP_MSVS_VERSION=2017

> gn clean out\release & gn gen out\release & ninja -v -C out\release ..\..\build\precompile.cc^^
Done. Made 5496 targets from 1254 files in 4078ms
ninja: Entering directory `out\release'
...
[15/15 0.439s] ... \Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64/cl.exe ...

I also verified that I can switch between 2015 and 2017 builds with just
a "gn gen" to reset the toolchain.

> set GYP_MSVS_VERSION=2015
> gn gen out\release

> ninja -v -C out\release ..\..\build\precompile.cc^^
ninja: Entering directory `out\release'
[1/1 0.140s ] ... "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64/cl.exe" ...

> set GYP_MSVS_VERSION=2017
> gn gen out\release
Done. Made 5496 targets from 1254 files in 3768ms

> ninja -v -C out\release ..\..\build\precompile.cc^^
ninja: Entering directory `out\release'
[1/1 0.131s ] ... \Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64/cl.exe ...

R=scottmg@chromium.org
BUG=683729

Review-Url: https://codereview.chromium.org/2738993003
Cr-Original-Commit-Position: refs/heads/master@{#455630}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d57799fb3aa77b04cc79982dca0261d6b7d673e
2017-03-09 01:43:10 +00:00
thomasanderson a61e820731 Linux UI: Switch to the Gtk3 theme
Sets "use_gtk3 = true" by default.

BUG=79722
TBR=dpranke@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_msan_rel_ng;master.tryserver.chromium.linux:linux_chromium_dbg_32_ng

> > Review-Url: https://codereview.chromium.org/2670623002
> > Cr-Commit-Position: refs/heads/master@{#452118}
> > Committed: 872a494bba

> Review-Url: https://codereview.chromium.org/2670623002
> Cr-Commit-Position: refs/heads/master@{#454491}
> Committed: 89be63a39b

Review-Url: https://codereview.chromium.org/2670623002
Cr-Original-Commit-Position: refs/heads/master@{#455596}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 072522801041708fba94498a1844cb89f24d4590
2017-03-08 23:42:04 +00:00
wnwen 43783b113c Android: Upstream gn_to_cmake.py
The script was originally //third_party/skia/gn/gn_to_cmake.py

Planning to use it to enable editing native files in android studio.

Currently script does not allow full build, intended for editing only.

BUG=694699

Review-Url: https://codereview.chromium.org/2733353003
Cr-Original-Commit-Position: refs/heads/master@{#455521}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a45e8b336d2b214cfd5db0b3e3b5b85b688ce8db
2017-03-08 20:08:42 +00:00
wnwen 7d97a2e9c1 Android: Add wnwen@ to build/android/gradle/OWNERS
BUG=None

Review-Url: https://codereview.chromium.org/2737973002
Cr-Original-Commit-Position: refs/heads/master@{#455514}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: db995c23f79d3ab26300676f8c431b7e4c115ad4
2017-03-08 19:35:01 +00:00
jcivelli 15a4152528 Making the AIDL GN target support multiple include directories.
This is needed by a follow up patch that adds Java Parcelable's
support to Mojo.

BUG=699288
TBR=phajdan.jr@chromium.org

Review-Url: https://codereview.chromium.org/2738743003
Cr-Original-Commit-Position: refs/heads/master@{#455504}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e97d4db7e7a6bd09f0dea98fb347ce61bdcda05
2017-03-08 18:51:59 +00:00