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

13809 Коммитов

Автор SHA1 Сообщение Дата
Gordana Cmiljanovic d49126c0ee [MIPS] Fix ld.bfd linker issue for mipsel
Adding -Wl,--start-group, -Wl,--end-group so that ld.bfd
can resolve library dependencies in case of Android
component build for mipsel.

Bug: 794486
Change-Id: I9ce1867b614aea51382637bc59aa7c7b8c2adbde
Reviewed-on: https://chromium-review.googlesource.com/823905
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#525039}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71279763dbdd0d8d3a3cb1fb038587ab752ace47
2017-12-19 15:18:23 +00:00
Scott Graham 2ad67f5d1b fuchsia: Move runner shutdown to after flush delay
The delay before VM termination was accidentally moved in
https://chromium-review.googlesource.com/c/chromium/src/+/734128 and so
on fast shutdown the results .json file might not be flushed to the disk
image. This could result in a truncated output.json (see linked bug)
causing bot failures.

Also, unify delay to longer of current values as they're arbitrary
anyway.

TBR=wez@chromium.org

Bug: 796026
Change-Id: Ie8986ec928e37d251571590c9f05b58109df0f1f
Reviewed-on: https://chromium-review.googlesource.com/833757
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524966}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c552dad1797351aa6b54998e2a8fca21d0c07758
2017-12-19 07:47:06 +00:00
Peter Collingbourne 9f00b2f2ee Set $UBSAN_OPTIONS in the LibraryLoader.
We cannot rely on an instrumentation extra to pass the
value of $UBSAN_OPTIONS to Java because some tests, such as
webview_instrumentation_test_apk, do not use "am instrument" to launch
APKs containing native code. The solution is to move the code that
sets $UBSAN_OPTIONS into LibraryLoader and arrange for it to be run
by all clients of LibraryLoader.

There doesn't seem to be a simple way to deduplicate the value of
$UBSAN_OPTIONS between the Java code and the Python code so I've
duplicated it with a comment for now.

Bug: 469376
Change-Id: Iefb225601d5e963efbcd6cb4db8d158bb35afd19
Reviewed-on: https://chromium-review.googlesource.com/826106
Reviewed-by: agrieve <agrieve@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524845}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fd089e85bde7973f62edddc417abadc7cf69f95d
2017-12-18 22:59:26 +00:00
Matthew Cary a371945743 Android: Increase timeout for fetching tests.
This is timing out for me when I use run_chrome_public_test_apk with a filter,
on a nexus 5 device.

There may be a better place to put the timeout, any suggestions welcome :)

Change-Id: Iac12a7843bfa299471ba7b2522de367a82793b5d
Reviewed-on: https://chromium-review.googlesource.com/805136
Reviewed-by: Yoland Yan <yolandyan@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Matthew Cary <mattcary@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524720}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1e934065d2bdb664d1d1042cda9ef8d448bda07f
2017-12-18 16:14:24 +00:00
George Burgess IV 27e343ae28 Add basic clang-based AFDO support.
This patch adds support for clang-based AFDO to Chromium.

AFDO stands for Automatic Feedback Directed Optimization. In short, it
allows you to use the postprocessed output of a special `perf` command
to inform the compiler of hot/cold code, among other things.

This allows users to easily specify a profile to use, and allows for
platforms to specify default profiles. It turns none of this on on its
own.

At the moment, this is very sharp and pointy, since the sample profile
isn't a dependency for anything. Ideally, anything built with AFDO
should depend on the profile. I have a CL to make this easily possible
(CL:827560), but think this is useful enough (given care) to get in now.

(and with clang_use_default_sample_profile set to true). We built
with profiles and failed to `gn gen`, respectively. Patch seemed to be
a nop running on an otherwise "regular" build.

Bug: 794750
Test: Ran the build with and without clang_default_afdo_profile defined
Change-Id: I7b2730d52875f108681232f4d8ce7e82e7570a74
Reviewed-on: https://chromium-review.googlesource.com/828277
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524620}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b822aab9f2aa56d7b34c8b220f37a5debcd3eb33
2017-12-17 09:58:50 +00:00
Tom Anderson 381791448b Fix freetype unbundle
The freetype unbundle build file is out-of-date, and trying to use it
will result in errors like this:

ERROR Unresolved dependencies.
//third_party:freetype_harfbuzz(//build/toolchain/linux/unbundle:default)
  needs //third_party/freetype:freetype_source(//build/toolchain/linux/unbundle:default)

