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

9014 Коммитов

Автор SHA1 Сообщение Дата
pvalenzuela 8c0e43c1ae Convert ChromeSyncShell to use ChromePublic infrastructure
Several test fixes are included to support this change.

Note: This CL only provides a GYP implementation (no GN). This is not a
regression from the previous state.

BUG=510211

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

Cr-Original-Commit-Position: refs/heads/master@{#344128}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 62ca3f0326203cca221bba6f0ee038ff292ecc66
2015-08-19 02:09:46 +00:00
jbudorick dacbae0bde [Android] Add --blacklist-file as a command-line option.
BUG=517709

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

Cr-Original-Commit-Position: refs/heads/master@{#344125}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9874769cf24b5870d9bb7c22fe5312b1cf8bcd5e
2015-08-19 01:57:12 +00:00
andybons b2919ba215 Specify -install_name of target within solink.
R=dpranke@chromium.org,thakis@chromium.org,mark@chromium.org
BUG=345410,345021

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

Cr-Original-Commit-Position: refs/heads/master@{#344027}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f6982d816ef5a3bb63c1977bfe24663b07c03648
2015-08-18 21:05:28 +00:00
thakis cc3dd17acf clang/win: Enable -Woverloaded-virtual globally.
Previously, it was only enabled for chromium_code on Windows.

BUG=505301

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

Cr-Original-Commit-Position: refs/heads/master@{#343979}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6e4734b82f3fa0ed8fea5365ac92dde7e4c29a4f
2015-08-18 18:44:07 +00:00
estevenson 9c46b5a2b4 Add fractional line coverage + logging change.
Added fractional line coverage to line by line coverage information so that the fractional line coverage will be available in generated JSON files.

Changed logging level of skipped files.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343944}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 39bc8c2a5c6a7b9b4f97d2b29359e151b9ccf402
2015-08-18 17:01:03 +00:00
rnephew e980d5680e [Android] Change battery_utils TieredSetCharging from exceptions based to discovery based
Currently, it throws an exception to know it cannot do hardware level disable, this
changes it to use profile discovery to decide how to disable charging.

BUG=520958

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

Cr-Original-Commit-Position: refs/heads/master@{#343929}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c0202d6ab7d128fe54e6fea8ab654918e5e2f3f2
2015-08-18 15:58:46 +00:00
estevenson 703cebc118 Handle missing EMMA files.
When EMMA files are missing (i.e. the emma_filter didn't cover the java
source file that was changed) the script should still run properly.
Handled missing EMMA files by skipping them and only running coverage
stats on source files that have corresponding EMMA files.

Also updated tests.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343917}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7d5973f6998a87987c474585fe1ac3179a39480b
2015-08-18 14:50:36 +00:00
mmaliszkiewicz 39f10ca449 Allow enable_hangout_services_extension overriding in gn build
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343871}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: efefbb817804457c48c388db8e96241d528d20ff
2015-08-18 09:57:24 +00:00
dgn 1c6bbb7030 [Android] Start requiring Google Play services 7.8
It is contained in the SDK manager package google_play_services
version 26. Running hooks/gyp/gn will check the local version
and prompt to run the update if it is needed.

BUG=491280,477059

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

Cr-Original-Commit-Position: refs/heads/master@{#343862}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0c50961006cd76b2a20f445a6f296535664e777d
2015-08-18 09:00:14 +00:00
andybons 2ee65967ad Move rpath ldflags under is_component_build
The shared library flags currently being passed should only be passed in
component builds. The location of dylibs in a non-component build is already
known so it’s superfluous to specify additional search paths via rpath.

-search_paths_first is the default on ld starting with the Xcode4 toolchain.
-L. isn’t needed since the absolute path of the dylib is being specified at link time.

R=mark,dpranke,thakis
BUG=345021

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

Cr-Original-Commit-Position: refs/heads/master@{#343793}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 465929bd9eccfd0de10965867e0378eee4a24dd5
2015-08-18 02:16:07 +00:00
thakis cd1d055650 clang/win: Enable -Wswitch.
BUG=505308

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

Cr-Original-Commit-Position: refs/heads/master@{#343736}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 40b3bd7de9e9f7425b24bc5d8e6e888e9dde6af6
2015-08-17 19:35:20 +00:00
jbudorick 9ba19d13e1 Add self to build/OWNERS.
As suggested in https://codereview.chromium.org/1292753002

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343711}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fcfa051e89a2a91abf4f6c3d42f23aef9b7c2d83
2015-08-17 17:53:18 +00:00
jbudorick df76ed5727 [Android] Revise recovery logic in device_status_check.
The current logic seems to be causing problems on the N6 perf bot:
http://build.chromium.org/p/chromium.perf/builders/Android%20Nexus6%20Perf

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343602}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7996e64b1d86fa874e1f9b98563dedd5d4e3af5
2015-08-16 14:58:17 +00:00
sebmarchand 3a5e12aa35 Make VS2015 component builds work on swarming.
BUG=440500

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

Cr-Original-Commit-Position: refs/heads/master@{#343482}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 568e81bce0dbf53936edfb4d54a5714749a2e619
2015-08-14 20:38:53 +00:00
tdanderson beed7ff8fd Pass enable_topchrome_md as a grit define
Specify enable_topchrome_md as a grit define, which
will be used to specify new asset IDs which
are only applicable to platforms affected by
the material design refresh in browser top chrome.

BUG=520992
TEST=none

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

Cr-Original-Commit-Position: refs/heads/master@{#343415}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 01b7e6102e67d35eb46060f05901f62955ca6e62
2015-08-14 16:58:35 +00:00
jbudorick 4125d5ff59 [Android] fix gyp_managed_install
broken by https://codereview.chromium.org/1290173003

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343325}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6e649cd09900c8679f49ab46dddc2631558fef91
2015-08-14 02:26:13 +00:00
nparker cd969ff149 Switch android to build with safe_browsing=3 mode,
now that the required GMSCore client lib has landed.

This compiles in the support for safe browsing, but functionality is
gated by the AndroidSafeBrowsing field trial that is
disabled by default.

BUG=474608

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

Cr-Original-Commit-Position: refs/heads/master@{#343306}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1587e02948b25f38f4fb9ecfdec715e3d8e18711
2015-08-13 23:53:44 +00:00
navabi 0a49b989db Add apktool and apktool.jar to install-build-deps-android.sh
BUG=452927
TBR=cjhopman@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#343269}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 28978226297bc33a6ca73efb1a82271888a5a8fb
2015-08-13 20:42:51 +00:00
jbudorick a7ffc25452 [Android] Reland of Remove android_commands and android_testrunner.
Original CL: https://codereview.chromium.org/1290773009/
Revert: https://codereview.chromium.org/1288993002/

BUG=267773
TBR=thakis@chromium.org,maruel@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#343257}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cd661e4ff1097b6916891a99ec9654e39e265fba
2015-08-13 19:34:26 +00:00
csharp 7bc369f2ef Revert of [Android] Remove android_commands and android_testrunner. (patchset #3 id:40001 of https://codereview.chromium.org/1290773009/ )
Reason for revert:
This seems to have broken the Google Chrome Linux x64 build

Output:
FAILED: cd ../../content; python ../tools/isolate_driver.py check --isolated "../out/Release/telemetry_gpu_unittests.isolated" --isolate "telemetry_gpu_unittests.isolate" --path-variable DEPTH .. --path-variable PRODUCT_DIR "../out/Release " --extra-variable "version_full=46.0.2482.0" --config-variable "CONFIGURATION_NAME=Release" --config-variable "OS=linux" --config-variable "asan=0" --config-variable "branding=Chrome" --config-variable "chromeos=0" --config-variable "component=static_library" --config-variable "disable_nacl=0" --config-variable "enable_pepper_cdms=1" --config-variable "enable_plugins=1" --config-variable "fastbuild=0" --config-variable "icu_use_data_file_flag=1" --config-variable "internal_gles2_conform_tests=0" --config-variable "kasko=0" --config-variable "libpeer_target_type=static_library" --config-variable "lsan=0" --config-variable "msan=0" --config-variable "target_arch=x64" --config-variable "tsan=0" --config-variable "use_custom_libcxx=0" --config-variable "use_instrumented_libraries=0" --config-variable "use_prebuilt_instrumented_libraries=0" --config-variable "use_openssl=1" --config-variable "use_ozone=0" --config-variable "use_x11=1" --config-variable "v8_use_external_startup_data=1"
Failed to find an input file: /b/build/slave/google-chrome-rel-linux_64/build/src/third_party/android_testrunner/ is not a directory but ends with "/"

Original issue's description:
> [Android] Remove android_commands and android_testrunner.
>
> Good riddance.
>
> BUG=267773
>
> Committed: https://crrev.com/d71baced2e55f9f102189c490908e3c631a790e2
> Cr-Commit-Position: refs/heads/master@{#343210}

TBR=craigdh@chromium.org,nednguyen@google.com,perezju@chromium.org,sullivan@chromium.org,thakis@chromium.org,jbudorick@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=267773

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

Cr-Original-Commit-Position: refs/heads/master@{#343219}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b0e8b5904780100ed6793e4cca9215e3c453b857
2015-08-13 16:51:28 +00:00
jbudorick 696e4f3542 [Android] Remove android_commands and android_testrunner.
Good riddance.

BUG=267773

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

Cr-Original-Commit-Position: refs/heads/master@{#343210}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d71baced2e55f9f102189c490908e3c631a790e2
2015-08-13 16:32:17 +00:00
lizeb bc2439bec3 customtabs: Move the build files for the sample application to Chromium.
Review URL: https://codereview.chromium.org/1270403003

Cr-Original-Commit-Position: refs/heads/master@{#343129}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 73fc2108fa6264a6133c1ccb0cb06ce1a64c70cb
2015-08-12 23:55:25 +00:00
tfarina a3716e0ecb Remove Android filter file for blink_heap_unittests target.
It is empty.

BUG=339980
TEST=blink_heap_unittests
R=jbudorick@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#343121}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f89a2ec26f8482abb3ceabbda6d46d58c6a416ce
2015-08-12 23:41:08 +00:00
dpranke 73557d9824 Add various GPU isolates for GN.
This adds support for some of test binaries needed in the
'archive_gpu_tests=true' config of a GYP build:

- content_gl_tests
- gles2_conform_tests
- gl_tests
- tab_capture_end2end_tests

There is still more work to be done (telemetry_gpu_tests,
angle_end2end_tests, angle_deqp_*_tests).

R=brettw@chromium.org
BUG=519778

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

Cr-Original-Commit-Position: refs/heads/master@{#343095}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dbdd9d8a60cde386ab1ccab51bd2d818c5b45657
2015-08-12 21:18:58 +00:00
jbudorick 8ff10c539c [Android] Add partial output to TimeoutError raised in cmd_helper.
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343059}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 807c4b377bbf6945949755da93709fd136eb1f3e
2015-08-12 18:29:30 +00:00
agrieve eb40419565 GN: Don't explicitly define __ANDROID__ now that clang defines it automatically
BUG=402625

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

Cr-Original-Commit-Position: refs/heads/master@{#343055}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 566f1e310289474839002875bf25d4321a65087d
2015-08-12 18:14:15 +00:00
rnephew e44a746e15 [Android] Move remote device platform errors to test run base class.
Currently gtests have logic for detecting platform errors on the remote device
platform. This moves it up to the base class for remote_device_test_run and
adds this functionality to instrumentation test runs.

BUG=485842

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

Cr-Original-Commit-Position: refs/heads/master@{#343052}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f768a19437cfcee351469c104c442bc2be14b6fe
2015-08-12 18:09:36 +00:00
tfarina bcf906f566 Remove Android filter file for sync_unit_tests.
BUG=339980
TEST=sync_unit_tests
R=jbudorick@chromium.org,atwilson@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#343011}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c2f3def31972837b72d970e25417b913df74b7a
2015-08-12 13:35:42 +00:00
estevenson 6cdaae6e9f Changed behavior when no files require coverage.
The android_coverage recipe expects a result file to be saved to the --out directory
regardless of if there were files requiring code coverage or not. If no files
require coverage, the script will now save an empty object to the output
file instead of returning early.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#342957}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1167cb33649c82a33bd18f8c08333113458939ff
2015-08-12 01:29:13 +00:00
pcc 0dbd2f18c6 Turn off -Wl,-z,defs and -fno-rtti when building with CFI diagnostics.
The CFI diagnostic mode requires a runtime library, so we need to disable
-Wl,-z,defs in order to allow DSOs to link with undefined references to the
runtime library, as we do for the other sanitizers which require runtime
libraries.

The diagnostic mode can also issue better diagnostics if RTTI is enabled,
so enable RTTI if the diagnostic mode is enabled.

BUG=512614
R=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#342955}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7f19422b7c2f1ecb2541a510321c9ae9ed1886ca
2015-08-12 01:28:02 +00:00
pcc a69bc4372a build: Enable flags for better stack traces in non-official CFI builds.
BUG=464797
R=inferno@chromium.org
TBR=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#342952}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c964309764aeedac75ce8bcd11d59dd1f827484a
2015-08-12 01:03:02 +00:00
rockot fbbd86a8b3 Removed unused mojo_nacl code and GYP targets.
There are subtle generated dependency issues breaking
several bots. The code is upstream in the Mojo repo
at this point and we have no need for the GYP targets
in the foreseeable future.

BUG=519643
TBR=jam@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#342920}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 30011cdf506921f51db7113b54803b886ab928f3
2015-08-11 22:29:08 +00:00
thakis 3f32260bb0 Let build/vs_toolchain.py run on non-Windows if requested.
If `build/vs_toolchain.py update --force` is run once on non-Windows, the
script will start keeping a Windows toolchain in depot_tools up-to-date, and
it'll copy runtime dlls into the build directory, and so on.  (One can delete
build/win_toolchain.json to disable this behavior again.)

Depends on https://codereview.chromium.org/1284723006
BUG=495204

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

Cr-Original-Commit-Position: refs/heads/master@{#342917}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4f4b137f26afe39a02f789832e840757b11f088d
2015-08-11 22:25:28 +00:00
erikchen cccb212479 mac, GN: Pass 10.6 as deployment target.
Previously, GN was using the sdk version as the deployment target,
which meant gn-built binaries couldn't run on OS X versions
older than 10.10 after updating the SDK to 10.10.
With this fix, mac GN matches the behavior of Mac GYP.

BUG=463170

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

Cr-Original-Commit-Position: refs/heads/master@{#342908}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e194adc1f7bdeeb500dcd357283d512651b6bf1b
2015-08-11 21:53:27 +00:00
brucedawson 67fc61d948 Reduce DefaultConcurrentLinks from phys/4GB to phys/5GB.
This is copied from the gyp repo, ninja.py:
https://codereview.chromium.org/1255813005

VS 2015 uses about 20% more memory when linking. This caused a
severe page-fault storm on my development machine and subsequent tests
showed that linking could use ~63 GB of RAM (15 parallel links on a
64 GB machine). This suggests that VS 2013 would also be using a lot
of RAM (52.5 GB?) such that very little was left for other
applications or disk cache.

Linker working sets vary wildly but with VS 2013 there are six links
that use over 6 GB of working set and with VS 2015 there are seven.

This change reduces parallel links by 20% (increase RAM-per-linker by
25%). The value can be overridden by setting GYP_LINK_CONCURRENCY.

Tests with VS 2013 showed no statistically significant change in
build times when link concurrency was reduced from 15 to 10 or 12.
Further reductions may be prudent when we switch to VS 2015.

BUG=440500
R=brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#342892}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad86c6fcef0fbdf26da9165ae8bbbd3748201afc
2015-08-11 21:05:54 +00:00
agrieve dcbaca2584 clang: Compiler tweaks to make android build for x64
BUG=402625

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

Cr-Original-Commit-Position: refs/heads/master@{#342888}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5009c0055139d67ecf5affa2067b71013077e0b2
2015-08-11 21:03:07 +00:00
sbc f1ec2b0a91 Move logic of gyp_chromium into gyp_chromium.py
For historical reasons gyp_chromium.py was launcher script
for gyp_chromium and the python logic lived in the
gyp_chromium.  This change moves python code into the
.py file makes the extension-free gyp_chromium a launcher
for gyp_chromium.py.

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

Cr-Original-Commit-Position: refs/heads/master@{#342887}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1eeaa328a6e7d621857c0026d0a2dd448dbf0f65
2015-08-11 21:02:19 +00:00
agrieve 7f8a7fc59f device_utils.Install: Calculate host md5s at the same time as device md5s
For ChromeModern.apk, this made adb_install_apk.py ~350ms faster on my
machine

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#342879}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1374ea5aacd0423b91def81904752cb0c28b7394
2015-08-11 20:24:06 +00:00
erikchen 7084979673 Reland #2: Switch the default build configuration to use the 10.10 SDK.
The first reland caused Webkit layout test errors on 10.8 and 10.9. Those
errors have been fixed.

Original issue's description:
> mac: Switch the default build configuration to use the 10.10 SDK.
>
> This change is intended to be temporary. The goal is to release a Canary
> compiled against the 10.10 SDK, and then to revert this CL.
>
> BUG=463170
>
> Committed: https://crrev.com/42ba22e0b8e87f758804537f64db23ff6438e451
> Cr-Commit-Position: refs/heads/master@{#340992}

TBR=thakis@chromium.org,amineer@chromium.org
BUG=463170, 515836

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

Cr-Original-Commit-Position: refs/heads/master@{#342870}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a9cbe267748e0360f8c994a1c7209f86f33b944f
2015-08-11 19:32:20 +00:00
agrieve 7b42bf6079 Cache device apk checksums in device_utils.py
On my machine, this brings the time to run:
  bin/run_base_unittests --gtest-filter PathUtilsTest.TestGetDataDirectory

from ~18 seconds to ~15 seconds

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#342860}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 69a68c76ec6d27e8b27eeb0851bbc3247b700a3b
2015-08-11 19:16:38 +00:00
agrieve ed21f598f6 Fix device_utils.SetProp not properly clearing cached value
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#342825}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f15b1d8302972959de4d69047fc13fef9a7d0fec
2015-08-11 15:59:56 +00:00
dtu 318d30963f Reduce timeout for Android tests from 90m to 60m.
Appears to be too long, especially with retries.

BUG=519023

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

Cr-Original-Commit-Position: refs/heads/master@{#342748}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a64135a5b0bd857630487a8e2442c6ce1b049dac
2015-08-11 00:21:38 +00:00
agrieve e8e1d878ba GN: Use lib.unstripped rather than lib.stripped. Add a toolchain.gni
toolchain.gni introduces:
 root_shlib_dir, shlib_prefix, and shlib_extension

The original goal of this change was to put shlibs under lib/ for Linux / Android, since that's where GYP puts them. However, the lack of support for loadable_module (or more specifically - per target output directory) in GN makes this infeasible at the moment.

This change also mitigates a subtle bug where on Android the unstripped .so is used mistakenly instead of the lib.stripped/ version. It also fixes shlib's link_output being set to the unstripped .so rather than the stripped .so (on Android).

BUG=509771

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

Cr-Original-Commit-Position: refs/heads/master@{#342697}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c3cd5e6fe977af4a3c8b20ccb332896b2c888354
2015-08-10 21:18:34 +00:00
rnephew faced743d1 [Android] Detect when remote service loses contact with device.
Sometimes the service will lose communication with device.

BUG=512305

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

Cr-Original-Commit-Position: refs/heads/master@{#342666}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e88efeb36d6bd3074f1c6ec003137efd809999b9
2015-08-10 19:19:07 +00:00
rnephew 50fc2dc4a9 [Android] Convert RestartAdbd to DeviceUtils again.
BUG=267773

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

Cr-Original-Commit-Position: refs/heads/master@{#342621}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8960d19f34b81a1f422422d03dc6b6361fd4a3df
2015-08-10 15:28:34 +00:00
jbudorick 8a3aa427a3 [Android] Catch timeouts while listing tombstones.
See http://build.chromium.org/p/chromium.perf/builders/Android%20Nexus6%20Perf/builds/1417

BUG=
TBR=sullivan@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#342564}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6d9a867e0e71ebaa48dbf2ed773e9f290a425614
2015-08-09 18:22:34 +00:00
bajones d50e8232e0 Revert of Android WebVR implementation, Cardboard 0.5.5 SDK (patchset #10 id:180001 of https://codereview.chromium.org/1200303002/ )
Reason for revert:
Build config issue on ASAN bots.

Original issue's description:
> Android WebVR implementation, Cardboard 0.5.5 SDK
>
> Previously part of https://codereview.chromium.org/829803003/
>
> BUG=389343
>
> Committed: https://crrev.com/1d9c45547709e77d599c218d76317895389db129
> Cr-Commit-Position: refs/heads/master@{#342496}

TBR=jochen@chromium.org,jdduke@chromium.org,sievers@chromium.org,tedchoc@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=389343

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

Cr-Original-Commit-Position: refs/heads/master@{#342546}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d94a4177c90960f0f75b5fca996414e2edd0f76c
2015-08-08 23:14:08 +00:00
Nico Weber ad9103a860 clang/win: Build chromium_code with -Wunused-function
BUG=505316
R=dalecurtis@chromium.org, dcheng@chromium.org, robertshield@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#342535}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0f942010a9bf8c335e5818b2ca228266b42cc725
2015-08-08 17:40:21 +00:00
sdefresne 47e1538977 Use correct linker flags for iOS release builds.
iOS uses the same linker as Mac and thus should use the same linker flags
in Release mode (is_debug=false).

Fix the following error when linking base_unittest in Release mode:

FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -stdlib=libc++ -mios-simulator-version-min=7.0 -Wl,-O1 -Wl,--gc-sections -Wl,--as-needed -o ./base_unittests.app/base_unittests -Wl,-filelist,./base_unittests.app/base_unittests.rsp  -framework UIKit -framework QuartzCore -framework OpenGLES -framework CoreFoundation -framework CoreGraphics -framework CoreText -framework Foundation
ld: unknown option: -O1

BUG=459705

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

Cr-Original-Commit-Position: refs/heads/master@{#342523}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5d2e00bce19e2fae5e1fa0419d78e92570026304
2015-08-08 08:54:10 +00:00
bajones a6c14b3d78 Android WebVR implementation, Cardboard 0.5.5 SDK
Previously part of https://codereview.chromium.org/829803003/

BUG=389343

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

Cr-Original-Commit-Position: refs/heads/master@{#342496}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d9c45547709e77d599c218d76317895389db129
2015-08-08 00:58:14 +00:00