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

13960 Коммитов

Автор SHA1 Сообщение Дата
Yuke Liao 6491c4c2c8 [Coverage] Enable experimental limited code coverage
This CL sets -limited-coverage-experimental=true to allow building
large unit test target on Mac.

Bug: 796290
Change-Id: Ief6277ae2ea3d4e1372c4fd796e97c2a1ae0bfba
Reviewed-on: https://chromium-review.googlesource.com/891799
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Abhishek Arya <inferno@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532700}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e9592c502eefc7101342bf97f0606f94e1ae612e
2018-01-30 00:47:42 +00:00
Takuto Ikuta 3a9104c590 Allow more concurrent link for linux_chromium_rel_ng builder
I took peak memory usage stats for top3 largest binary link using the same args.gn with linux_chromium_rel_ng.
229MB chrome: 2.22 GB peak memory
260MB browser_tests: 2.56 GB peak memory
258MB unit_tests: 2.57 GB peak memory

So 3GB is sufficient.

This will help to speed up build like below.
https://ci.chromium.org/buildbot/tryserver.chromium.linux/linux_chromium_rel_ng/634117
ninja trace: https://chromium-build-stats.appspot.com/ninja_log/2018/01/29/slave645-c4/ninja_log.slave645-c4.chrome-bot.20180129-023145.30339.gz/trace.html
Some newlib_pnacl related binary prevent mksnapshot to be linked due to small link pool and many targets indirectly depends on mksnapshot.


Change-Id: I7c58aec10949c350bbce0a97704048caf44f5b96
Reviewed-on: https://chromium-review.googlesource.com/891043
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#532662}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 848e109661ef338dedcd8d2d59f281308b9ec1c9
2018-01-29 23:42:32 +00:00
Peter Wen a4cc971795 Android: Raise ParameterName to errorprone error
This warnings should always be fixed in new code.

Bug: 801256
Change-Id: I6089a070efc7a5dfa276417f6035b3109e5dc565
Reviewed-on: https://chromium-review.googlesource.com/891483
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532659}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 095cd3d1f6db28683d7379834d5b7663f385a128
2018-01-29 23:40:08 +00:00
Troy Hildebrandt 304639c8b3 Removes suppression of API Level 19 Lint warning for AssertionEror.
Bug: 805509
Change-Id: Iff8178c0bc707da7c33b38f940cf6ca3fa19f994
Reviewed-on: https://chromium-review.googlesource.com/887293
Commit-Queue: Troy Hildebrandt <thildebr@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532644}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d27b2eb8c431f0b6b5567d474de2e9fe47707b7
2018-01-29 22:59:46 +00:00
Peter Wen 33dd9b84fd Android: Stop enforcing deprecation and unchecked
No longer enforce full deprecation and unchecked warnings by commandline
flags to javac. Greatly reduce verbosity of build output.

BUG=805906

Change-Id: I20ac2f56d9bfa5ed946789373eae536089e7506e
Reviewed-on: https://chromium-review.googlesource.com/887001
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532573}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4fc13c1a11a16b219aec364293316ba4df17bfee
2018-01-29 20:37:24 +00:00
Kevin Marshall 41d87421c2 Reland "Build Fuchsia packages for test and executable targets."
This is a reland of b2b018c5a98218a3c08ad090fc38d20826eaee77.

Original change's description:
> Build Fuchsia packages for test and executable targets.
> 
> All targets that use the test() or fuchsia_executable_runner rules
> will produce Fuchsia packages, which contain the test executable and
> their runtime dependencies.
> 
> The packages are modules which can be deployed in an already-running
> system, as opposed to the current scheme which bakes the files into
> the system boot image.
> 
> Deployment and support for dynamic libraries will be addressed
> in followup CLs.
> 
> This CL also:
> * Fixes PathService logic for packaged invocations.
> * Adds a new "build_manifest.py" GN helper script.
> * Fixes the dependency graph for Fuchsia runner script generation
>   so that it accurately captures the real dependency ordering.
> 
> 
> Bug: 796779
> Change-Id: I4e3a38e0075573b328ad98425cc493e28cff1ca4
> Reviewed-on: https://chromium-review.googlesource.com/841749
> Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
> Reviewed-by: Wez <wez@chromium.org>
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#531288}

Bug: 796779
Change-Id: I8c365a51abb49c2542aec8f66073e7fb7217cf75
Reviewed-on: https://chromium-review.googlesource.com/886982
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532537}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f35fa5ff8934ea9bf06b45337c5168e12265fce9
2018-01-29 19:24:42 +00:00
Brett Wilson d294f11061 Remove brettw from owners files.
Removes myself from all owners files except tools/gn.