This CL changes the unbundled build file to simply toggle the
use_system_freetype flag.

R=thestig@chromium.org
CC=phajdan.jr@chromium.org

Change-Id: If38ccc51098857cd479707879562b23f8f32e85f
Reviewed-on: https://chromium-review.googlesource.com/830974
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524535}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a7b961302726f6accc1d70682017b6c36127ae7a
2017-12-16 00:19:13 +00:00
Tim Brown 1a72f99184 Remove gconf and dconf from install deps
Also update the "Notes for other distros" in the build instructions.

All usages of gconf has been removed, and we depend on gsettings, not
dconf directly.

This is the final step in switching from gconf to gsettings.

Bug: 768027
Change-Id: I4430c261ac2c9691838e7dfe9c0d7c6842fa535f
Reviewed-on: https://chromium-review.googlesource.com/831106
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tim Brown <timbrown@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524503}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 36312fccc6b5f9bba0fa427d6b9756daad3b94e6
2017-12-15 22:56:20 +00:00
Bruce Dawson faea547f4f Repackaged VS 2017 with updated Debuggers
Due to bugs in the Fall Creators Update SDK we can't build Chromium with
clang with that SDK. However the debuggers package (windbg and friends)
in the "spring" Creators Update SDK can't handle fastlink PDBs reliably.

So, this repackages the previous toolchain with the debuggers package
from the Fall Creators Update SDK.

This makes no difference to the builds, although it does mean that an
updated copy of dbghelp.dll will be copied to the build directories.

I created this package by manually copying over the new debuggers
directory and then running:

    python package_from_installed.py --repackage=...

Bug: 773476
Change-Id: I05b37d518e3700e125eee5bbcb2cbf885d01afc5
Reviewed-on: https://chromium-review.googlesource.com/827629
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524481}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ecef9073a76e802f1989dfc87749f4da0f2722ed
2017-12-15 22:06:00 +00:00
Tim Brown 0aff8f378e Remove gconf and dconf from sysroots
Bug: 768027
Change-Id: Idf3e65c743e79b27e189a3ce4cb7f7e675a9fd03
Reviewed-on: https://chromium-review.googlesource.com/830812
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Tim Brown <timbrown@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524474}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2bede458a4744fdf465620afd871a2f3c892266b
2017-12-15 21:52:17 +00:00
Frank Henigman 2f3b6e8ce9 Make gypi_to_gn skip target_defaults sections.
Add 'target_defaults' to the list of top level keys ignored by gypi_to_gn.py
so it can process files that contain that.

BUG=795329

Change-Id: I3733a7efb97366827febf87ec1be95ad8723be23
Reviewed-on: https://chromium-review.googlesource.com/830114
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524449}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f1d7d41d5aec7d6562f94544675f90eb4e915f44
2017-12-15 20:19:18 +00:00
Vadim Shtayura 85765be335 Potential fix for the failing Fuchsia SDK update hook.
It appears using external process to write to a file we hold an open handle for
isn't 100% reliable (I suspect we need an fsync somewhere or maybe gsutil is
doing 'mv' somewhere and writes to another inode, or something like that).

Reopening the file before reading from it fixes the bug, at least locally for
me.

R=scottmg@chromium.org, kbr@chromium.org
BUG=795330

Change-Id: I498540ec62439c02243b84a5577c4b225ba5e1f3
Reviewed-on: https://chromium-review.googlesource.com/830257
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524439}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 48fdf63300aae84f8159c22831df8cff24b5d984
2017-12-15 19:45:35 +00:00
Tom Anderson bb86bde677 Statically link fontconfig on Linux
This CL switches Linux to use in-tree fontconfig builds.  It exposes some leaks
and races detected by LSAN and TSAN.  For now, these will be suppressed since
these issues were preexisting, but instrumenting fontconfig exposed the issues.

R=dnicoara@chromium.org,dpranke@chromium.org
BUG=795110,795148

Change-Id: Ia75db4ced6ec78a5f0610af9ebc78a87840b86f7
Reviewed-on: https://chromium-review.googlesource.com/826403
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Reviewed-by: Daniel Nicoara <dnicoara@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524389}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4f1a60552748d150783655ee6f7b6f7084e3af95
2017-12-15 15:53:31 +00:00
Albert J. Wong 097c79babc Revert "Enable frame pointers on arm32."
This reverts commit 8c29b757124e1ceb921ad61d023b6b741eda92d4.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Enable frame pointers on arm32.
> 
> LLVM fixed the bug where framepointers were not located next to the return
> address in thumb mode. https://bugs.llvm.org/show_bug.cgi?id=18505
> 
> With that fix, enabling framepointers on arm32 bring it in line with other
> build configurations and allows for better stack traces.
> 
> Bug: 786450
> Change-Id: I01a1c9f82fac22b2bbc15c6f52deed8aca7263ea
> Reviewed-on: https://chromium-review.googlesource.com/826255
> Reviewed-by: Brett Wilson <brettw@chromium.org>
> Commit-Queue: Albert J. Wong <ajwong@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#524127}

