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

19802 Коммитов

Автор SHA1 Сообщение Дата
Nelson Billing 29e2863361 Implement DWARF Fission support in Chrome Android.
- This is a fixed version of
https://chromium-review.googlesource.com/c/chromium/src/+/1995743
which was reverted because it caused a build failure for ToTLinux.
-Build failure in ToTLinux is fixed by only adding "--generate-dwp" for
the Android toolchain when building for Android OS.
- Modify some compiler build definitions to allow symbol_level=2 with
Chrome Android 32bit, and to make the build respect use_debug_fission in
those cases.
- Modify "link" and "solink" tools in Android toolchain so that DWP
files can be generated for builds with use_debug_fission.
- Modify partitioned_shared_library template/script so that DWP files
can be generated for partitioned libs when use_debug_fission is set.

Change-Id: I7f023de42e46aca1e8c56c9edf3858617e2ab5ad

Cq-Include-Trybots: chromium/try:mac_chromium_asan_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_cfi_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_asan_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_msan_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_msan_rel_ng
Cq-Include-Trybots: chromium/try:linux-chromeos-dbg,win-asan
Cq-Include-Trybots: chromium/try:chromeos-amd64-generic-cfi-thin-lto-rel
Cq-Include-Trybots: chromium/try:linux_chromium_compile_dbg_32_ng
Cq-Include-Trybots: chromium/try:win7-rel,win-angle-deqp-rel-32
Cq-Include-Trybots: chromium/try:linux_angle_deqp_rel_ng
Cq-Include-Trybots: chromium/try:win-angle-deqp-rel-64
Cq-Include-Trybots: chromium/try:dawn-win10-x86-deps-rel
Cq-Include-Trybots: chrome/try:linux-chromeos-chrome
Cq-Include-Trybots: chrome/try:mac-chrome
Change-Id: I7f023de42e46aca1e8c56c9edf3858617e2ab5ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2330810
Commit-Queue: Nelson Billing <nbilling@google.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801271}
GitOrigin-RevId: 3ed7301e9e05897bc8d087e73fd3b0b44f7b555e
2020-08-24 21:43:00 -07:00
Andrey Kosyakov 79463048cf Fix headless build broken after #800929
TBR=sky@chromium.org, msisov@igalia.com

Bug: 1119772
Change-Id: I6c1db3c46fa64ef217449993a3531adf5ae16e74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2372345
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Peter Kvitek <kvitekp@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801249}
GitOrigin-RevId: 9cf458f462ba897ff4252d554ebcdaffa7096b4c
2020-08-24 19:12:55 -07:00
chromium-autoroll 404780cf19 Roll Fuchsia SDK from 0.20200824.2.1 to 0.20200824.3.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I947d54db3693188f6c1c3305e79a8cf3c1a3df85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373128
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#801205}
GitOrigin-RevId: bfcf8b3c0280fdbf5221ab347f5e2c3d9aec1fce
2020-08-24 16:53:14 -07:00
chromium-autoroll 5e95547410 Roll Fuchsia SDK from 0.20200824.0.1 to 0.20200824.2.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I36e17af8164e44b0f7e81c6513ce044370bc424f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2372694
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#801030}
GitOrigin-RevId: e196e83a644ec0bf2cf64889997bec468408618e
2020-08-24 09:40:43 -07:00
chromium-autoroll aae8259e75 Roll Fuchsia SDK from 0.20200823.3.1 to 0.20200824.0.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: Ib4bcefeb82039b4de9809d0f7a04fc12d6f84f1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371321
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800941}
GitOrigin-RevId: a5f79dfccc65ccab8dd3510a9550644495dbf304
2020-08-24 02:23:27 -07:00
Sylvain Defresne be1d79e83c [ios] Add support for building .swift files
Add compiler wrapper script at build/apple/swiftc.py, define
the necessary tool in the toolchain and pass the -target and
-sdk through the configuration.

Bug: none
Change-Id: I177b8a6acf169b5c1d2399b625bdc0a82083b6a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2341135
Reviewed-by: Mike Pinkerton <pinkerton@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800939}
GitOrigin-RevId: d8dec3b0c6760844fe707d2531a3a4f6cfe57c8b
2020-08-24 02:11:30 -07:00
chromium-autoroll b656b396b6 Roll Fuchsia SDK from 0.20200823.2.1 to 0.20200823.3.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I7345cde23554b52f132e2b7cc869d84cab91c2ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371310
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800898}
GitOrigin-RevId: 725eb46bf0e27c7da3cd1f26d66a4598b00b9624
2020-08-23 18:41:44 -07:00
Sean McAllister 333cbf6f22 Refactor OS_LINUX preprocessor directive for LaCrOS effort.
Currently, ChromeOS defines the OS_LINUX directive as well as
OS_CHROMEOS.  We're working to separate these two, so we're
making the fact that OS_LINUX == OS_LINUX || OS_CHROMEOS
explicit.

This is changes for /build