Replace myself with dpranke for owners of BUILDCONFIG.gn

TBR=jam@chromium.org

Change-Id: I015c6724ba04c07a9954107e1f5319ff3ef480ce
Reviewed-on: https://chromium-review.googlesource.com/891669
Reviewed-by: Brett Wilson <brettw@chromium.org>
Commit-Queue: Brett Wilson <brettw@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532534}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c466dc805f8aa911524deee91e49e534f69ada03
2018-01-29 19:20:12 +00:00
Peter Wen 5ab15660e1 Reland "Android: Remove unused strings"
Original CL: https://chromium-review.googlesource.com/886863

Fix:
- Suppress unused resources for clank/ widgets

BUG=799070,806060
TBR=nyquist@chromium.org,twellington@chromium.org

Change-Id: Id42c5a626f4a0754bea3d4db7a10af9756c0002d
Reviewed-on: https://chromium-review.googlesource.com/891339
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532516}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 694bf0eb3c5de0a290054716b548e4cadf9284ee
2018-01-29 18:54:57 +00:00
Peter Wen fefbfd6787 Revert "Android: Remove unused strings"
This reverts commit 78988928ff8dd13b8fd16017c617ee5ad76c7cd8.

Reason for revert: Broke clank downstream unused resources

Original change's description:
> Android: Remove unused strings
> 
> Update suppressions from android_tools upgrades resulting in unused
> resources (mostly strings) being left behind after their feature is
> removed.
> 
> Also update some suppressions as expected.
> 
> BUG=799070,806060
> TBR=nyquist@chromium.org
> 
> Change-Id: I30d35320ad20b318a921972529f139b3b3e65453
> Reviewed-on: https://chromium-review.googlesource.com/886863
> Commit-Queue: Peter Wen <wnwen@chromium.org>
> Reviewed-by: Peter Wen <wnwen@chromium.org>
> Reviewed-by: Theresa <twellington@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#532433}

TBR=nyquist@chromium.org,wnwen@chromium.org,twellington@chromium.org

Change-Id: I0681082ac3fdfe80d1ad6f3ba182e81f75678dce
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 799070, 806060
Reviewed-on: https://chromium-review.googlesource.com/890660
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532458}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4719ef1a70a4f19bf8546d124e684074450f5985
2018-01-29 16:42:04 +00:00
Peter Wen 70dce30fdd Android: Remove unused strings
Update suppressions from android_tools upgrades resulting in unused
resources (mostly strings) being left behind after their feature is
removed.

Also update some suppressions as expected.

BUG=799070,806060
TBR=nyquist@chromium.org

Change-Id: I30d35320ad20b318a921972529f139b3b3e65453
Reviewed-on: https://chromium-review.googlesource.com/886863
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Reviewed-by: Theresa <twellington@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532433}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 78988928ff8dd13b8fd16017c617ee5ad76c7cd8
2018-01-29 15:16:52 +00:00
Peter Wen 2a1b736f35 Android: Use aapt2 to crunch pngs
Using aapt to crunch and then avoiding crunching with aapt2's
--no-crunch flag crashes aapt2. Just use aapt2's default crunching.

BUG=805668

Change-Id: I61a578eb577069e899cd8a830458d54515fc7d21
Reviewed-on: https://chromium-review.googlesource.com/884064
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532427}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 699e5b95630a74b419bc31dd16e961af434311de
2018-01-29 14:57:50 +00:00
Takuto Ikuta 474713d128 Remove /d2Zi+ build flag
/d2Zi+ is replaced by /Zo and /Zo is enabled by default.
https://docs.microsoft.com/en-us/cpp/build/reference/zo-enhance-optimized-debugging

clang-cl ignores this option.
fdd1e44ea4/clang/include/clang/Driver/CLCompatOptions.td (L319)

Change-Id: I35d24b6d3c5d7e3c3dbd2e0c37f41683b062f650
Reviewed-on: https://chromium-review.googlesource.com/890572
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#532364}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ada8b3f1e6a802ee5de9a256adbdc32ca94ff9f7
2018-01-29 09:01:27 +00:00
Takuto Ikuta 9378b2b124 Do not include debug symbol for faster link time on linux buildbot
-g0 flag reduces size of some large test files
* components_unittests from 918MB to 206MB
* unit_tests from 1023MB to 258MB
with args.gn of linux_chromium_rel_ng.

Current linux buildbot is GCE VM running with 500GB persistent disk which has 60MB/s write throughput.
https://cloud.google.com/compute/docs/disks/#introduction
This IOPS limit affects link step necessary to write large binaries on buildbot.
This patch is for speed up link by reducing binary size written to disk on buildbot.

