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

9211 Коммитов

Автор SHA1 Сообщение Дата
brettw b5bb956088 Move sanitizer and symbol flags out of BUILDCONFIG
TBR=mmoss@chromium.org (chrome/installer/linux)
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Original-Commit-Position: refs/heads/master@{#348727}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4cab0f1c83325704d637168c43fabc894f97939d
2015-09-14 21:41:14 +00:00
jbudorick b98cedcffe [Android] Use large_output=True when getting all properties.
The initial caching getprop call fails without an exit code when its
output gets truncated. It currently gets reran with large_output=True,
but switching it to do so by default will reduce noise.

see e.g. http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/22248/steps/events_unittests/logs/stdio

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#348722}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a90ba4b756ed5703a94383815c1338852541c483
2015-09-14 21:06:34 +00:00
brettw 55ab2d4620 Don't reference instrumented-libraryes with sanitizers disabled.
Previously //build/config/sanitizer:deps unconditionally depended on
//third_party/instrumented_libraries:deps. This dependency is only necessary
//when compiling with a sanitizer, and in standalone other projects like nacl,
//instrumented_libraries doesn't exist.

This patch makes all contents of sanitizer:deps conditional on using a
sanitizer, which matches what the documentation explicitly says.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#348719}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bc6f9a5b1858c70d852029f77020cabd3db879f6
2015-09-14 20:57:13 +00:00
agrieve 14fc68fb65 DeviceUtils: When skipping "adb install", run "am force-stop"
An "adb install" always terminates the app, so when skipping the step,
we should terminate the app to have consistent behaviour.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#348712}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a87495be3a6a5be1ac0d1175898efa54689a99ff
2015-09-14 20:35:48 +00:00
dpranke cbeec6d690 Use gold for linking on both 32-bit and 64-bit linux GN builds.
R=brettw@chromium.org, thestig@chromium.org
BUG=432959

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

Cr-Original-Commit-Position: refs/heads/master@{#348703}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc2490a2986d70a393c04b6f69e52e82514bc9b7
2015-09-14 20:19:29 +00:00
brettw fa27f4cab0 Fix nested config in GN.
This also moves the config out of the template. Otherwise this will generate an
error if there is more than one MIDL target in the same directory.

Use forward_variables_from in the MIDL template.

TBR=dpranke@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#348664}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c0c67ed3859656cb869fb517527938f70ed0cc6
2015-09-14 18:39:47 +00:00
stip b9c2d6b88f Isolate ui_android_unittests.
BUG=525873

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

Cr-Original-Commit-Position: refs/heads/master@{#348650}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5ae0f3cfa02de9fcb8f8ab33e6944b06fccf5cf0
2015-09-14 17:47:34 +00:00
agrieve a0a24ed2fc Make generated bin/install_incremental_* script remember its own CHROMIUM_OUTPUT_DIR
BUG=520082

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

Cr-Original-Commit-Position: refs/heads/master@{#348620}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b45d19e19fc8bcb9c68be81f1be5549b1ee4f790
2015-09-14 15:31:49 +00:00
brettw d0ebcc4bcf Clean up some GN toolchain args, especially NaCl.
Uses forward_variables_from for the gcc_toolchain and nacl_toolchain templates
when applicable.

Add the ability to clear the sanitizer flags and use this for nacl.

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

Cr-Original-Commit-Position: refs/heads/master@{#348522}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f5d97233985fac498ada3def2c2b3f4e8bbaafd9
2015-09-12 03:04:58 +00:00
agrieve 2a3d4ed349 DeviceUtils: Fix crash when creating error message for a non-userdebugdevice
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#348450}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76ba5bfcf815b6710381b549436d3272fb3565b2
2015-09-11 18:48:03 +00:00
yfriedman b68cbe8352 Update OWNERS file now that Chris has left the project.
TBR=sgurun

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

Cr-Original-Commit-Position: refs/heads/master@{#348427}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 23eab49ca0ee6393cc4df084ed79201011a19749
2015-09-11 17:59:42 +00:00
agrieve 4f25010237 Refactor DeviceUtils.Install and InstallSplitApk to use the same helper
Motivated by Install() getting a new permissions attribute without
InstallSplitApk() being updated (http://crrev.com/de468d72d9e)

There is also a sematic change:
- When a previous install is present and reinstall=False, we used to
  check if the install on-device was identical and no-op in this case.
  Now, we do an uninstall + install regardless of whether the on-device
  version is identical. This new behaviour is more correct since it
  guarantees that no stale data will be present when reinstall=False.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#348419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 307cf30fea5e791de2ebac395b1d9a154afc637b
2015-09-11 17:31:03 +00:00
jbudorick 6ac5f02cf0 [Android] Don't use a device blacklist if one isn't provided. (RELAND 2)
original: https://codereview.chromium.org/1314823011
reland 1: https://codereview.chromium.org/1304303006

BUG=517709
TBR=rnephew@chromium.org,phajdan.jr@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#348418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a583ba3c77f32c0a1c4a870d5d8734b003150396
2015-09-11 17:23:59 +00:00
agrieve a0aac4055b Fix md5sum.py crashing when trying to delete non-existent md5sum directory
"rm -rf foo/" fails, but "rm -rf foo" succeeds

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#348415}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a9d40e8aedcad7433eed48f3437f39f0ccfc2a86
2015-09-11 16:54:34 +00:00
thakis 345ac95902 Remove clang type profiler and deep memory profiler.
Looks like it's no longer functional and unused.

BUG=490464
TBR=jochen

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

Cr-Original-Commit-Position: refs/heads/master@{#348392}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5747a19cad8feb463125f3c80376d3c535f25523
2015-09-11 13:51:44 +00:00
pcc 1d304d9444 Port CFI build configuration to GN.
BUG=464797
R=brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#348323}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34ab19d59ff4a5bc098d90eb7c4fc76afec568ef
2015-09-11 03:08:53 +00:00
dpranke eab10283ef Enable nacl on 32-bit x86 linux GN builds.
It looks like the only thing missing at this point was to correct
the path to the host build of tls_edit when linking the IRT.

R=brettw@chromium.org, phosek@chromium.org
BUG=512882

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

Cr-Original-Commit-Position: refs/heads/master@{#348302}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a512a524d8541b52c0a0a264215d3499ec1bbb1d
2015-09-11 00:46:48 +00:00
stip 115d612074 Add date mismatch logging.
BUG=528647

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

Cr-Original-Commit-Position: refs/heads/master@{#348296}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 409b2a3d4b2c52578477a979e50eb23334e96c43
2015-09-11 00:33:26 +00:00
rnephew 3965f1210d [Android] grant READ_EXTERNAL_STORAGE permission when adding WRITE_EXTERNAL_STORAGE.
BUG=529897

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

Cr-Original-Commit-Position: refs/heads/master@{#348292}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 726cbf6abae8ea2c326501621e3b88ffb685e94c
2015-09-11 00:11:08 +00:00
dpranke 3247a8ec50 Make sure cflags is forwarded in the ios_app executable template.
R=brettw@chromium.org, kjellander@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#348264}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4bcc95b28ee924fa3ac5b488a9c2a954336533b5
2015-09-10 22:38:04 +00:00
andybons e430bc5e04 [GN] Remove cflags_c from objc and cflags_cc from objcxx toolchains
//build/config/compiler/BUILD.gn has the following lines which make the declarations in the toolchains superfluous:

  # Pass the same C/C++ flags to the objective C/C++ compiler.
  cflags_objc += cflags_c
  cflags_objcc += cflags_cc

R=brettw@chromium.org
BUG=none

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

Cr-Original-Commit-Position: refs/heads/master@{#348197}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bd1aafe5d735405a27266a38a0af38be2d17d0bd
2015-09-10 18:34:45 +00:00
brettw dbb2eca951 Add a new flag to assist in landing optimization update.
This is as described in the new comment to assist in updating V8 so https://codereview.chromium.org/1324623005/ can be landed.

TBR=dpranke

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

Cr-Original-Commit-Position: refs/heads/master@{#348193}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6df1a1f0cdebf68c08e912c15f1575555e08392
2015-09-10 18:25:22 +00:00
jbudorick 073fd3db51 Revert of [Android] Don't use a device blacklist if one isn't provided. (RELAND) (patchset #3 id:40001 of https://codereview.chromium.org/1304303006/ )
Reason for revert:
broke the gpu bots again? https://code.google.com/p/chromium/issues/detail?id=530242

Original issue's description:
> [Android] Don't use a device blacklist if one isn't provided. (RELAND)
>
> This is a reland of https://codereview.chromium.org/1314823011
>
> BUG=517709
>
> Committed: https://crrev.com/7555cbb5daf4fb30cb56de9ed4dd8bcd565b5cf6
> Cr-Commit-Position: refs/heads/master@{#348158}

TBR=phajdan.jr@chromium.org,rnephew@chromium.org,rnephew@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

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

Cr-Original-Commit-Position: refs/heads/master@{#348174}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 414d29f60e80faaf06ff974e4967bc4452fa3fa7
2015-09-10 17:26:32 +00:00
jbudorick 3e069c5945 [Android] Don't use a device blacklist if one isn't provided. (RELAND)
This is a reland of https://codereview.chromium.org/1314823011

BUG=517709

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

Cr-Original-Commit-Position: refs/heads/master@{#348158}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7555cbb5daf4fb30cb56de9ed4dd8bcd565b5cf6
2015-09-10 15:39:01 +00:00
jbudorick 88bacfe92c [Android] Fix low-battery blacklisting in device_status_check.
BUG=
TBR=rnephew@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#348152}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b343622959465a5324c854b794f710730bef0498
2015-09-10 14:38:32 +00:00
dpranke facfa6be13 Enable asm compilation in libjpeg_turbo on Linux.
R=brettw@chromium.org, noel@chromium.org
BUG=528437

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

Cr-Original-Commit-Position: refs/heads/master@{#347975}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 322cdd03393c80900c702c246001e4a09fb60a4b
2015-09-09 19:26:06 +00:00
pasko 598b3b37c7 cygprofile: increase timeouts to allow showing web contents
Also doing a fork() changes thread id (syscall gettid), which breaks the
assumptions in cygprofile.cc, disabled a fork in library_prefetcher.

Verified: with these changes the instrumented build is able to display the
contents of 'https://google.com'. It does not finish loading though, which is
probably due to some other timeouts.

BUG=503613

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

Cr-Original-Commit-Position: refs/heads/master@{#347918}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e3a753f17bac62738b0dbf0b36510f767b081e4b
2015-09-09 12:57:15 +00:00
akuegel e37d9c80c2 Reland of Fix typo in install-sysroot.py (patchset #1 id:1 of https://codereview.chromium.org/1315773003/ )
Reason for revert:
The check_licenses script has been fixed, and it cycled green:
https://build.chromium.org/p/chromium/builders/Linux/builds/66708

Original issue's description:
> Revert of Fix typo in install-sysroot.py (patchset #2 id:20001 of https://codereview.chromium.org/1317973005/ )
>
> Reason for revert:
> Caused check_licenses to fail:
>
> https://build.chromium.org/p/chromium/builders/Linux/builds/66701
>
> Original issue's description:
> > Fix typo in install-sysroot.py
> >
> > install-sysroot.py was intended to default to installing
> > the sysroot ia32, but within this script 'i386' is used to
> > refer to this architecture.
> >
> > This most likely went unnoticed since the ia32 builder
> > either use branding=Official, or explicitly set
> > use_sysroot=1, or have a complete set of packages for
> > cross building on the host system.
> >
> > BUG=504446
> >
> > Committed: https://crrev.com/1d62049b4c176fbd43bed90fc9a76273b11ad406
> > Cr-Commit-Position: refs/heads/master@{#347821}
>
> TBR=dpranke@chromium.org,sbc@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=504446
>
> Committed: https://crrev.com/3b27a2de111759359162bcad49753e17ee1cf002
> Cr-Commit-Position: refs/heads/master@{#347839}

TBR=dpranke@chromium.org,sbc@chromium.org,chrishtr@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#347901}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 064aca24669857d48458749952a3bc7c9c516e63
2015-09-09 10:29:13 +00:00
chrishtr cf0d22d3a6 Revert of Fix typo in install-sysroot.py (patchset #2 id:20001 of https://codereview.chromium.org/1317973005/ )
Reason for revert:
Caused check_licenses to fail:

https://build.chromium.org/p/chromium/builders/Linux/builds/66701

Original issue's description:
> Fix typo in install-sysroot.py
>
> install-sysroot.py was intended to default to installing
> the sysroot ia32, but within this script 'i386' is used to
> refer to this architecture.
>
> This most likely went unnoticed since the ia32 builder
> either use branding=Official, or explicitly set
> use_sysroot=1, or have a complete set of packages for
> cross building on the host system.
>
> BUG=504446
>
> Committed: https://crrev.com/1d62049b4c176fbd43bed90fc9a76273b11ad406
> Cr-Commit-Position: refs/heads/master@{#347821}

TBR=dpranke@chromium.org,sbc@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#347839}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3b27a2de111759359162bcad49753e17ee1cf002
2015-09-08 23:59:11 +00:00
sbc 98cb144d29 Fix typo in install-sysroot.py
install-sysroot.py was intended to default to installing
the sysroot ia32, but within this script 'i386' is used to
refer to this architecture.

This most likely went unnoticed since the ia32 builder
either use branding=Official, or explicitly set
use_sysroot=1, or have a complete set of packages for
cross building on the host system.

BUG=504446

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

Cr-Original-Commit-Position: refs/heads/master@{#347821}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d62049b4c176fbd43bed90fc9a76273b11ad406
2015-09-08 23:03:23 +00:00
jbudorick 5e649ee15f [Android] Move perf utilities into devil.
BUG=476719

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

Cr-Original-Commit-Position: refs/heads/master@{#347808}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71c816ff402a57fa047c8ee7a391d84b009dc068
2015-09-08 22:10:05 +00:00
megjablon 423419c3c4 New illustrations for the Data Reduction Proxy promo
Also, fix the button alignment.

BUG=470433, 527266

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

Cr-Original-Commit-Position: refs/heads/master@{#347798}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 963891f0ae6078b07aa256c5024a618905c5d287
2015-09-08 21:45:04 +00:00
rnephew f526e23829 [Android] Set permission when installing apks.
To support M testing, we need to explicilty grant permissions to apps
when we install them.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#347787}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de468d72d9eeeb86b439e6a7c877de0ebb349fca
2015-09-08 21:03:37 +00:00
rnephew f536e96df0 [Android] Improve error messaging for amp failures.
Currently, it will double report test failures, and
will improperly report crashes without a long message.

BUG=512305

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

Cr-Original-Commit-Position: refs/heads/master@{#347785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2347b0e01194f15e2c4fecaaea4b2e84a0ba058a
2015-09-08 20:52:03 +00:00
jbudorick 649b540d43 [Android] Add a custom pylintrc for build/android/.
The default depot_tools pylintrc disables some checks that we can
reasonably enable in build/android/. This CL does so.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#347720}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 58b4d3677418a2360c23e118199f5cf8992d4178
2015-09-08 16:45:52 +00:00
jbudorick 32c42d8299 [Android] Minor fixes for device_status_check.
This includes:
 - catching IOError on failure to reset USB
 - adding newlines to the bot status output

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#347713}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 46e0c7d3fd1f7a484f6319240f120378b4c48cd3
2015-09-08 16:21:57 +00:00
agrieve 90b93a3b87 Add --verbose flag to incremental_install.py
BUG=520082

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

Cr-Original-Commit-Position: refs/heads/master@{#347711}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d1c2ae8a9291ef00d6ebd6bda2a269d562a285e1
2015-09-08 16:16:54 +00:00
andrewhayden f011842875 Add cld2_table_size variable to GN build.
This variable has been in common.gypi for some time, but was missing from GN.

BUG=528257

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

Cr-Original-Commit-Position: refs/heads/master@{#347576}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b32a1daf9763b66e7f12a3e88e4b526589dd8479
2015-09-05 20:59:10 +00:00
rtoy 8dcb4e3077 use_concatenated_impulse_responses required for grit
If use_concatenated_impulse_responses is set (in config.gni), then
grit needs to have it defined as well.  This is needed to reference
the appropriate response files for the HRTF panner in WebAudio.

BUG=528424
TEST=webaudio panner tests pass

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

Cr-Original-Commit-Position: refs/heads/master@{#347534}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4c50633b258d948b7d28f4bb7af3a787ac8b7079
2015-09-04 23:44:50 +00:00
petermayo 9699cf1900 Don't use evdev except for target
libevdev-cros is not needed for the host tooling, and is not availale for
the host in a chroot chromeos building environment.

BUG=527996

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

Cr-Original-Commit-Position: refs/heads/master@{#347531}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 97739b5fcf32a746c38d8142bff56d0072953dbf
2015-09-04 23:38:41 +00:00
nparker cc36b22b62 Disable mobile safe browsing on public builds.
It's reenabled for private builds in
https://chrome-internal-review.googlesource.com/#/c/228862/

BUG=527253

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

Cr-Original-Commit-Position: refs/heads/master@{#347527}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 452aca9e626f2205eccad423781fd2332502ab52
2015-09-04 23:33:44 +00:00
nyquist c1abb8cb8d Add support for overriding keystore for signing.
This CL adds support for overriding android_keystore_path,
android_keystore_name, android_keystore_password from other config
files.

It also adds documentation to these arguments and removes 'default'
from their name.

The chromium debug key is still used by default for all builds.

BUG=479253

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

Cr-Original-Commit-Position: refs/heads/master@{#347521}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fbc342116e60698aae09bf4175a30bf8ccc14704
2015-09-04 23:10:30 +00:00
brettw 65bd1dbdd2 Add a flag to BUILDCONFIG for updating some global configs.
This is part one of a multi-way landing, as described in the comment for the added flag.

The patch that this enables is https://codereview.chromium.org/1324623005/ which will be landed after ffmpeg and WebKit have been updated.

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

Cr-Original-Commit-Position: refs/heads/master@{#347495}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 96453de346274c747c13d89c2ffaf9a6ce0ba667
2015-09-04 21:53:33 +00:00
robertocn b63cdf1839 Revert of [Android] Don't use a device blacklist if one isn't provided. (patchset #1 id:1 of https://codereview.chromium.org/1314823011/ )
Reason for revert:
Speculative revert, some builders (Nexus 5, 6 and 9 under chromium.gpu) are failing at the device status check step after this change due to:

  File "build/android/buildbot/bb_device_status_check.py", line 154, in blacklisting_device_status
    if not serial in blacklist.Read():
AttributeError: 'NoneType' object has no attribute 'Read'

See http://build.chromium.org/p/chromium.gpu/builders/Android%20Debug%20%28Nexus%205%29/builds/2067 for example.

Original issue's description:
> [Android] Don't use a device blacklist if one isn't provided.
>
> BUG=517709
>
> Committed: https://crrev.com/be5c91849d2196f97c7a4e0b3e90597c3f2b4c40
> Cr-Commit-Position: refs/heads/master@{#347473}

TBR=rnephew@chromium.org,jbudorick@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

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

Cr-Original-Commit-Position: refs/heads/master@{#347489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0179090eb844b39ea55bd70e8e2202c4d3a81026
2015-09-04 21:20:11 +00:00
agrieve 4d3665fb6a Speed up device_utils's zip pushing, and don't use a constant temp file
- Defers running of a few adb commands so that they happen while the host zip is being constructed.
- Combines unzip & chmod into a single command

Reduces time to re-push all .so files from 23s->21s

BUG=520082

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

Cr-Original-Commit-Position: refs/heads/master@{#347478}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ff506f629332dbeb3efb3df73cf8ff5b168312e8
2015-09-04 20:11:40 +00:00
jbudorick db0259a731 [Android] Don't use a device blacklist if one isn't provided.
BUG=517709

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

Cr-Original-Commit-Position: refs/heads/master@{#347473}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be5c91849d2196f97c7a4e0b3e90597c3f2b4c40
2015-09-04 19:47:07 +00:00
newt 118a631355 Cast ChromeShell into the fiery pit of Mount Doom.
This deletes the no-longer-used ChromeShell. Its raison d'être has been
supplanted by ChromePublic (the chrome_public_apk build target).
Goodbye, ChromeShell!

BUG=510220

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

Cr-Original-Commit-Position: refs/heads/master@{#347454}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 44ce026f8450c71f6592beb02c7db825c1c4e82c
2015-09-04 18:46:46 +00:00
brettw c1b2bea949 Improve mini installer and official build GN flags
I went through and did some flag auditing to try to get GN's official build mini_installer target as small as GYP's. It's still 512 bytes too large.

Adds the custom mini_installer flags to the "lib" target as well as the main mini_installer target. This removes some imports around exception handling.

Sync some official build flags: LTCG should go on all optimized targets in official builds, not just "optimize max" ones. Doing this on optimize max has no effect because we only set optimize_max on individual libraries that need to be fast, rather than anything that gets linked.

Convert /OPT:REF to /OPT:ICF. GYP specifies both, but ICF seems to imply REF according to MSDN.

Added some missing release mode flags "/d2Zi+", "/Zc:inline", and "/cgthreads:8", which I found missing from GN.

Removed a dependency on "setup" from mini installer, this is captured by the dependency on ":archive" (which already includes the setup dependency).

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

Cr-Original-Commit-Position: refs/heads/master@{#347447}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7cb45ce734f09f358e62fd982c8fa288673b2ab5
2015-09-04 18:03:14 +00:00
andrewhayden e85fbd4398 Update Android to use Compact Language Detector v2.
Android is the last remaining platform that has not yet converted to CLDv2.
Sheriffs: expect to see APK size changes in the range of [-122K, +98K] bytes.
See the bug for more information.

As on iOS, use the smallest data tables to minimize the binary size impact.
This brings language detection on Android into parity with iOS (which also uses
the smallest data tables).

BUG=528257

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

Cr-Original-Commit-Position: refs/heads/master@{#347418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a70dc32d62dc1a0e9a8885f2258fe612aeb1f06
2015-09-04 16:18:25 +00:00
agrieve 50ac99d89e GN: Make the wrapper script generated for junit work without extra args
Still works with GYP, but for gyp you need the extra arg.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#347413}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 60d3387b05d03cccc8b2339a0541ef6972d2a307
2015-09-04 15:40:59 +00:00