This CL was uploaded by git cl split.

R=tikuta@chromium.org

Bug: 1110266
Change-Id: Id461b5872c27e7a3f7b4df922e44cc2e073f9dd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371212
Auto-Submit: Sean McAllister <smcallis@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800889}
GitOrigin-RevId: 863b1c2cf409b9929772de52e37d7e5ed3b460e2
2020-08-23 16:58:55 -07:00
chromium-autoroll fcd0c81676 Roll Fuchsia SDK from 0.20200823.1.1 to 0.20200823.2.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I9139fecbe41c1e593adf21220e50a6c432c853b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370519
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800877}
GitOrigin-RevId: a44e11d729c41f7cf8e144eda23ab4dba56a531c
2020-08-23 11:33:52 -07:00
chromium-autoroll 853539202a Roll Fuchsia SDK from 0.20200822.3.1 to 0.20200823.1.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I708df68fda6b5a9f1c59be791802078cbf1420e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370777
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800870}
GitOrigin-RevId: f51b4e6555364363c61438dac7afd988c8347bfc
2020-08-23 04:14:28 -07:00
chromium-autoroll 146895f29f Roll Fuchsia SDK from 0.20200822.2.1 to 0.20200822.3.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: Iecf8943bce10e727a5be284a407dfd30f7e43785
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370765
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800861}
GitOrigin-RevId: 2cdc6374ae0399ae609f0da701b831e580bb3cc7
2020-08-22 20:34:13 -07:00
chromium-autoroll c97da98a7a Roll Fuchsia SDK from 0.20200822.1.1 to 0.20200822.2.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I6be8e01ca6445c1a0a0c9f3e453a974489a54627
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370643
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800850}
GitOrigin-RevId: bfb32d1883bafabff1d43ffda576cb3b053e7e5f
2020-08-22 13:16:49 -07:00
chromium-autoroll 3050024715 Roll Fuchsia SDK from 0.20200821.3.1 to 0.20200822.1.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I8c2fc6b69851868ead1b2020cc5a912cae2358c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370212
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800833}
GitOrigin-RevId: 3058368c6646e0dc8be6f8ea838b0343428b7998
2020-08-22 05:57:22 -07:00
chromium-autoroll a38cebe11a Roll Fuchsia SDK from 0.20200821.2.1 to 0.20200821.3.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I4aed042e0fea2c394d169135274053272c8680fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369247
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800820}
GitOrigin-RevId: c19acec814787845f1496deceb9047a497c0b18e
2020-08-21 22:35:54 -07:00
Evan Stade 134058c917 Move //chrome/common/media_router to //components/media_router/common
Design doc: go/castinwl

Bug: 1057100
Change-Id: Iabb0cdf3e949737e1cbc5b99f3f8ebeb6297a820
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367696
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Takumi Fujimoto <takumif@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800789}
GitOrigin-RevId: 92b69ca063cba236a5c180be222b5ac42355a2f5
2020-08-21 16:59:33 -07:00
Tom Anderson 3ead6819d2 [XProto] Remove usage of all Xlib and XCB extensions
BUG=1066670

Change-Id: I324c66b3848c4ef6dd40326ae08270c8f14c9eee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354916
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Nick Yamane <nickdiego@igalia.com>
Reviewed-by: Lambros Lambrou <lambroslambrou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800759}
GitOrigin-RevId: a9d41393a9356dfcb7ca7de8bad872f0b3cf0492
2020-08-21 15:46:48 -07:00
chromium-autoroll 4adcd34ae6 Roll Fuchsia SDK from 0.20200821.1.1 to 0.20200821.2.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: Ib90ddfee2c684b099ba3279051ce414f6559a3eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368116
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800751}
GitOrigin-RevId: c5b505f131b1830b8af3a4f51aeeb3f461cace01
2020-08-21 15:14:26 -07:00
Yuke Liao 4d838c1e14 [lacros] Add documentation for use with xvfb
Add an example to show how to use the test runner with xvfb

Change-Id: I8ccf0750024e8ae4a8e68e8178faf38d9aa37974
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368415
Auto-Submit: Yuke Liao <liaoyuke@chromium.org>
Commit-Queue: Sven Zheng <svenzheng@chromium.org>
Reviewed-by: Sven Zheng <svenzheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800673}
GitOrigin-RevId: 1974d187732d279cce7172ae6f460966d37a8d49
2020-08-21 12:14:51 -07:00
Andrew Grieve e9cae1ecfd Reland #2: Add -noverify to build commands to improve runtime (local builds only)
This reverts commit f05ab16d76cbf8d7372a3a4a1a94c80c3f1c97bc.

Reason for reland: Repro'ed locally. Increased -Xmx flag.