TBR=ajwong@chromium.org,brettw@chromium.org

Change-Id: Ie327529394021473cfffd0ee80baecce4bd83e2a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 786450
Reviewed-on: https://chromium-review.googlesource.com/828607
Reviewed-by: Albert J. Wong <ajwong@chromium.org>
Commit-Queue: Albert J. Wong <ajwong@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524337}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f4bb44bdd8d3cee8685dfe08851383bbfba13535
2017-12-15 05:39:30 +00:00
Sergey Ulanov 099f2e9b9e Enable WebRTC on Fuchsia by default.
1. Updated BUILD.gn for usrsctp to pass correct build flags
   on Fuchsia.
2. Enabled WebRTC on Fuchsia.
3. Updated 2 unittests for Fuchsia.

Bug: 750940
Change-Id: I922aa74ca17c542a9b1ca53b60763d8130406f9e
Reviewed-on: https://chromium-review.googlesource.com/817947
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Taylor Brandstetter <deadbeef@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524296}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 792e646b22c5a9bf50d681f75f0421e5b8086c0f
2017-12-15 02:27:25 +00:00
agrieve a1348693f5 Revert "Reland Use Aapt2 for final apk resource packaging"
This reverts commit f174f4deb83b28f63a30813241c2f279c4a99440.

Reason for revert: Breaks apk_merger.py (see bug)

Original change's description:
> Reland "Use Aapt2 for final apk resource packaging"
> 
> This reverts commit db213ff641175f136d52a577e21690f7f955f0bd.
> 
> Reason for reland: Downstream issue fixed. No changes here.
> 
> This CL makes aapt2 perform the final resource processing and packaging for an
> apk as well as outputting proguard files.
> 
> TBR=agrieve
> 
> Bug: 782316
> Change-Id: I1b35f49f2e4b4d503cc7ae07dabc18d9014abea5
> Reviewed-on: https://chromium-review.googlesource.com/817377
> Reviewed-by: agrieve <agrieve@chromium.org>
> Commit-Queue: agrieve <agrieve@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#523456}

TBR=tedchoc@chromium.org,agrieve@chromium.org,ctzsm@chromium.org,mheikal@chromium.org

Bug: 782316
Change-Id: Idd57f012b1bc32330c9659e9d63fba5eec27615d
Reviewed-on: https://chromium-review.googlesource.com/827900
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524210}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c63b9f7306ee851fdb7f6785f1a682b3611385db
2017-12-14 22:40:55 +00:00
Mohamed Heikal f25baa3187 Android: Fix compile with enable_incremental_javac=true
Bug affects java targets with no deps.

Change-Id: I3b85d3a1affcdf9996743d9ff6bf304753af992c
Reviewed-on: https://chromium-review.googlesource.com/827726
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524201}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 95ba5b0d44f5f87fffef655da958022b70ac0001
2017-12-14 22:05:14 +00:00
Kenneth Russell 9ce5ae8391 Use test-launcher-filter-file instead of gtest-filter-file.
Studying the code in src/build/android/test_runner.py and related
files (like test_instance_factory and gtest_test_instance), there were
no dependencies on this specific argument's name. Change to use the
standard one so that Android works the same as the other platforms.

BUG=794767

Change-Id: I22f3eea9cb9d1029b778b1d4a878d0e74dc6449c
Reviewed-on: https://chromium-review.googlesource.com/826490
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524177}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bb29325c1aedbb530110644fd38430a905af1b96
2017-12-14 21:13:34 +00:00
Nico Weber dcb3faa137 win/cross: Allow building 64-bit chrome/win on Mac hosts.
64-bit builds have been working for a while now.
32-bit chrome/win still cannot build on Mac hosts due to bug 794838.

TBR=brettw