I assumed followings for symbol configs
* no_symbols: no guarantee of amount of symbol.
* minimal_symbols: include symbols to show function name in stack trace.
* symbols: include symbols used for debugger.


## FAQ

- Does this keep symbols, function name, file path and line number necessary for stacktrace?

  Partially yes.
  Symbols for function is stored in symbol table, which are not removed unless we pass -Wl,--strip-all to linker.
  File path and line number of function are not shown in stack trace when unittests crashes,
  but it is true even when we use is_debug=true and symbol_level=2.
  File path and line number have been shown only for detected failure in lsan/asan builder.
  https://clang.llvm.org/docs/ThreadSanitizer.html#usage


- How much amount binary size is reduced?

  Without this patch, building all generates 65GB binary.
  $ ls -aSl out/linux_chromium_rel_ng/ | tail -n +1 | awk '{sum += $5}END{print sum/1024/1024 "MB"}'
  65673.4MB

  With -g0, building all generates 14GB binary.
  $ ls -aSl out/linux_chromium_rel_ng/ | tail -n +1 | awk '{sum += $5}END{print sum/1024/1024 "MB"}'
  14602MB


- How fast link step will be?

  I show some ninja traces for link time comparison
  ninja build trace shows that this flag improves link time of some large binaries.
  trace from this patch: https://chromium-build-stats.appspot.com/ninja_log/2018/01/25/slave645-c4/ninja_log.slave645-c4.chrome-bot.20180125-034227.4651.gz/trace.html

  - taken from https://ci.chromium.org/buildbot/tryserver.chromium.linux/linux_chromium_rel_ng/630949
    https://chromium-build-stats.appspot.com/ninja_log/2018/01/24/slave287-c4/ninja_log.slave287-c4.chrome-bot.20180123-214259.6113.gz/trace.html

  - taken from https://ci.chromium.org/buildbot/tryserver.chromium.linux/linux_chromium_rel_ng/630946
    https://chromium-build-stats.appspot.com/ninja_log/2018/01/24/slave182-c4/ninja_log.slave182-c4.chrome-bot.20180123-213611.16740.gz/trace.html

  I estimate this CL reduces the duration of link time from around 400s to 100s on linux_chromium_rel_ng.

Bug: 794423
Change-Id: Id840df30b90e3ac177004edb5c1673a6d8e9b3ca
Reviewed-on: https://chromium-review.googlesource.com/826842
Commit-Queue: Takuto Ikuta <tikuta@google.com>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532334}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 58d554bd001762b0e69d589c3a2592814b3c80a2
2018-01-29 06:19:13 +00:00
Andrew Grieve 8bf670e8c3 Android: Fix depfile name collision in process_resources
If an apk had a post-process action defined, and then later it was
removed, the post-process depfile would become the process_resources.py
depfile.

Change-Id: I1b5d26f800772db6c25bd6a34ce5a7a3bed75f1c
Reviewed-on: https://chromium-review.googlesource.com/890172
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532313}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a04b788ba1f5ffa2ef62e334cdbcb7e271ac1a11
2018-01-29 03:29:07 +00:00
Francois Doray fc228b0408 Remove usage of SequencedWorkerPoolOwner.
Replace usage with ScopedTaskEnvironment.

TBR=glider@chromium.org

Bug: 667892
Change-Id: I93d25b143a39f8966d425d98954bec28c710857a
Reviewed-on: https://chromium-review.googlesource.com/881532
Reviewed-by: François Doray <fdoray@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Reviewed-by: Pavel Yatsuk <pavely@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532260}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c3b4d56a01fb89d9b290214a36beb2f1eafa5c5b
2018-01-28 01:32:18 +00:00
Tom Anderson 0959211210 Remove libunwind arm dependency from libc++abi (src-side changes)
The buildtools roll includes these revisions:
437a616be5..a2cbf26d9e

BUG=803679
R=thakis@chromium.org

Change-Id: Ie398be7d8ef52d6a733f52043300449b3d35e947
Reviewed-on: https://chromium-review.googlesource.com/875330
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532259}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ea4edeec4194c6e751d3be2d5fa262a2475f6c47
2018-01-28 01:31:48 +00:00
Ting-Yuan Huang 577775b3f7 build: introduce use_icf to control Identical Code Folding.
ICF is currently decided by platform/compiler/etc. We need a switch to
turn it off in some cases.

BUG=b:72175832