> > > Original change's description:
> > > > Add -noverify to build commands to improve runtime (local builds only)
> > > >
> > > > The flag is guarded by treat_warnings_as_errors=false so that it
> > > > will apply only to local developer builds.
> > > >
> > > > Results from //tools/android/build_speed/benchmark.py base_java_sig:
> > > > With change:
> > > > base_java_sig: 68.0s avg (68.8s, 67.2s)
> > > > base_java_sig: 68.4s avg (68.6s, 68.2s)
> > > >
> > > > Without change:
> > > > base_java_sig: 69.4s avg (69.3s, 69.5s)
> > > > base_java_sig: 69.7s avg (69.7s, 69.7s)
> > > >
> > > > time out/Debug/bin/run_base_junit_tests:
> > > > With Change:
> > > > real 0m22.741s
> > > > real 0m23.543s
> > > >
> > > > Without change:
> > > > real 0m23.176s
> > > > real 0m24.328s
> > > >
> > > > Bug: 1117222
> > > > Change-Id: I4bfd742165468bf9538e6fa0dc8f35daa9e0f23f
> > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313299
> > > > Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> > > > Auto-Submit: Andrew Grieve <agrieve@chromium.org>
> > > > Reviewed-by: Peter Wen <wnwen@chromium.org>
> > > > Cr-Commit-Position: refs/heads/master@{#799285}
> > >
> > > TBR=wnwen@chromium.org,agrieve@chromium.org
> > >
> > > Change-Id: I82f411e5dab89c361a30c33e9103bd8561f19765
> > > No-Presubmit: true
> > > No-Tree-Checks: true
> > > No-Try: true
> > > Bug: 1117222
> > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362493
> > > Reviewed-by: Hajime Hoshi <hajimehoshi@chromium.org>
> > > Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
> > > Cr-Commit-Position: refs/heads/master@{#799471}
> >
> > Bug: 1117222
> > Change-Id: Ib43bfe72869def7da43b237360df0e155149a963
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363975
> > Reviewed-by: Peter Wen <wnwen@chromium.org>
> > Commit-Queue: Peter Wen <wnwen@chromium.org>
> > Auto-Submit: Andrew Grieve <agrieve@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#800233}
>
> TBR=wnwen@chromium.org,agrieve@chromium.org
>
> Change-Id: I0d617bcfc7a311bfae743445fccaaab26364511e
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 1117222
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368541
> Reviewed-by: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
> Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#800435}

Bug: 1117222
Change-Id: I48b3b0349490241cca1d7d7aa33004ed55bf887f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368928
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800657}
GitOrigin-RevId: 521a6f65acea73aa9e19d2c818432250230f2cc9
2020-08-21 11:38:05 -07:00
Brian Sheedy dced803a47 Add Gold CRS arg
Adds the --code-review-system flag to the Android test runner and adds
the necessary code to handle it for use with Gold. This is necessary
because we will be specifying 'gerrit-internal' when running tryjobs
for internal CLs so that Gold knows where to comment if new images are
generated.

Bug: 1077274
Change-Id: I5ce089a511275afed0c06378d9d49e977e330f85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366072
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800652}
GitOrigin-RevId: d905484ce6700a15442a7625ef27a93f220acdc8
2020-08-21 11:32:16 -07:00
Dirk Pranke 9e11cca440 Roll GN from e327ffdc..6f13aaac and update BUILD files.
This CL was initially generated by //tools/gn/roll_gn.py and
picks up the following changes:

https://gn.googlesource.com/gn/+log/e327ffdc..6f13aaac

    6f13aaac [visibility] Consider configs in visibility check
    5da62d5e Fix native MinGW build
    0649bd9a Add MSYS as a platform.
    501b49a3 clang: Add support for C++ modules in deps
    03df22eb [rust-project] Add "proc_macro" as dep for proc macro targets
    b489f906 Add support for Solaris and illumos systems

6f13aac is a breaking change, in that it addresses gn bug #22,
where `visibility` was not actually enforced on configs (it was
enforced only on targets); as a result, we have some visibility
violations that are now picked up with the new GN binary.

This CL fixes those violations.

Change-Id: I52b6e01f31ce64c1926e97b699b7f8a399dbf9f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360685
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800616}
GitOrigin-RevId: c362a595dc6461deb7ac53632639e729602c5cc9
2020-08-21 10:16:43 -07:00
chromium-autoroll 3c81b99155 Roll Fuchsia SDK from 0.20200821.0.1 to 0.20200821.1.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I494bd29308e9f7bf22f678f7dd2e990b2a785c41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369157
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800567}
GitOrigin-RevId: 06148875da11003667e3ff9c4d423bd278eccdd1
2020-08-21 07:57:15 -07:00
chromium-autoroll acef2c50d7 Roll Fuchsia SDK from 0.20200820.3.2 to 0.20200821.0.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I5e8b16af30f4ca8d13f9a17a7522c0c7be53c14f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368814
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800498}
GitOrigin-RevId: 5f3f1ab51fca5f783b27bbea1afe12ad57c52c50
2020-08-21 00:49:04 -07:00
Wei-Yin Chen (陳威尹) 47bdf0e769 Revert "Reland "Add -noverify to build commands to improve runtime (local builds only)""
This reverts commit a1325695b587ce991a6c4779c9bb4572679bb6a6.