Bug: 774209,794838
Change-Id: I762853e7e5d2b4470642402e8b585dfe8f84b53e
Reviewed-on: https://chromium-review.googlesource.com/826010
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524129}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ce96b47065492432a419a12ee14ed2bf3ee59084
2017-12-14 18:52:31 +00:00
Albert J. Wong 7a787ebb8b Enable frame pointers on arm32.
LLVM fixed the bug where framepointers were not located next to the return
address in thumb mode. https://bugs.llvm.org/show_bug.cgi?id=18505

With that fix, enabling framepointers on arm32 bring it in line with other
build configurations and allows for better stack traces.

Bug: 786450
Change-Id: I01a1c9f82fac22b2bbc15c6f52deed8aca7263ea
Reviewed-on: https://chromium-review.googlesource.com/826255
Reviewed-by: Brett Wilson <brettw@chromium.org>
Commit-Queue: Albert J. Wong <ajwong@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524127}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c29b757124e1ceb921ad61d023b6b741eda92d4
2017-12-14 18:48:00 +00:00
Benoit Lize cc75159861 tools/cygprofile: use compact (bare) instrumentation.
https://chromium-review.googlesource.com/c/chromium/src/+/823219 rolled
clang past the revision including -finstrument-function-entry-bare. This
reduces the instrumentation size and runtime overhead.

Use this new instrumentation when possible.

Size of libchrome.so:
Before: 67MB
After: 55MB
No Instrumentation: 47MB

Bug: 776702
Change-Id: I74bea84e7e6b0fa98c841ce0f2c492b6a7a7e31f
Reviewed-on: https://chromium-review.googlesource.com/826623
Reviewed-by: agrieve <agrieve@chromium.org>
Reviewed-by: Matthew Cary <mattcary@chromium.org>
Commit-Queue: Benoit L <lizeb@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524124}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c99c3dbef26ab8b853524b889bfd5dec815a2dc
2017-12-14 18:40:21 +00:00
Tim Brown 80568ad48f Remove use_gconf build flag
All usages of gconf have now been removed, so we can remove the build
flag too. After this, I will remove gconf from the instrumented
libraries, sysroots, and install-build-deps.sh.

Bug: 768027
Change-Id: Idf5e8d60da387b3287f875092feba488217ca642
Reviewed-on: https://chromium-review.googlesource.com/826046
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tim Brown <timbrown@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524120}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a28f4d062f4c030eeddd085f261988d7958db2ba
2017-12-14 18:32:18 +00:00
Eric Stevenson 5c356ed4b3 Android: Update reference apks for M64.
Bug: 
Change-Id: Ia17a468fdbb5b70ddac99594aa2c2a9903b55a4f
Reviewed-on: https://chromium-review.googlesource.com/825103
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524104}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4369dcf4b2f5fdb454c362c9fd3dd18b230dfcb8
2017-12-14 17:40:31 +00:00
Eric Stevenson 78a5463099 Android: Add bytecode rewriting for Resources.getIdentifier().
The default implementation simply calls the original method.

Bug: 793816
Change-Id: I2ac147d5318d6a04db2d9cec46659d574383b005
Reviewed-on: https://chromium-review.googlesource.com/824722
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524092}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 153b61d50d98c6847261ca2a33b69ded7cd0423e
2017-12-14 17:05:39 +00:00
Peter Collingbourne 9caf5bf8b5 Add missing native executable data dependency.
Bug: 794506
Change-Id: I0f608a3cd56fac963a5bb225f6e7096a6677e850
Reviewed-on: https://chromium-review.googlesource.com/826242
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523967}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5197c0d08a8b3a5512a28e7b3cd7ae6987d1bff1
2017-12-14 01:19:36 +00:00
Nico Weber ccb835d617 Update prebuilt rc binary.
CL created by running build/toolchain/win/rc/upload_rc_binaries.sh
Picks up 76cb2fde80

Bug: 794598
Change-Id: I1a735b761f2cb14cb8f2f44276af373f9e2acf5e
Reviewed-on: https://chromium-review.googlesource.com/825003
Commit-Queue: Hans Wennborg <hans@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8e611f8193870af6243afe04c8845c2dda01b752
2017-12-13 22:16:15 +00:00
Peter Collingbourne cb6135c739 Use the correct name for the ubsan shared library on arm64 and x86.
Bug: 469376
Change-Id: I086065150aa9da53657210fb7d5ac8e00f8e1b40
Reviewed-on: https://chromium-review.googlesource.com/825363
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523883}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 01730b27fb8caef04744be66f38593d4006fcce4
2017-12-13 21:24:33 +00:00
Benjamin Pastene 8e3656b64a android: Change name of result_details link for swarming tests.
Bug: 785055
Change-Id: I9441eaa8d0b8a4eec253d4199045f6fc0ece9126
Reviewed-on: https://chromium-review.googlesource.com/812207
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Benjamin Pastene <bpastene@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523869}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2279adad772a0fae6551d7d2bcaba4ec7a16ae02
2017-12-13 20:51:44 +00:00
Sergey Ulanov e30b870d1b [Fuchsia] Bugfixes in stacktrace handling
1. Updated the max limit on number for entries in link map when
   reporting a stack trace from 64 to 512. 64 is not enough, e.g.
   component builds of content_unittests load 158 libs.