Change-Id: I9637c27cd5e663152afc3102ac6996fc9cc1f5f6
Reviewed-on: https://chromium-review.googlesource.com/876802
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ting-Yuan Huang <laszio@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532177}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 39c7f4dc6aad0a0e7a1d568028ea9a3ea07c6ae0
2018-01-27 07:10:57 +00:00
Scott Graham a7d2d6d4bc Add missing cdb dll, causing failures on win7 crash integration tests
(Link to working run on Win7 bot:
https://chromium-swarm.appspot.com/task?id=3b4d2229fcb0aa10&refresh=10&show_raw=1)

Bug: 805409, 804452
Change-Id: Ieea7271856276162483e9a4240452701a1e062e7
Reviewed-on: https://chromium-review.googlesource.com/889701
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532094}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b91f674a20ce246aa646bb7ecabd217d113c5611
2018-01-26 23:53:13 +00:00
Yuwei Huang 05ffcaee75 [Remoting Android] Fix AppLinkUrlError
This CL adds android:host="*" to the intent filter and removes the
AppLinkUrlError suppression.

Bug: 804441
Change-Id: I30dc3f0171fbfb6b4f195b90f7deba0fd43911ba
Reviewed-on: https://chromium-review.googlesource.com/879584
Reviewed-by: Lambros Lambrou <lambroslambrou@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532071}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb64eb38a995408eeb6ae04673a11998e0daa617
2018-01-26 22:07:06 +00:00
Scott Graham 803eb7eb03 Roll Fuchsia SDK to 893404234442cf13abbc4e22ed996839ff5b1338
Updates clang toolchain_libs path to 7.0.0.

Includes https://fuchsia-review.googlesource.com/c/zircon/+/115121
which should fix component builds crashes.

Also renames calls from zx_time_get() to zx_clock_get() per recent
Fuchsia syscall change.

TBR=kmackay@chromium.org

Bug: 724204, 707030, 803110
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: If2cb1d320c27b60fb32b0337ce1c6d2886b45b33
Reviewed-on: https://chromium-review.googlesource.com/884822
Reviewed-by: Kenneth MacKay <kmackay@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#532014}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3d0476a897f85ba83f7fa280f625160518c64487
2018-01-26 18:08:16 +00:00
Nico Weber 4ab66b7cf4 Add a FALLTHROUGH macro and get base/ to build with -Wimplicit-fallthrough.
Also fix a few missing breaks found by the warning in gpu/.

Bug: 177475,805881
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I8027c3f22c7972318bd996168ce6b6b18d3bfc78
Reviewed-on: https://chromium-review.googlesource.com/886963
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531975}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0ae88364f446639b5fb598be8f7ca3a480b5ec66
2018-01-25 19:26:02 +00:00
John Budorick f2eb3dd751 Revert "Build Fuchsia packages for test and executable targets."
This reverts commit b2b018c5a98218a3c08ad090fc38d20826eaee77.

Reason for revert: Breaking compilation on multiple Fuchsia bots: crbug.com/805844 (includes net_unittests.archive_manifest files)

Original change's description:
> Build Fuchsia packages for test and executable targets.
>
> All targets that use the test() or fuchsia_executable_runner rules
> will produce Fuchsia packages, which contain the test executable and
> their runtime dependencies.
>
> The packages are modules which can be deployed in an already-running
> system, as opposed to the current scheme which bakes the files into
> the system boot image.
>
> Deployment and support for dynamic libraries will be addressed
> in followup CLs.
>
> This CL also:
> * Fixes PathService logic for packaged invocations.
> * Adds a new "build_manifest.py" GN helper script.
> * Fixes the dependency graph for Fuchsia runner script generation
>   so that it accurately captures the real dependency ordering.
>
>
> Bug: 796779
> Change-Id: I4e3a38e0075573b328ad98425cc493e28cff1ca4
> Reviewed-on: https://chromium-review.googlesource.com/841749
> Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
> Reviewed-by: Wez <wez@chromium.org>
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#531288}

TBR=dcheng@chromium.org,wez@chromium.org,dpranke@chromium.org,kmarshall@chromium.org,sergeyu@chromium.org


Bug: 796779,805844
Change-Id: I451b714715b72a9a4b2f723a515a1f7c0dff7687
Reviewed-on: https://chromium-review.googlesource.com/886821
Commit-Queue: John Budorick <jbudorick@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531934}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7f8f205ac00e221c60a2f1f3f8fe393dba86a4c7
2018-01-25 17:48:44 +00:00
Takuto Ikuta 5af4b98d30 Use root_out_dir for fdebug-prefix-map for better cache utilization on goma
rebase_path("//.") is resolved to the path like "$HOME/chromium/src".
But it is necessary to be like "$HOME/chromium/src/out/Release" for higher cache hit rate when using goma.

This patch allows us to share goma backend cache where we build in different out directory like
out/feature_a and out/feature_b if compile requests has only difference of cwd and -fdebug-prefix-map flag.