Reason for revert: Android ASAN bot compilation failure. crbug.com/1120202

Original change's description:
> Reland "Add -noverify to build commands to improve runtime (local builds only)"
>
> This reverts commit 17e2a91739763a890f8e80db5689f3bb0b49723a.
>
> Reason for revert: Ensure buildtools.py is a no-op on bots.
>
> Original change's description:
> > Revert "Add -noverify to build commands to improve runtime (local builds only)"
> >
> > This reverts commit 132e1debe3ff6fe2732b8b612534d7c207651777.
> >
> > Reason for revert: Android ASAN bot compilation failures: https://ci.chromium.org/p/chromium/builders/ci/Android%20ASAN%20%28dbg%29/26489
> >
> > Original change's description:
> > > Add -noverify to build commands to improve runtime (local builds only)
> > >
> > > The flag is guarded by treat_warnings_as_errors=false so that it
> > > will apply only to local developer builds.
> > >
> > > Results from //tools/android/build_speed/benchmark.py base_java_sig:
> > > With change:
> > > base_java_sig: 68.0s avg (68.8s, 67.2s)
> > > base_java_sig: 68.4s avg (68.6s, 68.2s)
> > >
> > > Without change:
> > > base_java_sig: 69.4s avg (69.3s, 69.5s)
> > > base_java_sig: 69.7s avg (69.7s, 69.7s)
> > >
> > > time out/Debug/bin/run_base_junit_tests:
> > > With Change:
> > > real 0m22.741s
> > > real 0m23.543s
> > >
> > > Without change:
> > > real 0m23.176s
> > > real 0m24.328s
> > >
> > > Bug: 1117222
> > > Change-Id: I4bfd742165468bf9538e6fa0dc8f35daa9e0f23f
> > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313299
> > > Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> > > Auto-Submit: Andrew Grieve <agrieve@chromium.org>
> > > Reviewed-by: Peter Wen <wnwen@chromium.org>
> > > Cr-Commit-Position: refs/heads/master@{#799285}
> >
> > TBR=wnwen@chromium.org,agrieve@chromium.org
> >
> > Change-Id: I82f411e5dab89c361a30c33e9103bd8561f19765
> > No-Presubmit: true
> > No-Tree-Checks: true
> > No-Try: true
> > Bug: 1117222
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362493
> > Reviewed-by: Hajime Hoshi <hajimehoshi@chromium.org>
> > Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#799471}
>
> Bug: 1117222
> Change-Id: Ib43bfe72869def7da43b237360df0e155149a963
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363975
> Reviewed-by: Peter Wen <wnwen@chromium.org>
> Commit-Queue: Peter Wen <wnwen@chromium.org>
> Auto-Submit: Andrew Grieve <agrieve@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#800233}

TBR=wnwen@chromium.org,agrieve@chromium.org

Change-Id: I0d617bcfc7a311bfae743445fccaaab26364511e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1117222
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368541
Reviewed-by: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800435}
GitOrigin-RevId: f05ab16d76cbf8d7372a3a4a1a94c80c3f1c97bc
2020-08-20 20:13:52 -07:00
chromium-autoroll d2b7ca1546 Roll Fuchsia SDK from 0.20200820.2.1 to 0.20200820.3.2
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: Iab5fa05bc49bec9e9d9dc234cb8a78f97dec40f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368273
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800384}
GitOrigin-RevId: a03c4a281feb4012bce88a2e219297f4256e3652
2020-08-20 17:32:09 -07:00
Junichi Uekawa b47a83ca2c install-build-deps: lib32gcc1 to lib32gcc-s1
In Debian testing, lib32gcc1 is replaced by lib32gcc-s1 and no longer
installable.

BUG=chromium:1119692
TEST=./install-build-deps on rodete.

Change-Id: I47a8e9d07ac0478a33cf31c6d8566a0e0f98aad1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366381
Auto-Submit: Junichi Uekawa <uekawa@chromium.org>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800353}
GitOrigin-RevId: 01b7c1412d486d16538f6ec34a2432b9100ce51d
2020-08-20 15:53:56 -07:00
Tiancong Wang 14067af062 [build] Provide a GN arg to enable call-graph-profile-sort
In Chrome OS, we need to enable call-graph-profile-sort for most
of the use cases, except when we are generating orderfiles. Thus
we have to use a flag to enable call-graph-profile-sort, when
it's needed. Hopefully this flag can also be useful when other
platforms find it useful to enable call-graph-profile-sort.

BUG=chromium:1117564
TEST=Tested locally for chromeos

Change-Id: I045cbeae058889f2b4f20fbfcd1994d45179bb9e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364753
Commit-Queue: Tiancong Wang <tcwang@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800344}
GitOrigin-RevId: 98c5c39ab231ef2d986690e8f30dec5d9df3a949
2020-08-20 15:22:39 -07:00
Andrew Grieve ebba5b5083 Reland "Add -noverify to build commands to improve runtime (local builds only)"
This reverts commit 17e2a91739763a890f8e80db5689f3bb0b49723a.