2. Fixed the code to handle the case when the limit is reached
   Previously that code was using sizeof() to get array size.
3. Update regex in runner_common.py to handle the case when pc_offset
   part is missing.

Bug: 706592
Change-Id: Iededea88c86206b247948c789043c4f4dfd8a8d9
Reviewed-on: https://chromium-review.googlesource.com/815155
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523847}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 449cb549b0e6e5c0863971443c609f08a280ae9e
2017-12-13 19:41:03 +00:00
Edward Lemur f570f48bb4 Add support to extract ChartJSON test results from android devices.
Add a '--chartjson_result_file' flag to extract ChartJSON test results from
android devices.

R=jbudorick@chromium.org

Bug: webrtc:8566
Change-Id: I050d1f714471a5525e91d36d1e792815cb4578ae
Reviewed-on: https://chromium-review.googlesource.com/819831
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523758}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e627ef8b73fb4abab2094c2c420329c8cc1b8925
2017-12-13 13:00:33 +00:00
Peter Collingbourne 3d922345f7 Only add runtime dependencies to the ordered libraries list.
We cannot find library dependencies to add to a target's ordered
libraries list by searching the build directory because the build
directory may contain libraries that appear to be dependencies but are
in fact unrelated libraries that share a name with a system library
that the target depends on. For example, we may be building a target
that depends on the system's libGLESv2.so, and the build directory may
contain a library named libGLESv2.so as a result of building ANGLE. The
resulting APK would try to load libGLESv2.so using the crazy linker,
which might fail to load the system's library.

The solution is to use GN's write_runtime_deps feature to export the
runtime dependency list from the build system and create an ordered
libraries list from that.

Bug: 742655
Change-Id: Ifdbf3de6b78b56af22dbfe0d12d80db5a48fe9db
Reviewed-on: https://chromium-review.googlesource.com/821600
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523675}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 66205b643e9c51fe1fffce934e62ff4f8da32063
2017-12-13 03:39:49 +00:00
Andrew Grieve f08259ea5c Android: Remove unused flags from javac.py
Change-Id: Ib728cbcbd24fb421f57e15bde05e29a6c6a80b12
Reviewed-on: https://chromium-review.googlesource.com/822810
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523655}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 21ca1911d4d1bde0a2e13086700dd60fd47f3be4
2017-12-13 02:19:29 +00:00
Mohamed Heikal c7fe458fda Reland "Use Aapt2 for final apk resource packaging"
This reverts commit db213ff641175f136d52a577e21690f7f955f0bd.

Reason for reland: Downstream issue fixed. No changes here.

This CL makes aapt2 perform the final resource processing and packaging for an
apk as well as outputting proguard files.

TBR=agrieve

Bug: 782316
Change-Id: I1b35f49f2e4b4d503cc7ae07dabc18d9014abea5
Reviewed-on: https://chromium-review.googlesource.com/817377
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523456}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f174f4deb83b28f63a30813241c2f279c4a99440
2017-12-12 17:02:00 +00:00
Wez e796de3d7c Disable stripping of binaries, and fix --dry-run.
Stripping binaries entirely before shipping them to swarming clients to
be run prevents us from symbolizing stack traces. Since the effect on
binary & bootfs size is not all that great for Release, nor for Debug
component builds, disable stripping entirely for now.

Bug: 792521
Change-Id: Ie9031e26dcd9f77ee17e5bb3648f0ad13839f61f
Reviewed-on: https://chromium-review.googlesource.com/818505
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523222}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e1e1c872d3e7c9af677673b493e209b3cb845e8c
2017-12-11 21:53:22 +00:00
Tom Anderson bf7b21f19d install-build-deps: Check for newer packages first
Comment [1] explains that libssl1.0.0 can be manually installed on systems that
are expected to have libssl1.0.2.  In this case, libssl1.0.0 will appear to be
available in the repos when it is not.