If we use same args.gn with linux_chromium_rel_ng, this patch allows us to use cached result generated by buildbot
even if we do not clone chromium to path like '/b/c/b/linux/src/' and 'out/Release'.

Note that some generated files having directive like `#include "out/Release/..."` is not normalized, but there is a few such tasks.

Change-Id: I1232415aeedc98dc203e9d7582839bcc1cdbefc6
Reviewed-on: https://chromium-review.googlesource.com/882712
Commit-Queue: Takuto Ikuta <tikuta@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Shinya Kawanaka <shinyak@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531840}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 63f179b14e49adf71ba96abf59a5efc3c51aba65
2018-01-25 07:30:43 +00:00
Tom Anderson 3e3eeac75e Fix libwebp unbundle
BUG=805488
R=thestig

Change-Id: I577bf4f5682cffced4f7424768545cc467ad6416
Reviewed-on: https://chromium-review.googlesource.com/884942
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531753}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6ff7ecf6cd6a9154fad981e083fac96813be5b39
2018-01-25 00:08:13 +00:00
Milko Leporis a02764f4fd [MIPS64] Add support for building Chromium Linux for mips64r2
This change adds missing parts of mips64r2 support.

Bug: 800754
Change-Id: If37183b7c996effe28b7f687ca86ec7f11d90514
Reviewed-on: https://chromium-review.googlesource.com/860058
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531691}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b6e93fc673900ede618341e9a5cfd66d9261954e
2018-01-24 21:40:19 +00:00
Peter Wen 28b7fa02dd Android: Update suppressions and fix NewApi
Now that separate bugs have been filed to fix lint suppressions the code
should be updated accordingly.

Unforunately the NewApi suppression was wrongly added and allowed a
whole bunch of failures into the codebase in a matter of days. Fixing
that in this CL.

BUG=799070,804449,804438,805509
TBR=bauerb@chromium.org,michaelbai@chromium.org

Change-Id: I22222837a70da3680a5968e7e002862ecdf12d04
Reviewed-on: https://chromium-review.googlesource.com/884004
Reviewed-by: agrieve <agrieve@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531622}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3955da70d67e9e6018208b9f7f89f92d803cfe40
2018-01-24 18:42:31 +00:00
Henrique Nakashima b2f47fdae0 Add asm.js to build_config.h.
Bug: 804907
Change-Id: I194c59129cad52b0775181d8582c9529590af74f
Reviewed-on: https://chromium-review.googlesource.com/870813
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531574}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: afff0508d704346222ee1c72e598d53e0ff146bc
2018-01-24 17:14:12 +00:00
Peter Wen e817cfa9e5 Android: Update Android Studio canary version
Canary has updated to alpha 8.

BUG=620034
TBR=agrieve@chromium.org

Change-Id: I98367aedd86322e7077fe4f0e977bc4c40f1a63c
Reviewed-on: https://chromium-review.googlesource.com/883771
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531554}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3d141bc3a16e56504e3e59ef531a9b312e877481
2018-01-24 16:32:28 +00:00
Nico Weber d719a18264 win: Change default goma location from c:\goma to c:\src\goma
c:\src is more often whitelisted for virus scanners, so putting goma there
can make your build faster and is now officially recommended.

If you have goma in c:\goma, move it to c:\src\goma.

See also internal thread titled
"Are you using goma on Windows? Move goma install to C:\src\goma\goma-win64"

Bug: none
Change-Id: Idc608cad64b388e6030afccb0dee4c647000be90
Reviewed-on: https://chromium-review.googlesource.com/883661
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6e48cec330a089c2540a99a0035dc31a8c2607cc
2018-01-24 15:12:42 +00:00
marcin 3bd9839546 More info about ErrorProne StringSplitter warning in Chrome
Change-Id: I3e7dd34495665bf65361594fa3e4ed2ef35d9459
Reviewed-on: https://chromium-review.googlesource.com/878865
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Marcin Wiącek <marcin@mwiacek.com>
Cr-Original-Commit-Position: refs/heads/master@{#531489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6d8303f76f980f622295bf54a1bd01a153e6e670
2018-01-24 09:32:09 +00:00
George Burgess IV 08b5f47d20 Remove hack introduced by CL:879849
Internal profiling bits have been cleaned up.

Bug: 804479
Test: Built internal Chrome with this applied.
Change-Id: I9611b34eb573f75e9dce0d1fd91ca3486aabc003
Reviewed-on: https://chromium-review.googlesource.com/882313
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531450}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2e080064e2839394e3f73ce1f3ce3d8e2590431e
2018-01-24 05:59:51 +00:00
Zhiling Huang 6f1e572351 Minor fix in remote output manager.
When passing content type to google storage helper, we need to specify
that we are passing in content type. Otherwise google  storage helper's
upload function will consider content type as gs_args and then cause an
error.