Reason for revert: Ensure buildtools.py is a no-op on bots.

Original change's description:
> Revert "Add -noverify to build commands to improve runtime (local builds only)"
>
> This reverts commit 132e1debe3ff6fe2732b8b612534d7c207651777.
>
> Reason for revert: Android ASAN bot compilation failures: https://ci.chromium.org/p/chromium/builders/ci/Android%20ASAN%20%28dbg%29/26489
>
> Original change's description:
> > Add -noverify to build commands to improve runtime (local builds only)
> >
> > The flag is guarded by treat_warnings_as_errors=false so that it
> > will apply only to local developer builds.
> >
> > Results from //tools/android/build_speed/benchmark.py base_java_sig:
> > With change:
> > base_java_sig: 68.0s avg (68.8s, 67.2s)
> > base_java_sig: 68.4s avg (68.6s, 68.2s)
> >
> > Without change:
> > base_java_sig: 69.4s avg (69.3s, 69.5s)
> > base_java_sig: 69.7s avg (69.7s, 69.7s)
> >
> > time out/Debug/bin/run_base_junit_tests:
> > With Change:
> > real 0m22.741s
> > real 0m23.543s
> >
> > Without change:
> > real 0m23.176s
> > real 0m24.328s
> >
> > Bug: 1117222
> > Change-Id: I4bfd742165468bf9538e6fa0dc8f35daa9e0f23f
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313299
> > Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> > Auto-Submit: Andrew Grieve <agrieve@chromium.org>
> > Reviewed-by: Peter Wen <wnwen@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#799285}
>
> TBR=wnwen@chromium.org,agrieve@chromium.org
>
> Change-Id: I82f411e5dab89c361a30c33e9103bd8561f19765
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 1117222
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362493
> Reviewed-by: Hajime Hoshi <hajimehoshi@chromium.org>
> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#799471}

Bug: 1117222
Change-Id: Ib43bfe72869def7da43b237360df0e155149a963
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363975
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800233}
GitOrigin-RevId: a1325695b587ce991a6c4779c9bb4572679bb6a6
2020-08-20 11:27:09 -07:00
Andrew Grieve fea4a57325 Android expectations: Improve node sort order
#1 - Ignore XML namespaces when sorting
See https://chromium-review.googlesource.com/c/chromium/src/+/2321522
for an example of where this was causing them to change order.

#2 - Prefer to sort by android:name when present
Prevents order change when attributes are added/removed.

#3 - Don't sort top-level nodes reversed (other than <application>)

Bug: 1064151
Change-Id: If552c2c2baa1f538a00d9ddfa3ead6feb19ce6b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366038
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800203}
GitOrigin-RevId: 482eda1279d561e80e2a702ee03407d8408ea11d
2020-08-20 10:35:37 -07:00
Jeff Yoon 32b29bbbe4 [ios/infra] move xcode-parallelization to testing/buildbot
Not all EG2 tests run with xcode-parallelization. This is an arg
that's primiarily used with simulators. Downstream, eg2 tests
are also run on devices.

Because simulators are defined in testing/buildbot, and because
the xcode-parallelization arg is bound to platform and version
(both defined by simulators), we move this arg down to testing.

* Introduced support for mixins one level above variants such that
a mixin defined here applies to all variants below.
* Removed the --xcode-parallelization arg in the GN EG2 iOS
template.
* Added xcode-parallelization for all test targets that ran
through the eg2 target upstream.

Bug: 912681
Change-Id: Ie5cb45a14be0ecbb6fb64b7c8af6eea6f49df94c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364031
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Garrett Beaty <gbeaty@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800180}
GitOrigin-RevId: 85fb8df06132058d3dce41614e076d6ac5ee6116
2020-08-20 09:58:18 -07:00
chromium-autoroll 579e98a211 Roll Fuchsia SDK from 0.20200820.1.1 to 0.20200820.2.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I256f424e774d7c609ef8b147c9fb049e966a57e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367172
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800139}
GitOrigin-RevId: 85abd3378f4578af8e6fe775ce9cc94b25683caf
2020-08-20 08:41:18 -07:00
chromium-autoroll dec8bd85d9 Roll Fuchsia SDK from 0.20200819.3.1 to 0.20200820.1.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: Id1631a7910ff79305c95ebd52bc3576aa7c402d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366565
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#800035}
GitOrigin-RevId: 3c75bb858c0e3b021c13fb585d11dd674b33eefe
2020-08-20 01:18:43 -07:00
Arthur Eubanks 183d29ca63 Roll clang llvmorg-12-init-1771-g1bd7046e-5 : llvmorg-12-init-3492-ga1caa302-1.
Ran `./tools/clang/scripts/upload_revision.py a1caa302970de86b15d360212b526be8f1d59641`.

