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

11513 Коммитов

Автор SHA1 Сообщение Дата
raphael.kubo.da.costa 8fdc2bb2fb gn: Stop making |use_atk| depend on |use_gconf|.
This partly reverts commit 2a395c69f ("make use of existing gn args in
ui build config").

atk itself does not depend on gconf, and the change introduced in the
commit above was likely created before commit 95ba4446 ("Move linux
pkg_config() calls into separate BUILD.gn files"), when atk and gconf
were part of the same if block in build/config/linux/BUILD.gn.

See also: https://codereview.chromium.org/2241513002

R=brettw@chromium.org,dpranke@chromium.org,mostynb@opera.com
BUG=632297

Review-Url: https://codereview.chromium.org/2248043002
Cr-Original-Commit-Position: refs/heads/master@{#412634}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 984335951bbc9b2d9532db8b8d1161494f79a105
2016-08-17 21:05:24 +00:00
mikecase 20c8784559 (Reland) Update all Robolectric tests to Robolectric 3.0
BUG=522043

Review-Url: https://codereview.chromium.org/2243353002
Cr-Original-Commit-Position: refs/heads/master@{#412564}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cf5bc93dae70d15f712f45daf2fb2d696d8241ad
2016-08-17 16:55:19 +00:00
thomasanderson 9a1647ec81 Update install-sysroot.py to include libbluetooth
Depends on https://codereview.chromium.org/2248973003/

BUG=638394

Review-Url: https://codereview.chromium.org/2248683005
Cr-Original-Commit-Position: refs/heads/master@{#412410}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4cbbce896576f7d8e979096b206315774c23521e
2016-08-17 01:30:18 +00:00
thomasanderson e105ca05ae Add libbluetooth to sysroot scripts
Desktop Chromium OS is unable to build with the current wheezy sysroot because
it is missing libbluetooth-dev.

This CL adds libbluetooth to the wheezy sysroot.  Eventually we will want to
build Chromium OS with the jessie sysroot, so added libbluetooth there as well.
Finally, added to trusty sysroot for good measure.

BUG=638394

Review-Url: https://codereview.chromium.org/2248973003
Cr-Original-Commit-Position: refs/heads/master@{#412397}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d61be279532de3e797906b26cdbb00516703dd31
2016-08-17 00:36:22 +00:00
robliao d9e36ac574 Suppress TSAN Race in TaskSchedulerWorkerPoolCheckTlsReuse
The race condition is expected as we're racing the thread reclaim
logic. ThreadLocalStorage happens to not synchronize anything at the
moment. Adding a lock to synchronize usage of g_tls_destructors won't
actually fix the inherent race condition. In production, it's up the
owner to make sure that any references have cleaned up before
releasing the TLS slot.

Given that ThreadLocalStorage will be getting some locks in the future,
so I expect to be able to remove the suppression once that goes
through.

BUG=638378

Review-Url: https://codereview.chromium.org/2256493002
Cr-Original-Commit-Position: refs/heads/master@{#412362}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad1893a4eeeb1775709005ad7df0081560fa27d3
2016-08-16 22:37:33 +00:00
siggi 29744de840 Disable heap shim for SyzyASAN builds.
This fixes the build failure on the Win SyzyASAN LKGR caused by https://codereview.chromium.org/2164653002/.

BUG=550886

Review-Url: https://codereview.chromium.org/2241383005
Cr-Original-Commit-Position: refs/heads/master@{#412294}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0fb851b955098e98cbd7d7c534a88b907ba9d157
2016-08-16 18:17:15 +00:00
estevenson 3792e29494 Handle both plural and singular tab switcher content descriptions.
This CL changes the tab switcher to use the correct grammatical category
of the number of tabs open.

BUG=635677

Review-Url: https://codereview.chromium.org/2222013004
Cr-Original-Commit-Position: refs/heads/master@{#412231}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 73c8f25a22e43a9cfab595782258d39b6dafac52
2016-08-16 14:32:03 +00:00
siggi 62f19da2f5 Make allocator shim the default for Windows release builds that link statically with the CRT.
BUG=550886

Review-Url: https://codereview.chromium.org/2164653002
Cr-Original-Commit-Position: refs/heads/master@{#412220}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 043dbae25c3523a26292c4e9ec001ca14e66ea69
2016-08-16 12:53:07 +00:00
nicholaslin e1366757b1 Fix exceptions on logcats that can't be found.
Currently when the swarming bot cannot connect to a device to get logcats, it errors out with an exception.
Swarming tasks should continue to exectue with the remaining devices. Adding an if statement to check for the existence of device logcats to prevent
exceptions.

BUG=638051

Review-Url: https://codereview.chromium.org/2246863003
Cr-Original-Commit-Position: refs/heads/master@{#412152}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ab7b497976d171ee4d7ceac09e994002de38407b
2016-08-16 03:10:12 +00:00
hzl f5aadfbec4 Added tombstones in instrumentation tests results.
If an instrumentation test crashes, tombstones were not captured.
In this cl, tombstones are captured and becomes part of the result.

This is a reland of a previous cl, http://crrev.com/2201833002#ps200001.
The reason for reverting the previous cl is that:
it breaks the stack_tool_for_tombstones step for many bots in
https://build.chromium.org/p/chromium.android.
In this reland, the edge case where there is no tombstone is fixed.

BUG=631213

Committed: https://crrev.com/d7dd97f2828447fb9af45ea119e703500b167cb8
Cr-Commit-Position: refs/heads/master@{#410929}

patch from issue 2201833002 at patchset 200001 (http://crrev.com/2201833002#ps200001)

Review-Url: https://codereview.chromium.org/2237553003
Cr-Original-Commit-Position: refs/heads/master@{#412089}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 02ff9ee5eb08ccdff4d4da042a53e2346a352130
2016-08-15 23:24:58 +00:00
amineer 2a1c5a802f Revert of 🚀 Add dex info and static initializers to resource_sizes.py (patchset #3 id:40001 of https://codereview.chromium.org/2244653003/ )
Reason for revert:
Causing build failures, will update tracking bug with details.

Original issue's description:
> Add dex info and static initializers to resource_sizes.py
>
> The goal is to have a single script that reports all .apk
> size related metrics.
>
> * Uses method_count.py to get dex info.
> * Already had static initializer logic, but now shows it even without
> --so_with_symbols_path.
> * Tweaks the static initializer count logic to sum up rather for all
> .so files rather than report the same metric repeatedly.
>
> BUG=609365
>
> Committed: https://crrev.com/af1b0701484ff33965439440c43e620cf50a6056
> Cr-Commit-Position: refs/heads/master@{#411859}

TBR=rnephew@chromium.org,agrieve@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=609365

Review-Url: https://codereview.chromium.org/2243343004
Cr-Original-Commit-Position: refs/heads/master@{#412064}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 47fd25ce2fc9b8772836d2930de04ec4fa4edc8b
2016-08-15 22:06:06 +00:00
justincohen 4155375bdd Revert of Always enable intermediate source_set. (patchset #2 id:20001 of https://codereview.chromium.org/2245513002/ )
Reason for revert:
This is breaking earl grey tests downstream.  I wonder why upstream eg tests aren't on the cq?

Before:
          cmd LC_ID_DYLIB
      cmdsize 64
         name @rpath/EarlGrey.framework/EarlGrey (offset 24)
After:
          cmd LC_ID_DYLIB
      cmdsize 72
         name obj/ios/third_party/earl_grey/x64/EarlGrey (offset 24)

Original issue's description:
> Always enable intermediate source_set.
>
> The _use_intermediate_source_set variable was there to workaround a
> bug in scoped_nsobject_unittest{,_arc}.mm that was exhibited by the
> introduction of an intermediate source_set. Remove the variable and
> consider that it is always set to "true".
>
> BUG=637065
>
> Committed: https://crrev.com/40865bdc7372f779689422a0c36cf8073d050366
> Cr-Commit-Position: refs/heads/master@{#411779}

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

Review-Url: https://codereview.chromium.org/2245903002
Cr-Original-Commit-Position: refs/heads/master@{#411873}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8bcd27585d5c063b9c19aba05ffe310781181402
2016-08-13 04:03:20 +00:00
agrieve 395bee5f68 Revert of Fail builds when lint warnings are generated. (patchset #1 id:1 of https://codereview.chromium.org/2241973002/ )
Reason for revert:
Broke clank tot roller:
https://uberchromegw.corp.google.com/i/internal.client.clank_tot/builders/clang-clankium-tot-builder/builds/32680/steps/compile/logs/stdio

Original issue's description:
> Reland #2 of Fail builds when lint warnings are generated
>
> Previous: https://codereview.chromium.org/2236313004/
>
> Reason for revert:
> If this fails again, please revert changes that introduce
> new warnings rather than this patch.
>
> TBR=estevenson@chromium.org,caseq@chromium.org
> BUG=607761
>
> Committed: https://crrev.com/f8bde5d301337c0994a9d71fc31ed71b36a26e47
> Cr-Commit-Position: refs/heads/master@{#411864}

TBR=estevenson@chromium.org,caseq@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=607761

Review-Url: https://codereview.chromium.org/2241833003
Cr-Original-Commit-Position: refs/heads/master@{#411871}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1155b192671fe54bd88883f511dc98d95a9b5489
2016-08-13 03:49:06 +00:00
sdefresne 45574dce74 Pass the bundle product_type to the actool invocation.
With Xcode 8, the invocation of actool need to contain the type of
the bundle containing the asset catalog, pass the information from
the create_bundle target to the actool command.

BUG=634373

Review-Url: https://codereview.chromium.org/2236973004
Cr-Original-Commit-Position: refs/heads/master@{#411865}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bf8b26608b67a274cf7b5ca99446043e9e197394
2016-08-13 02:50:15 +00:00
agrieve c4e089f755 Reland #2 of Fail builds when lint warnings are generated
Previous: https://codereview.chromium.org/2236313004/

Reason for revert:
If this fails again, please revert changes that introduce
new warnings rather than this patch.

TBR=estevenson@chromium.org,caseq@chromium.org
BUG=607761

Review-Url: https://codereview.chromium.org/2241973002
Cr-Original-Commit-Position: refs/heads/master@{#411864}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f8bde5d301337c0994a9d71fc31ed71b36a26e47
2016-08-13 02:46:41 +00:00
agrieve d48688caa8 Add dex info and static initializers to resource_sizes.py
The goal is to have a single script that reports all .apk
size related metrics.

* Uses method_count.py to get dex info.
* Already had static initializer logic, but now shows it even without
--so_with_symbols_path.
* Tweaks the static initializer count logic to sum up rather for all
.so files rather than report the same metric repeatedly.

BUG=609365

Review-Url: https://codereview.chromium.org/2244653003
Cr-Original-Commit-Position: refs/heads/master@{#411859}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: af1b0701484ff33965439440c43e620cf50a6056
2016-08-13 02:31:46 +00:00
sdefresne cd5a959b9a Always enable intermediate source_set.
The _use_intermediate_source_set variable was there to workaround a
bug in scoped_nsobject_unittest{,_arc}.mm that was exhibited by the
introduction of an intermediate source_set. Remove the variable and
consider that it is always set to "true".

BUG=637065

Review-Url: https://codereview.chromium.org/2245513002
Cr-Original-Commit-Position: refs/heads/master@{#411779}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 40865bdc7372f779689422a0c36cf8073d050366
2016-08-12 21:32:04 +00:00
caseq 6947516321 Revert of Fail builds when lint warnings are generated. (patchset #3 id:40001 of https://codereview.chromium.org/2240573004/ )
Reason for revert:
Broke Android Arm64 builder.

Original issue's description:
> Fail builds when lint warnings are generated.
>
> Suppress all existing lint warnings so that builds will fail when new
> warnings are generated. New lint warnings that are generated in files
> that are ignored in suppressions.xml will not be caught. However, now
> we can remove lint warnings on a file by file basis instead of having to
> fix all lint warnings before making lint break builds.
>
> BUG=607761
>
> Committed: https://crrev.com/49f5130f956057407d2219e37a978437bcdcf7fe
> Committed: https://crrev.com/9a52a7e12ad50f6f85e88c6a5636ce6e0a405dce
> Cr-Original-Commit-Position: refs/heads/master@{#411692}
> Cr-Commit-Position: refs/heads/master@{#411748}

TBR=agrieve@chromium.org,estevenson@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=607761

Review-Url: https://codereview.chromium.org/2236313004
Cr-Original-Commit-Position: refs/heads/master@{#411764}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0b8904601897107f297027eecbb7572bb7bf902d
2016-08-12 21:06:32 +00:00
nicholaslin 6a69084e8d Update chromium.android.json
BUG=637213
NOTRY=True
TBR=jbudorick@chromium.org

Review-Url: https://codereview.chromium.org/2240923002
Cr-Original-Commit-Position: refs/heads/master@{#411749}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa986de5b33958a7f4fbf27c5d1a8a5c50ac4c0f
2016-08-12 20:07:18 +00:00
estevenson 6de2d4da6f Fail builds when lint warnings are generated.
Suppress all existing lint warnings so that builds will fail when new
warnings are generated. New lint warnings that are generated in files
that are ignored in suppressions.xml will not be caught. However, now
we can remove lint warnings on a file by file basis instead of having to
fix all lint warnings before making lint break builds.

BUG=607761

Committed: https://crrev.com/49f5130f956057407d2219e37a978437bcdcf7fe
Review-Url: https://codereview.chromium.org/2240573004
Cr-Original-Commit-Position: refs/heads/master@{#411748}
Cr-Original-Original-Commit-Position: refs/heads/master@{#411692}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a52a7e12ad50f6f85e88c6a5636ce6e0a405dce
2016-08-12 20:05:03 +00:00
brettw d4b649434b Clean up GN template code.
This cleans up some variable definitions around templates not marking variables used.

The chromevox directory worked around the bug by putting the variables to share
in a .gni file. This file can now be deleted and the contents merged with the
BUILD file (the only place it was included).

The iOS code referencing this bug seems to be mistaken, at least in some of the
cases. The conditions in that file do not trigger the variable used bug. The
build seems to work without this code, so I removed it.

BUG=395883
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2237233002
Cr-Original-Commit-Position: refs/heads/master@{#411738}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 84f93c430207e806a6a3746d4163990391c1fbc1
2016-08-12 19:46:15 +00:00
brettw 035acd28f6 Remove GN back-compat toolchain code for NaCl.
Now that the NaCl side of the toolchain update has rolled in (this was
https://codereview.chromium.org/2235083002/), the compatibility shim can be
removed.

BUG=634446

Review-Url: https://codereview.chromium.org/2237113004
Cr-Original-Commit-Position: refs/heads/master@{#411737}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ca677516fc34e7a5004ba013f99499403d5d9994
2016-08-12 19:46:14 +00:00
Hans Wennborg 9779c74df0 Suppress new Clang warning: -Waddress-of-packed-member
BUG=637306
TBR=thakis

Review URL: https://codereview.chromium.org/2238303002 .

Cr-Original-Commit-Position: refs/heads/master@{#411715}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 248f30849f0bb43a94845287020926765340dab5
2016-08-12 18:38:07 +00:00
xidachen 298de767ca Revert of Fail builds when lint warnings are generated. (patchset #2 id:20001 of https://codereview.chromium.org/2240573004/ )
Reason for revert:
Causing compilation failure:
https://build.chromium.org/p/chromium.linux/builders/Android%20Builder/builds/71177

Original issue's description:
> Fail builds when lint warnings are generated.
>
> Suppress all existing lint warnings so that builds will fail when new
> warnings are generated. New lint warnings that are generated in files
> that are ignored in suppressions.xml will not be caught. However, now
> we can remove lint warnings on a file by file basis instead of having to
> fix all lint warnings before making lint break builds.
>
> BUG=607761
>
> Committed: https://crrev.com/49f5130f956057407d2219e37a978437bcdcf7fe
> Cr-Commit-Position: refs/heads/master@{#411692}

TBR=agrieve@chromium.org,estevenson@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=607761

Review-Url: https://codereview.chromium.org/2245663003
Cr-Original-Commit-Position: refs/heads/master@{#411700}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71ab99083db4d384fc9ce687c9d1cd5300f3ef89
2016-08-12 18:05:36 +00:00
estevenson e56f9ae135 Fail builds when lint warnings are generated.
Suppress all existing lint warnings so that builds will fail when new
warnings are generated. New lint warnings that are generated in files
that are ignored in suppressions.xml will not be caught. However, now
we can remove lint warnings on a file by file basis instead of having to
fix all lint warnings before making lint break builds.

BUG=607761

Review-Url: https://codereview.chromium.org/2240573004
Cr-Original-Commit-Position: refs/heads/master@{#411692}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 49f5130f956057407d2219e37a978437bcdcf7fe
2016-08-12 17:39:18 +00:00
mnissler 313d00ab26 Fix various grit python paths.
The code was appending grit to the python search path. This leads to
issues in environments where grit is installed as a system package.
Make sure to prepend the grit module from the source tree to the
search path to give it precedence over any other grit modules.

BUG=None
TEST=Build is green.

Review-Url: https://codereview.chromium.org/2228463002
Cr-Original-Commit-Position: refs/heads/master@{#411585}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6222f573984beee1dbdcb9004a0bf367531b318b
2016-08-12 09:10:00 +00:00
nicholaslin 606a7bc626 Add logdog_butler cipd package to every swarming gtest_test on android tryservers (linux_android_rel_ng, android_n5x_swarming_rel).
Add wrapper around android test runner for swarming tasks. This wrapper calls logdog to stream logcats after the completion of the python executable calling test_runner.

Adding device serials to every line of logcat logs.

Sample of unified logcats: https://luci-logdog.appspot.com/v/?s=chromium%2Fswarming%2F301f0f97eea1a511%2Flogcats%2F%2B%2Ffile:_b_swarm_slave_w_ioVXQmGw_logcats

BUG=448050

Review-Url: https://codereview.chromium.org/2163833003
Cr-Original-Commit-Position: refs/heads/master@{#411530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3dbe50ffaca641ea962d385e2ac9ac0bec75fbbb
2016-08-12 02:58:53 +00:00
sdefresne 37fd368b5f Force rebuild of everything if the version of Xcode changes.
BUG=636031

Review-Url: https://codereview.chromium.org/2228143002
Cr-Original-Commit-Position: refs/heads/master@{#411491}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 64cd47fc5002365b42d3abe6d8381f5bb0dfcae1
2016-08-12 00:50:51 +00:00
brettw b589e6149f Roll buildtools 33a32b8aa2..f8fc76ea5c
In order to roll GN 5822d6c9a8..4838fe571d (r410471:r411399) and pick up
  the following changes:

  ba1286d GN: Mark all variables used when defining a template.
  fcd8d22 Stop pointing to "gn help toolchain" in that very help message.
  db9ce41 Fix GN bootstrap
  56350de GN: Throw an error overwriting a nonempty scope.

TBR=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2235373002
Cr-Original-Commit-Position: refs/heads/master@{#411478}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 08912711cf3a444f406777e9d055559b4d208a4e
2016-08-12 00:32:48 +00:00
sdefresne 921372b927 [iOS] Refactor build/config/ios/rules.gni.
Add new template lipo_binary that invokes lipo to create a fat binary
from multiple single architecture binaries (supports thin builds too).

Add new template create_signed_bundle that wraps create_bundle and add
the required parameters to create a signed bundle (supports building
with code signature disabled).

Refactor ios_app_bundle, ios_framework_bundle and ios_xctest targets
to use those two templates and reduce the code duplication. Introduce
intermediate source_set target to reduce dependencies on entitlements
generation for simulator builds.

BUG=635302

Review-Url: https://codereview.chromium.org/2219323002
Cr-Original-Commit-Position: refs/heads/master@{#411471}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 17a812f225abd54e84dbe4f74c9619d4bdab3cbf
2016-08-12 00:26:19 +00:00
raphael.kubo.da.costa 8c2ef4929b gn: Stop asserting on |use_gconf| when looking for atk.
|use_gconf| was added back in commit 2f4a32e98 ("linux gn config should
check use_gconf before looking for it with pkg-config") back when the
pkg-config calls to atk and gconf were grouped together within a single
if check.

Since then, commit 95ba4446 ("Move linux pkg_config() calls into
separate BUILD.gn files") has split all the pkg-config checks. As atk
itself does not depend on gconf, we can drop use_gconf from the
assertion in atk's BUILD.gn.

R=brettw@chromium.org,dpranke@chromium.org,mostynb@opera.com
BUG=632297

Review-Url: https://codereview.chromium.org/2241513002
Cr-Original-Commit-Position: refs/heads/master@{#411440}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9ca5a503b8f28258126226df203bef7fd316dfad
2016-08-11 23:38:24 +00:00
mikecase bc1d728ac4 Revert of [Android] Update all Robolectric tests to Robolectric 3.0 (patchset #14 id:260001 of https://codereview.chromium.org/2195143002/ )
Reason for revert:
Compile errors here...
https://build.chromium.org/p/chromium.linux/builders/Android%20Builder/builds/71108/steps/compile/logs/stdio

Original issue's description:
> Update all Robolectric tests to Robolectric 3.0
>
> BUG=522043
>
> Committed: https://crrev.com/de621335b3d5b104587934b51cf83eb17911b14a
> Cr-Commit-Position: refs/heads/master@{#411362}

TBR=aberent@chromium.org,caitkp@chromium.org,jbudorick@chromium.org,nyquist@chromium.org,cbentzel@chromium.org,tedchoc@chromium.org,thestig@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=522043

Review-Url: https://codereview.chromium.org/2239003002
Cr-Original-Commit-Position: refs/heads/master@{#411367}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aab3f54067c45400063f8d088274edf5aa9add6f
2016-08-11 17:26:28 +00:00
mikecase 3cdb014c8b Update all Robolectric tests to Robolectric 3.0
BUG=522043

Review-Url: https://codereview.chromium.org/2195143002
Cr-Original-Commit-Position: refs/heads/master@{#411362}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de621335b3d5b104587934b51cf83eb17911b14a
2016-08-11 17:03:11 +00:00
agrieve e18f025ff4 Pass input_jars_paths of libs to final proguard step
This comes up when a library / prebuilt has a dependency on apache http,
such as is the case with some play services libraries. If
pre-proguarding is turned off, the final apk proguard() step fails
without this change.

BUG=624324

Review-Url: https://codereview.chromium.org/2227523002
Cr-Original-Commit-Position: refs/heads/master@{#411358}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71d53fa016887abec5807c7dfcd9e93ec0ab12a5
2016-08-11 16:46:14 +00:00
dpranke 752e3104d6 Add a way for CrOS toolchains to set custom flags for the nacl bootstrap.
R=llozano@chromium.org, bradnelson@chromium.org
BUG=629593

Review-Url: https://codereview.chromium.org/2188633004
Cr-Original-Commit-Position: refs/heads/master@{#411350}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ffe82493c719eb280aa895608f16ae80898ad68
2016-08-11 16:30:33 +00:00
peconn f626772c10 Pass regenerate-goldens flag through to Java.
BUG=635937

Review-Url: https://codereview.chromium.org/2233193002
Cr-Original-Commit-Position: refs/heads/master@{#411322}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 972dd1147691395c2e85d91669e355506ca36141
2016-08-11 14:27:04 +00:00
rsesek a9c5321cb9 Partially revert 8b0cda7f8d3f9a4f1d53c78600fb0c62c7eec7f9.
That CL modified the conditions under which enable_dsyms and enable_stripping
get set, which is not desired. This leaves in place the change for sanitizers.

BUG=635242
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2232943003
Cr-Original-Commit-Position: refs/heads/master@{#411306}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 002fbfa1c30058690e76c010d1b0b8801e8a2d39
2016-08-11 12:15:17 +00:00
scottmg 01ebc7132b win: Add win_linker_timing setting
This is useful to see why /incremental is failing when it does. Also tidy up a bit of 2013 logic we don't need any more.

Review-Url: https://codereview.chromium.org/2234693002
Cr-Original-Commit-Position: refs/heads/master@{#411082}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ccb02e5b095c62d0a799b40a40f9a7ebebb8298d
2016-08-10 17:56:20 +00:00
phajdan.jr 3ca740d8b4 Fix stack trace when uploading android test results
BUG=636316

Review-Url: https://codereview.chromium.org/2238443002
Cr-Original-Commit-Position: refs/heads/master@{#411064}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fc17b527c4015e341c69c511ee4f4abf78c66b55
2016-08-10 17:12:05 +00:00
sdefresne 99af9357d5 Fix code signing for iOS bundle when targetting simulator.
When building for simulator, embedded.mobileprovision should not be
copied into the bundle, and not entitlement should be passed to the
"codesign" tool.

BUG=634373

Review-Url: https://codereview.chromium.org/2231723002
Cr-Original-Commit-Position: refs/heads/master@{#411006}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa4d65708c18e2b407f92654237ab2c1fdc3cea7
2016-08-10 08:41:38 +00:00
sdefresne c8f6386d71 Fix the location of resources in iOS frameworks.
On iOS, the resources for an application and a framework bundle are
located in the root of the bundle (as opposed to macOS where they
are located in the Resources sub-directory).

The incorrect location caused code signature failure (when code
signature is enabled, which is only the case on downstream iOS
bots).

BUG=635302

Review-Url: https://codereview.chromium.org/2233663002
Cr-Original-Commit-Position: refs/heads/master@{#410984}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3cbe1a432673431822494cca4b8d662eca112d72
2016-08-10 06:47:14 +00:00
dpranke 72dffd1803 Make sure dSYMs are created by default for Mac sanitizer builds.
They should be created by default for sanitizer builds (and were w/
GYP), but that setting got lost in the GN migration.

Also, this CL corrects the default logic for enable_dsyms and
enable_stripping so that we only do this for internal official
builds by default, rather than for all "official" builds (
since is_official_build is really an optimization setting, not
a description of how things should be packaged).

R=rsesek@chromium.org, thakis@chromium.org, inferno@chromium.org
BUG=635242

Review-Url: https://codereview.chromium.org/2230723002
Cr-Original-Commit-Position: refs/heads/master@{#410979}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8b0cda7f8d3f9a4f1d53c78600fb0c62c7eec7f9
2016-08-10 06:21:17 +00:00
kjellander f5ada5c988 Revert of Added tombstones in instrumentation tests results. (patchset #11 id:200001 of https://codereview.chromium.org/2201833002/ )
Reason for revert:
This breaks the stack_tool_for_tombstones step for many bots in https://build.chromium.org/p/chromium.android, like this:
W    0.547s Main  No tombstones.
Traceback (most recent call last):
  File "/b/c/b/Android_Webview_L__dbg_/src/build/android/tombstones.py", line 304, in <module>
    sys.exit(main())
  File "/b/c/b/Android_Webview_L__dbg_/src/build/android/tombstones.py", line 300, in main
W    0.547s Main  No tombstones to resolve.
    for line in resolved_tombstones:
TypeError: 'NoneType' object is not iterable

Please make sure to have proper tests in place before relanding.

Original issue's description:
> Added tombstones in instrumentation tests results.
>
> If an instrumentation test crashes, the cl will grab the tombstones and
> add the tombstones as a part of the result.
>
> BUG=631213
>
> Committed: https://crrev.com/d7dd97f2828447fb9af45ea119e703500b167cb8
> Cr-Commit-Position: refs/heads/master@{#410929}

TBR=mikecase@chromium.org,jbudorick@chromium.org,hzl@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=631213

Review-Url: https://codereview.chromium.org/2231693002
Cr-Original-Commit-Position: refs/heads/master@{#410977}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 691ffafc730315027ce0887c39d2d6393e5b2f26
2016-08-10 06:14:54 +00:00
sdefresne d628049ebb Allow disabling code signature for ios_framework_bundle target.
BUG=None
NOTRY=true

Review-Url: https://codereview.chromium.org/2231673002
Cr-Original-Commit-Position: refs/heads/master@{#410974}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7de09f5fa3dcb383e6797b363dd3707cac184657
2016-08-10 05:55:35 +00:00
dpranke f0d063fa06 Fix v8_current_cpu setting for CrOS builds after r410853.
In r410853 we changed how the GN toolchains move arguments around,
but we missed one reference to the v8_toolchain_cpu in the CrOS
toolchain definitions. This CL fixes that.

TBR=brettw@chromium.org, stevenjb@chromium.org
BUG=634446

Review-Url: https://codereview.chromium.org/2231643002
Cr-Original-Commit-Position: refs/heads/master@{#410933}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 72d6d06aef7e5284e20e30c685ec35557d9e38a7
2016-08-10 03:04:31 +00:00
hzl e1fa1d72e5 Added tombstones in instrumentation tests results.
If an instrumentation test crashes, the cl will grab the tombstones and
add the tombstones as a part of the result.

BUG=631213

Review-Url: https://codereview.chromium.org/2201833002
Cr-Original-Commit-Position: refs/heads/master@{#410929}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7dd97f2828447fb9af45ea119e703500b167cb8
2016-08-10 02:45:14 +00:00
sdefresne 29a142f18e [iOS] Fix compilation of official build with Xcode 8.
When targeting iOS, do not enforce a specific version of the macOS
SDK (as the targets build with that SDK are only tool required for
the build using host_toolchain).

BUG=634373

Review-Url: https://codereview.chromium.org/2225203003
Cr-Original-Commit-Position: refs/heads/master@{#410886}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 750b90480e0fcc67e292444cfdc350171bdaed06
2016-08-10 00:09:59 +00:00
brettw 56e8f75dbe Remove GN forwarding of the target variables.
The Posix toolchain definitions forwarded the target_cpu and target_os to all secondary toolchains. But the computation of these values should be invariant of the toolchain. This removes the forwarding.

Review-Url: https://codereview.chromium.org/2229063002
Cr-Original-Commit-Position: refs/heads/master@{#410883}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ec467a46f0e8760fae1928e4040d053caae843df
2016-08-10 00:03:42 +00:00
brettw 441e520c3f Use new toolchain_args variable in GN.
toolchain_args is changing from a function call to a scope that can be passed around. Pipe these args through the various toolchain templates. This adds complexity in some cases, but it eliminates the need for the toolchain templates to know about every build flag they might ever be called with.

BUG=634446

Review-Url: https://codereview.chromium.org/2219953002
Cr-Original-Commit-Position: refs/heads/master@{#410853}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3c38c5cdab9e6fc35852ae79be5351be2bd6d49e
2016-08-09 22:23:24 +00:00
sdefresne 84e23b51eb Make compile_xcassets.py less verbose.
Parse output of actool and discard uninteresting messages and
fail on unexpected warning messages (as actool termines with
a success error code even if some resources are missing).

BUG=635306

Review-Url: https://codereview.chromium.org/2224763002
Cr-Original-Commit-Position: refs/heads/master@{#410824}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5b150b0a5a28f95f651767f901819390fc065676
2016-08-09 21:24:21 +00:00