The fix is to check for newer packages first.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=785818#c13

BUG=785818
R=dpranke@chromium.org

Change-Id: I52a69adc5271b5485f7d09aabd1a01a24ff10352
Reviewed-on: https://chromium-review.googlesource.com/819976
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523195}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0524b2b7b70eff655189206acfb599fe9b27c40d
2017-12-11 20:39:18 +00:00
Conley Owens cd9f768ff7 build: Add Garuda TTF fonts to build deps
Debian builds require this package to be installed in order to build.

Change-Id: I6066fb1f3a39842ec076ec82495f0a44a2e17e93
Reviewed-on: https://chromium-review.googlesource.com/817649
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Conley Owens <cco3@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523139}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3aeec4449b15c08e97037cb6caf7eb31ac2c3b2e
2017-12-11 18:15:36 +00:00
Andrew Grieve 870ada3bd2 Android: Better support for Annotation Processors.
This introduces a dedicated template for defining and Annotation
Processor: java_annotation_processor().

Libraries can use them via:
  annotation_processor_deps = [":processor_target"]

We now explicitly pass a --processorpath to javac, and always path both
--interface-classpath and --classpath to javac.py. The
interface-classpath is always written to the depfile, but the normal
classpath is passed to javac when one or more annotation processors are
enabled.

Due to the added build_config complexity this brings, android_apk's
build_config is now written by java_library_impl(), and no more
override_build_config support exists.

Bug: 792170
Change-Id: Ieebfa943615b9495010900c0a7be2b1ed9839a98
Reviewed-on: https://chromium-review.googlesource.com/817617
Commit-Queue: agrieve <agrieve@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523109}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bc0688555c7e9c33ac5cb9030940238591fe9d7a
2017-12-11 16:33:04 +00:00
Peter Wen 252013bb9e Android: Fix race condition in apkbuilder
Rather than create the output directory in apkbuilder.py, add it to the
gn target's output for gn to create it automatically.

Bug: 792534
Change-Id: I3de087be4839e917b4308c38016da3b783668a96
Reviewed-on: https://chromium-review.googlesource.com/815355
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523103}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 40a260125252553a344e5ba748c232d03285705d
2017-12-11 15:40:50 +00:00
Bruce Dawson ca599b072b Adjust jumbo_file_merge_limit for goma
Jumbo builds reduce the total amount of CPU time used for compilation,
but they reduce parallelism. On machines with a modest number of cores
this is pure win, but on massively parallel builds this reduces the
benefits of jumbo. This change tweaks jumbo_file_merge_limit to a much
lower number when doing goma builds. This should also improve the
performance of incremental builds.

Testing was done with various merge limits while building chrome and
webkit_unit_tests and 8 was found to give the best combination of
elapsed-time full build performance and incremental build performance.
As expected the total CPU time spend compiling (and linking) goes up
when using a lower jumbo_file_merge_limit, but the wall clock time drops
(on goma builds). A merge limit of 10 may give slightly faster full
builds, but risks longer incremental builds. The exact number is not
critical but this is definitely in the right range, and much better than
the default of 50.

Testing suggests that jumbo goma builds will now take about 20% less
time than non-jumbo goma builds. goma builds with the old jumbo settings
were somewhere in-between. Results will improve as jumbo grows.

All testing was done on Windows with clang and is assumed to be
sufficiently applicable to other platforms.

Bug: 787983
Change-Id: I4e26341a5b224011d1401efa4563fcf2b53c969c
Reviewed-on: https://chromium-review.googlesource.com/814896
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523004}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 396e35d38515d055988c7ad3d3ea43d68769b91f
2017-12-09 18:08:40 +00:00
Yaron Friedman d1735e8e2f Clean up OWNERS files.
zpeng has left the project :(

Change-Id: Iee9724b5063b23ede4e9aa33a5430b9a30a3d32e
Reviewed-on: https://chromium-review.googlesource.com/817678
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522832}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 16ba36d068f31cf13c7500516637327597667986
2017-12-08 19:02:39 +00:00
John Budorick 29aeaba1f7 [android] Fix minor bugs in --trace-all.
This CL:
 - disables tracing in subprocesses, which was causing occasional hangs
 - stops tracing at env teardown time