Bug: 1113154
Change-Id: I2fd71f7e0c200b9f3527a0773e70946fd4669808
Cq-Include-Trybots: chromium/try:mac_chromium_asan_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_cfi_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_msan_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_msan_rel_ng
Cq-Include-Trybots: chromium/try:linux-chromeos-dbg
Cq-Include-Trybots: chromium/try:chromeos-amd64-generic-cfi-thin-lto-rel
Cq-Include-Trybots: chromium/try:linux_chromium_compile_dbg_32_ng
Cq-Include-Trybots: chromium/try:win7-rel,win-angle-deqp-rel-32
Cq-Include-Trybots: chromium/try:linux_angle_deqp_rel_ng
Cq-Include-Trybots: chromium/try:win-angle-deqp-rel-64
Cq-Include-Trybots: chromium/try:dawn-win10-x86-deps-rel
Cq-Include-Trybots: chrome/try:iphone-device,ipad-device
Cq-Include-Trybots: chrome/try:linux-chromeos-chrome
Cq-Include-Trybots: chrome/try:mac-chrome
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363329
Commit-Queue: Arthur Eubanks <aeubanks@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799970}
GitOrigin-RevId: 074e8bafe00739889e1d6afc2ed2c0c8d31cb0c4
2020-08-19 19:55:25 -07:00
Dirk Pranke 64b747c66e Add a python2_action() template and use it in :histograms_xml.
As one of the first steps in making the build work with Python 3,
we will need a way to indicate which actions still require Python 2
to run (most work fine under Python 3 already, but some do not).

This CL introduces a python2_action() template, which works just
like a regular action() rule, but ensures that the script runs
under Python 2 instead of whichever Python version you happen to be
running.

This CL also switches //tools/metrics:histograms_xml to use it
(because it seems to need it) as a proof that it works correctly
and does not regress in a normal (python 2) build.

Bug: 941669, 1118214
Change-Id: I98fbc073cf9443acece3caaae2ed35f9d60c38e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363655
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799909}
GitOrigin-RevId: bfd2cd563d440d8fb3136fe08b84581d968318cf
2020-08-19 18:14:17 -07:00
chromium-autoroll aa2256942c Roll Fuchsia SDK from 0.20200819.1.1 to 0.20200819.3.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I4978cb248d45e82f58fdd92b53a93f4c5fffc2c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2365232
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#799899}
GitOrigin-RevId: 272e41e46bf95a3715d58ee8eecdc4cc86fb850d
2020-08-19 17:57:40 -07:00
Dirk Pranke 7076d3be06 Reland "Rework generated_script handling in MB."
This reverts commit cd69e8f5d2c8477b2a22c73458eca4e718b834ed.

Reason for revert: re-landing with a fix.

Original change's description:
> Revert "Rework generated_script handling in MB."
>
> This reverts commit b05d8793d66d76750d8151598e88fceccebdece6.
>
> Reason for revert: Broke ios full_configs bot. See:
> https://ci.chromium.org/p/chromium/builders/ci/ios-simulator-full-configs/25885
>
> Doesn't look like this change triggered the full_config bots on try.
>
> Original change's description:
> > Rework generated_script handling in MB.
> >
> > It turns out the work I did on the "wrapped_*" targets in
> > gn_isolate_map was somewhat overlapping with the already-existing
> > iOS work to declare things as "generated_scripts". However, the
> > generated_scripts did not include test_env.py.
> >
> > So, this CL rearranges things so that the generated script will call
> > test_env.py, and then we can share logic between the generated_script
> > targets (and every target on iOS and LaCrOS) and use that as the
> > basis for the rest of the work going forward.
> >
> > Bug: 816629
> > Change-Id: I9d55c3f1587defcb599ddf1df838dd9ed5b6a12c
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357917
> > Reviewed-by: Erik Staab <estaab@chromium.org>
> > Commit-Queue: Dirk Pranke <dpranke@google.com>
> > Cr-Commit-Position: refs/heads/master@{#799171}
>
> TBR=dpranke@google.com,estaab@chromium.org,jeffyoon@chromium.org
>
> Change-Id: I94597d58417f7aa76320579ca282293e6b643811
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 816629
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364014
> Reviewed-by: Justin Cohen <justincohen@chromium.org>
> Commit-Queue: Justin Cohen <justincohen@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#799629}

TBR=dpranke@google.com,justincohen@chromium.org,estaab@chromium.org,jeffyoon@chromium.org

# Not skipping CQ checks because this is a reland.

Bug: 816629
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs
Change-Id: I1f481f23ff1f1de991b13f3e5aadf967818c2763
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364696
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#799880}
GitOrigin-RevId: f37639af120bdae188fba18821a089fe798f8be9
2020-08-19 17:05:22 -07:00
Mohamed Heikal 288f9bf6b4 Make doubledown rolled packages private
We should ensure that no new usages of the real targets can be added.

Change-Id: I4999c2257f9aedef38809c4f182f419c8bed058c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357452
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799813}
GitOrigin-RevId: b7098f557444b7780f9e0fa84b9b84c2475153c3
2020-08-19 15:43:11 -07:00
Mohamed Heikal c8df6fe574 [Android] Ignore trailing whitespace in expectation diff-patch lines
We should not care about trailing whitespace in expectation files,
since R8 doesn't either.