Bug: 799598
Change-Id: Iac18782af63d38b66b4094ab32472f1debb68f92
Reviewed-on: https://chromium-review.googlesource.com/862882
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Zhiling Huang <hzl@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531388}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 21a3bb7aa1fb72ec4b6a8dd244341397877bbd10
2018-01-23 23:54:39 +00:00
George Burgess IV 8c0219b206 Use the actual Chrome OS AFDO profiles on Android
(This is also the third attempt roll to a newer AFDO profile, which
we're currently using internally.)

While the gs bucket that holds these profiles is restricted to Googlers
only, our Chrome OS friends jump through hoops specifically to make
these AFDO profiles world-readable. So, all of the crazy redaction and
such that we're currently doing is entirely unnecessary. Woo!

As noted in the script, due to the permissions setup, actually accessing
these profiles is a bit awkward. But it's workable.

also ran update_afdo_profile.py on a few profiles from a non-Google
machine, and it succeeded on the ones I tried. Also ran
build/install-build-deps-android.sh.

Bug: 804479
Test: `gclient runhooks` and built for Android with/without clank. I
Change-Id: I20d973b62251ebe249e80fad6051bd3a6805aa12
Reviewed-on: https://chromium-review.googlesource.com/879849
Commit-Queue: George Burgess <gbiv@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531368}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1f751e41506c1b1c875ca589681872f725b6d7ab
2018-01-23 22:10:00 +00:00
Michael Thiessen 51558ead38 Fix Canary push due to invalid Daydream icons
Daydream expects its icons to be in png format, and play store
validation will fail if it doesn't find correctly formatted icons.

This excludes '.dd.png' files from the automatic conversion to webp
when building ChromeModern

See b/72294258.

TBR=dtrainor@chromium.org

Bug: 802080
Change-Id: Icd55d5a08536697ec97c08701782c925165631c0
Reviewed-on: https://chromium-review.googlesource.com/881461
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: David Trainor <dtrainor@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531335}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 538399f90b82352e47d8783e58671be6efb2958f
2018-01-23 20:31:26 +00:00
Marcin Simonides f086ac4613 Add support for include_dirs to gn check.
With this change "gn check" no longer assumes all #include paths are
relative to the source root. Instead it searches for the includes by
checking each of the directories listed in include_dirs for the target.

A number of new issues have been discovered. The trivial ones have been
fixed, the larger and more complex ones have been reported and the related
parts of the project have been excluded from the default gn check run.

BUG=794926

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Change-Id: I39c17a7ac47dc024dd374c8891ce4911809195cb
Reviewed-on: https://chromium-review.googlesource.com/827014
Commit-Queue: Brett Wilson <brettw@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
Reviewed-by: Greg Thompson <grt@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Brett Wilson <brettw@chromium.org>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531334}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2f14ea14de1ea4ffe82aaa9c01425e41f3625797
2018-01-23 20:30:03 +00:00
John Budorick 17db7d44c4 Revert "Switch //build/print_python_deps.py to vpython."
This reverts commit 889f9fb8b864ce17d892e377761483f215baf7b9.

Reason for revert: spec revert for android trybot failures

Original change's description:
> Switch //build/print_python_deps.py to vpython.
> 
> net/tools/testserver/testserver.py (which has a pydeps file) moved to
> vpython last week in
> https://chromium-review.googlesource.com/c/chromium/src/+/874153
> 
> In order to successfully generate a pydeps file for
> it, print_python_deps.py needs to move to vpython as well.
> 
> Bug: 800662
> Change-Id: I09b952f2fc73e4a8bb5e7e652846051eb24ed2ba
> Reviewed-on: https://chromium-review.googlesource.com/878929
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Reviewed-by: Helen Li <xunjieli@chromium.org>
> Reviewed-by: agrieve <agrieve@chromium.org>
> Commit-Queue: John Budorick <jbudorick@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#531236}

TBR=dcheng@chromium.org,xunjieli@chromium.org,agrieve@chromium.org,jbudorick@chromium.org

Change-Id: I060de4e867982af3e5bf085d09cc67e6eb5d1bdb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 800662
Reviewed-on: https://chromium-review.googlesource.com/881705
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531289}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 537d74db4b393f0a90b09bd9d7dca1ea6321a1c0
2018-01-23 18:43:21 +00:00
Kevin Marshall fcf79f7d39 Build Fuchsia packages for test and executable targets.
All targets that use the test() or fuchsia_executable_runner rules
will produce Fuchsia packages, which contain the test executable and
their runtime dependencies.