Bug: 791632
Change-Id: Iaa6cda1f1adcaa1f4cccd7ef147c944e63bdc689
Reviewed-on: https://chromium-review.googlesource.com/816061
Reviewed-by: Benjamin Pastene <bpastene@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522820}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ce8da4e667fcf61dbcc9d45e82188249d42c3ba9
2017-12-08 18:04:27 +00:00
Peter Collingbourne fb11cfaaaa Reland r522393, "Set $UBSAN_OPTIONS during executable tests and disable UBSan's signal handlers."
This reland prevents the environment variable from being set when
asan is enabled because asan also reads this variable, and we should
not override its defaults.

Bug: 469376, 792905
Change-Id: I5bfaee392ad39a03ed2e5f6d16965dae929733de
Reviewed-on: https://chromium-review.googlesource.com/816598
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522802}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 45e1654501f6bd0f407b0ff03dba54f48650f860
2017-12-08 17:09:20 +00:00
Daniel Bratell 264dc4b6d2 [jumbo] Ignore some more file types people put in sources lists
*.js and *.css files (used in //extensions) are not dangerous
to have in sources lists so silently let them be.

Bug: 787836
Change-Id: I8dc2c16505594ed5342cad008dc1ca8b5a499b73
Reviewed-on: https://chromium-review.googlesource.com/814554
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Daniel Bratell <bratell@opera.com>
Cr-Original-Commit-Position: refs/heads/master@{#522731}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6e004f6a753bbf3480974058f4c549e93a2babfc
2017-12-08 07:10:30 +00:00
Peter Collingbourne d47dc27e4b Revert "[Reland] Use llvm symbolizer for stack script."
This reverts commit b2754af2ed37b2bf30efac6234fcecbdd941c4bb.

Reason for revert: Caused the step stack_tool_with_logcat_dump to start failing on cronet bots.

Original change's description:
> [Reland] Use llvm symbolizer for stack script.
> 
> llvm symbolizer is a more efficient symbolizer than addr2line, objdump,
> etc.
> 
> In this cl, I 1)created a wrapper instance to interact with
> llvm symbolizer, 2)made the stack script to use llvm symbolizer instance,
> and then 3)added llvm symbolizer into isolated inputs.
> 
> Bug: 774267
> Change-Id: I43d305b4c0c94be614ee4cad35b40f04b3d3ae20
> Reviewed-on: https://chromium-review.googlesource.com/810007
> Reviewed-by: John Budorick <jbudorick@chromium.org>
> Reviewed-by: agrieve <agrieve@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Commit-Queue: Zhiling Huang <hzl@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#522520}

TBR=dpranke@chromium.org,agrieve@chromium.org,hzl@chromium.org,jbudorick@chromium.org

Change-Id: If4e9f5618f62a5ed2a4d3152af6b18dbc748b1f8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 774267
Reviewed-on: https://chromium-review.googlesource.com/816257
Reviewed-by: Peter Collingbourne <pcc@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522711}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6e6e84820c83c331f13add5fc62b8ee439bd10f0
2017-12-08 04:21:11 +00:00
Peter Collingbourne 404c19d762 Use $GTEST_FILTER as a default test filter in the Android test runner.
This allows swarming users to set a gtest filter using
"-e GTEST_FILTER foo".

Bug: 
Change-Id: I3b6ec960418d292f47f243cba145334d041bdcca
Reviewed-on: https://chromium-review.googlesource.com/816024
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522701}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5b6975e12c7531505aa35f83110bedd8d48e588b
2017-12-08 03:35:27 +00:00
Eric Stevenson 9e452e01fc Android: Clean up process_resources post processing.
The if(defined()) guards are no longer necessary.

Bug: 762130
Change-Id: I29c800b6a5a080414f1ea4d7ea39b5659dc078f4
Reviewed-on: https://chromium-review.googlesource.com/815634
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522693}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c3cdba686d206e240cfb4d3b5eab6e19d0bce915
2017-12-08 03:09:57 +00:00
Tim Brown 7ed908532b Update usage of GSettings in proxy config on linux
We were using a deprecated API to determine the existence of a schema,
and we were lazy loading the libgio library in case a distro doesn't
have the library.

All supported distros have libgio and support the new API, hence I fixed
both.