Change-Id: Ief57c4c260083f662ca5b791edf7504de2e40428
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363259
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799804}
GitOrigin-RevId: 099807e92294b0d2aafc478319e83b0e666d5056
2020-08-19 15:35:01 -07:00
Ben Joyce 79d8cef662 Fix flakey test_server.
See:
https://bugs.chromium.org/p/chromium/issues/detail?id=946475#c48

I believe the root cause of the flake is trying to test if the server
has been killed by trying to rebind to the port, although my test shows
that the port can get claimed for something else by the system.

Add a process.wait() to ensure server process has terminated and remove
the error from checking the port status. Could do a check on PID status
but system could reassign the PID, so that could lead to the same
flake as before except based on PID instead of port number.

Bug: 946475
Change-Id: I48911fffcab6b592ddf627e5999fc0609e0f0b52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339553
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: benjamin joyce <bjoyce@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799803}
GitOrigin-RevId: 21db61205360d121b6791a6f51ccf9666e899225
2020-08-19 15:32:00 -07:00
Andrew Grieve e922281920 Android: When lint fails, print hint about treat_warnings_as_errors=false
Bug: 1029357
Change-Id: I39cd0de5922bfd583edf203ec6086cbe57d7a99c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363806
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799796}
GitOrigin-RevId: 31c837795d87c99812fb11c5c49a28a24d9842d9
2020-08-19 14:21:20 -07:00
Sean McAllister 04505d96d4 Refactor OS_LINUX preprocessor directive for LaCrOS effort.
Currently, ChromeOS defines the OS_LINUX directive as well as
OS_CHROMEOS.  We're working to separate these two, so we're
making the fact that OS_LINUX == OS_LINUX || OS_CHROMEOS
explicit.

Bug: 1110266
Change-Id: Iebbe654853bebeb4af49c9cb793dae5938416f3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2351374
Commit-Queue: Sean McAllister <smcallis@google.com>
Reviewed-by: Drew Wilson <atwilson@chromium.org>
Reviewed-by: Erik Chen <erikchen@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Becca Hughes <beccahughes@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Mike Wittman <wittman@chromium.org>
Reviewed-by: David Roger <droger@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799710}
GitOrigin-RevId: 0d73ca3d802abb2f3af6eeaa0e830fa7a4c6b0ad
2020-08-19 10:59:21 -07:00
chromium-autoroll 673254b503 Roll Fuchsia SDK from 0.20200819.0.1 to 0.20200819.1.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I11ca61ff56f98115ba70cdc0445876af6bb7d529
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364277
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#799663}
GitOrigin-RevId: 927ec2d7f78de03c5a9027f6e9ed517d655e819c
2020-08-19 09:29:04 -07:00
Sebastien Marchand c89677f783 Make the Linux PGO build use the archived profiles
Bug: 1111437
Change-Id: I20ed7be5fa1b15214b7db7f37527e54cbe101be3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2353492
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Sébastien Marchand <sebmarchand@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799643}
GitOrigin-RevId: 5e903fe1b8b24ed9a79f78d3065d4910a9db82f2
2020-08-19 08:54:59 -07:00
Justin Cohen 638e407424 Revert "Rework generated_script handling in MB."
This reverts commit b05d8793d66d76750d8151598e88fceccebdece6.

Reason for revert: Broke ios full_configs bot. See:
https://ci.chromium.org/p/chromium/builders/ci/ios-simulator-full-configs/25885

Doesn't look like this change triggered the full_config bots on try.

Original change's description:
> Rework generated_script handling in MB.
>
> It turns out the work I did on the "wrapped_*" targets in
> gn_isolate_map was somewhat overlapping with the already-existing
> iOS work to declare things as "generated_scripts". However, the
> generated_scripts did not include test_env.py.
>
> So, this CL rearranges things so that the generated script will call
> test_env.py, and then we can share logic between the generated_script
> targets (and every target on iOS and LaCrOS) and use that as the
> basis for the rest of the work going forward.
>
> Bug: 816629
> Change-Id: I9d55c3f1587defcb599ddf1df838dd9ed5b6a12c
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357917
> Reviewed-by: Erik Staab <estaab@chromium.org>
> Commit-Queue: Dirk Pranke <dpranke@google.com>
> Cr-Commit-Position: refs/heads/master@{#799171}

TBR=dpranke@google.com,estaab@chromium.org,jeffyoon@chromium.org

Change-Id: I94597d58417f7aa76320579ca282293e6b643811
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 816629
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364014
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799629}
GitOrigin-RevId: cd69e8f5d2c8477b2a22c73458eca4e718b834ed
2020-08-19 08:09:47 -07:00
Mark Mentovai e38a7002e4 mac/arm64: Update to Xcode 12b5 (12A8189h)
Change-Id: I795e424390afb6c9c6e77995e21f008e0be15d7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363800
Auto-Submit: Mark Mentovai <mark@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799588}
GitOrigin-RevId: b9ebec3bcb1cabdd1426f367636f54cc98e0500e
2020-08-19 05:59:29 -07:00
Mark Mentovai 615980878b mac/arm64: Compile with -mcpu=apple-a12
The baseline CPU for macOS on arm64 is the Apple A12 (Vortex/Tempest),
and clang should default to this when building for this OS/CPU
combination. Apple clang embedded in Xcode 12 does, but trunk clang does
not, instead targeting the Apple A7 (Cyclone), the proper baseline CPU
for iOS on arm64. https://reviews.llvm.org/D82699 would fix it, but it
hasn't gained any traction. Specify the baseline CPU explicitly here.