The packages are modules which can be deployed in an already-running
system, as opposed to the current scheme which bakes the files into
the system boot image.

Deployment and support for dynamic libraries will be addressed
in followup CLs.

This CL also:
* Fixes PathService logic for packaged invocations.
* Adds a new "build_manifest.py" GN helper script.
* Fixes the dependency graph for Fuchsia runner script generation
  so that it accurately captures the real dependency ordering.


Bug: 796779
Change-Id: I4e3a38e0075573b328ad98425cc493e28cff1ca4
Reviewed-on: https://chromium-review.googlesource.com/841749
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531288}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b2b018c5a98218a3c08ad090fc38d20826eaee77
2018-01-23 18:40:17 +00:00
marcin fda75a34a9 Remove ParameterName errorProne warning/disable hiding these warnings
Checked build for

chrome_public_apk
chrome_public_test_apk
content_shell_apk
content_shell_test_apk
webview_instrumentation_apk
webview_instrumentation_test_apk

BUG=801256

Change-Id: I6425593b8037c2d3d4b64c564a8dc77f896c3ef8
Reviewed-on: https://chromium-review.googlesource.com/878864
Reviewed-by: Theresa <twellington@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Marcin Wiącek <marcin@mwiacek.com>
Cr-Original-Commit-Position: refs/heads/master@{#531245}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b617025dcf1c85bf8d0b048a436213b8e6f6b6b
2018-01-23 15:39:33 +00:00
Yunlian Jiang 183f26b14b Enable lto optimization for ChromeOS build.
We want to enable lto optimization for ChromeOS when using
ThinLTO.

BUG=chromium:707803
TEST=USE="-gold lld thinlto" emerge-samus chromeos-chrome
     does not have -Wl,-lto=O0 flag.

Change-Id: I0a1f06e60d4d2084e391e058e411956197e18aee
Reviewed-on: https://chromium-review.googlesource.com/874635
Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531241}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5a6c5a1bbaf514502f8b15f076b0b15fe6c02822
2018-01-23 15:28:12 +00:00
John Budorick 2365c21ab0 Switch //build/print_python_deps.py to vpython.
net/tools/testserver/testserver.py (which has a pydeps file) moved to
vpython last week in
https://chromium-review.googlesource.com/c/chromium/src/+/874153

In order to successfully generate a pydeps file for
it, print_python_deps.py needs to move to vpython as well.

Bug: 800662
Change-Id: I09b952f2fc73e4a8bb5e7e652846051eb24ed2ba
Reviewed-on: https://chromium-review.googlesource.com/878929
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Helen Li <xunjieli@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531236}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 889f9fb8b864ce17d892e377761483f215baf7b9
2018-01-23 14:58:26 +00:00
Tobias Sargeant 73b05cab8b Make link_sysroot globally accessible to fix mips compile issues.
Bug: 
Change-Id: Id58c9d4a16cb25ac8829e69b69719770c41a2b31
Reviewed-on: https://chromium-review.googlesource.com/860057
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tobias Sargeant <tobiasjs@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531137}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 21531e599a1747548b9c880116caabfd73147494
2018-01-23 02:47:18 +00:00
Peter Collingbourne d17cdbfbf5 Reland "Disable lld for ARM versions older than 7." and "Switch the default linker to lld on Android."
This relands commits 7b895661b955a3ae520a83eec7f1b3db282ddbc0 and
2ca66ef8ae32044a7ec9ea40ad1d9ee4ae295be1 which were reverted in commit
7450c138da28094f40dcd8da177ac1d643018da8.

> Switch the default linker to lld on Android.
>
> All known blockers have now been fixed. This CL is likely to uncover
> unknown blockers, and is a likely culprit for any issues involving
> crash dumping or symbolization on Android.
>
> MIPS is excluded because of an incompatibility between Android MIPS
> prebuilts and lld (https://github.com/android-ndk/ndk/issues/617).

> Disable lld for ARM versions older than 7.
>
> lld currently does not support ARMv<7.

Bug: 742655
Change-Id: I3f8848fad91f9132288fe7b704c74cd58f8e5eae
Reviewed-on: https://chromium-review.googlesource.com/879346
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#531064}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 19466659246a1ae1a77760fc241a868da6c57020
2018-01-22 23:49:23 +00:00
Mikhail Lopatkin ea310ceb2f Add option to include native libraries into generated AAR
Only a single ABI (from a default toolchain) is supported.

Bug: 506230
Change-Id: Icef6bdb5c8d7bfac74968af47438fe7b012461c7
Reviewed-on: https://chromium-review.googlesource.com/876005
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530940}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 95b3f0769e8ebc5cf017917d236be518d1afc150
2018-01-22 19:22:26 +00:00
Peter Wen b5ebdec2e7 Android: Turn off all errorprone warnings
Turning off these warnings allow building "all" to at least be without
errorprone warnings. Some warnings may still be left, but those can be
added to javac.py later.