Test: Forced use of GSettings (see patch 1 - I use i3) and watched
chrome: //net-internals#proxy while I changed gsettings
Bug: 768027
Change-Id: Id9a3b157723c0b34e69b5b4eadcce1a7048b8636
Reviewed-on: https://chromium-review.googlesource.com/812471
Commit-Queue: Tim Brown <timbrown@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522686}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c307cc3013b72f716ac0ddd83373818f6d6e1ee
2017-12-08 02:40:38 +00:00
Sergey Ulanov 163a02b039 Implement OCSP server support in RemoteTestServer.
Previously OCSP was broken with RemoteTestServer because OCSP server
port wasn't proxied.
 1. Updated testserver.py to accept --ocsp-proxy-port-number argument
    which makes it possible to generate correct cerificate for the
    proxied connection.
 2. Updated chrome_test_server_spawner.py to forward oscp server port.
 3. Updated RemtoeTestServer to proxy OCSP connection.
 4. Enabled OCSP tests on Fuchsia where they were previously failing.

Bug: 776575, 792300
Change-Id: Iedb1f5b26fc29ad0c73e78f450cd49335a424c18
Reviewed-on: https://chromium-review.googlesource.com/810096
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522634}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ee7c8db6b554120fb28385f8759695048f1d8612
2017-12-08 00:18:39 +00:00
Max Moroz 4588e60633 Revert "Migrate to -fsanitize=fuzzer-no-link when use_fuzzing_engine=true."
This reverts commit c1406d52464e16da16aae9cb189c4f28e6412358.

Reason for revert: The builds are failing on linking of some fuzzers: https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.fyi%2FLibfuzzer_Upload_Linux_ASan%2F7088%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout

Original change's description:
> Migrate to -fsanitize=fuzzer-no-link when use_fuzzing_engine=true.
> 
> -fsanitize=fuzzer and -fsanitize=fuzzer-no-link are two compilation
> flags that enable coverage instrumentation needed for libFuzzer.
> 
> The instrumentation has more stuff under the hood compared to
> -fsanitize=trace-pc-guard. Also, it can be changing over time
> without a need to update GN flags again and again (e.g. move from
> edge to trace-pc-guard or something like that).
> 
> Bug: 764514
> Change-Id: I48ef328dee49a9620a1b44bd5cd920f116e1bc1b
> Reviewed-on: https://chromium-review.googlesource.com/802395
> Commit-Queue: Max Moroz <mmoroz@chromium.org>
> Reviewed-by: Oliver Chang <ochang@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#522505}

TBR=kcc@chromium.org,inferno@chromium.org,dpranke@chromium.org,ochang@chromium.org,mmoroz@chromium.org

Change-Id: I86f316ba7b13c6cb015a3245e3860047ab4859ea
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 764514
Reviewed-on: https://chromium-review.googlesource.com/815460
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Commit-Queue: Max Moroz <mmoroz@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522615}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8181cec6f208b34465eaacb64e247a1fcce9bcd6
2017-12-07 23:35:41 +00:00
Peter Collingbourne 614dbec76f Revert "Set $UBSAN_OPTIONS during executable tests and disable UBSan's signal handlers."
This reverts commit d47b98b28e50b303181dc5e4122deda25cce6fbb.

Reason for revert:
Suspected to cause test failures on cronet bots.

Original change's description:
> Set $UBSAN_OPTIONS during executable tests and disable UBSan's signal handlers.
> 
> The signal handlers interfere with the breakpad and sandbox tests, so
> we need to disable them there. We will also want to use the same set of
> UBSan options during executable tests as we do during instrumentation
> tests, so move the $UBSAN_OPTIONS value into the test harness, and
> pass it into the instrumentation test runner using a string extra.
> 
> Bug: 469376
> Change-Id: I76ffdd4a8221a54a23e257ac4d2321b8f28d2f42
> Reviewed-on: https://chromium-review.googlesource.com/812982
> Reviewed-by: John Budorick <jbudorick@chromium.org>
> Commit-Queue: Peter Collingbourne <pcc@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#522393}

TBR=pcc@chromium.org,jbudorick@chromium.org

Change-Id: Icb1a52726e7ec971d7d3a158fd91a5c052008269
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 469376, 792905
Reviewed-on: https://chromium-review.googlesource.com/815545
Reviewed-by: Peter Collingbourne <pcc@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522589}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 547f308ad62690009af97c05f760861be6bca55e
2017-12-07 22:54:07 +00:00
Justin Cohen 7f191de4cf [ios] Roll hermetic to Xcode 9.2.
Bug: 
Change-Id: I2f49105035442649e4f1c18e5753fc9aabdbef8f
Reviewed-on: https://chromium-review.googlesource.com/807104
Reviewed-by: Sergey Berezin <sergeyberezin@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#522547}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 316396117b2b4fc425ef5dcb037bda6e0f74c238
2017-12-07 21:18:14 +00:00