Bug: 1107587, 1119249
Change-Id: I2a132b00ef9b5c8262aa24f27a7519d83a3df41a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363772
Auto-Submit: Mark Mentovai <mark@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799582}
GitOrigin-RevId: 2b08317cd0133bb4a2bb2da0a47895f2fe5c75a9
2020-08-19 05:37:07 -07:00
chromium-autoroll c394ece758 Roll Fuchsia SDK from 0.20200818.4.1 to 0.20200819.0.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll
Please CC cr-fuchsia+bot@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:fuchsia-arm64-cast;luci.chromium.try:fuchsia-x64-cast
Tbr: cr-fuchsia+bot@chromium.org
Change-Id: I9bca022b076d513b56d1fd75ab87678558bb6bdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364255
Reviewed-by: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#799546}
GitOrigin-RevId: d8d68438b5854f32c5592395789936364db58f40
2020-08-19 01:47:32 -07:00
Justin DeWitt 384a6ef072 JDK Lib Dexer: Ignore keep file if none is generated.
This checks for the existence of the file and skips adding it
as a parameter if it doesn't exist.

Also removes classes from the prebuilt output jar since they
cannot be actually included in the build - they are required
only for the desugaring step.

Bug: 105675
Change-Id: Ib1e86fb25cb4607a18278446c4b35606f179e076
R: agrieve@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363555
Commit-Queue: Justin DeWitt <dewittj@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799503}
GitOrigin-RevId: 889a439fd73488b1da8096634b62fbb8683c1fe7
2020-08-18 22:16:49 -07:00
Andrew Grieve 4316f4d459 Android: Capture more tombstones in instrumentation tests
When chrome_public_smoke_test has a crash, our test runner does not
notice and so does not collect tombstones.

This changes the "are there tombstones" logic to look for a tombstone
message in logcat rather than looking to see if any tests crashed.

Bug: 1117540
Change-Id: Ic0594f0d8dcb2cb8c7280ade9d8d5133c890614f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363075
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799490}
GitOrigin-RevId: e384305105fd123223d4df97f0b44afb8a337ae7
2020-08-18 21:23:02 -07:00
Hajime Hoshi 8233935da4 Revert "Add -noverify to build commands to improve runtime (local builds only)"
This reverts commit 132e1debe3ff6fe2732b8b612534d7c207651777.

Reason for revert: Android ASAN bot compilation failures: https://ci.chromium.org/p/chromium/builders/ci/Android%20ASAN%20%28dbg%29/26489

Original change's description:
> Add -noverify to build commands to improve runtime (local builds only)
>
> The flag is guarded by treat_warnings_as_errors=false so that it
> will apply only to local developer builds.
>
> Results from //tools/android/build_speed/benchmark.py base_java_sig:
> With change:
> base_java_sig: 68.0s avg (68.8s, 67.2s)
> base_java_sig: 68.4s avg (68.6s, 68.2s)
>
> Without change:
> base_java_sig: 69.4s avg (69.3s, 69.5s)
> base_java_sig: 69.7s avg (69.7s, 69.7s)
>
> time out/Debug/bin/run_base_junit_tests:
> With Change:
> real 0m22.741s
> real 0m23.543s
>
> Without change:
> real 0m23.176s
> real 0m24.328s
>
> Bug: 1117222
> Change-Id: I4bfd742165468bf9538e6fa0dc8f35daa9e0f23f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313299
> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> Auto-Submit: Andrew Grieve <agrieve@chromium.org>
> Reviewed-by: Peter Wen <wnwen@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#799285}

TBR=wnwen@chromium.org,agrieve@chromium.org

Change-Id: I82f411e5dab89c361a30c33e9103bd8561f19765
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1117222
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362493
Reviewed-by: Hajime Hoshi <hajimehoshi@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799471}
GitOrigin-RevId: 17e2a91739763a890f8e80db5689f3bb0b49723a
2020-08-18 20:38:08 -07:00