Bug: 801279
Change-Id: I6e4de4b262a9c3e39a5dfe770277e0fac73a76ce
Reviewed-on: https://chromium-review.googlesource.com/875125
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530865}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 84d6167fb11b8615e45778c0dc103bc9fe0b38c7
2018-01-22 15:24:49 +00:00
Peter Collingbourne 5d0c60725f Revert "Disable lld for ARM versions older than 7." and "Switch the default linker to lld on Android."
This reverts commits 7b895661b955a3ae520a83eec7f1b3db282ddbc0
and 2ca66ef8ae32044a7ec9ea40ad1d9ee4ae295be1.

Broke the chromium.perf Android builder. Fix under review:
https://chromium-review.googlesource.com/c/chromium/tools/build/+/877513

TBR=agrieve@chromium.org

Bug: 742655
Change-Id: I26eb5bbc8740801ab11f7aa13a62343400a5337e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/877619
Reviewed-by: Peter Collingbourne <pcc@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530751}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a51ee5b6f17f2bc0dcf1b61e7234db797b1924c
2018-01-20 04:45:29 +00:00
Peter Collingbourne ec59932c67 Disable lld for ARM versions older than 7.
lld currently does not support ARMv<7.

Bug: 742655
Change-Id: I54afff09a704bcf6a07e97235242c84f18f35601
Reviewed-on: https://chromium-review.googlesource.com/877499
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530745}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7b895661b955a3ae520a83eec7f1b3db282ddbc0
2018-01-20 03:43:00 +00:00
bsheedy 2808c99887 Add build targets for Devil arm deps
Adds build targets for arm versions of md5sum, host_forwarder, and
libc++. Special targets are necessary since the Android/device deps
can't be built with the clang_arm toolchain, so we can't just use it
for everything.

Also updates the arm build config slightly since Raspberry Pis require
mfloat-abi to be set to hard, while Android requires it to be set to
soft.

Bug: 779837
Change-Id: I19c861d2c8a528c82bcb5d9f43c3812499d23ddf
Reviewed-on: https://chromium-review.googlesource.com/761357
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530711}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e29eea14f91a8adb8ed3a443fb23eab673f2932b
2018-01-20 01:14:09 +00:00
Peter Collingbourne f2d852162c Switch the default linker to lld on Android.
All known blockers have now been fixed. This CL is likely to uncover
unknown blockers, and is a likely culprit for any issues involving
crash dumping or symbolization on Android.

MIPS is excluded because of an incompatibility between Android MIPS
prebuilts and lld (https://github.com/android-ndk/ndk/issues/617).

Bug: 742655
Change-Id: Ic12eebce867f3804bb97d18566afc011fa962a26
Reviewed-on: https://chromium-review.googlesource.com/872225
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530632}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ca66ef8ae32044a7ec9ea40ad1d9ee4ae295be1
2018-01-19 22:20:01 +00:00
Sergey Ulanov d9ba1600b0 [Fuchsia] Add layout_test_proxy
When running layout tests on Fuchsia the test runner and content_shell
will run on separate machines. The tests still expect to be loaded from
localhost, so HTTP connections need to be proxied from the Fuchsia
to the host that runs http server. Potentially this can be done with
SSH, but TCP forwarding is broken in sshd on Fuchsia at the moment
due to select() limitations (see ZX-1555).

This CL adds a new executable that will be used proxy connections for
layout tests. The implementation is based on the socket proxy
that's currently used to proxy test_server connections in
net_unittests. That code is also being moved from
net/test/spawned_test_server to net/test.


Bug: 778467
Change-Id: I9c86cf5f27cbfd01b0c475ec242c6262bf7c6b57
Reviewed-on: https://chromium-review.googlesource.com/858289
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530587}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7de8580b8ae85e1a713588944b2708e289d6f63e
2018-01-19 19:50:34 +00:00
Eric Stevenson 7a820cd77e Android: Cleanup Monochrome shared resource whitelist usage.
This CL unifies the upstream and downstream usage of the whitelist and
removes obsolete arguments.

Bug: 791078, 762130
Change-Id: I77a022218a7b8a333f252169d8b074c8757cee1f
Reviewed-on: https://chromium-review.googlesource.com/875205
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#530497}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9991bb8cd9ab9e60ed36ed44395346378bd668e8
2018-01-19 13:16:03 +00:00