Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 1399273002: [Android] Add a configurable environment for devil/. (RELAND) (Closed)

Created:
5 years, 2 months ago by jbudorick
Modified:
5 years, 2 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Add a configurable environment for devil/. (RELAND) This is a reland of https://codereview.chromium.org/1316413003/ BUG=476719 Committed: https://crrev.com/06869eebcab4b41d21e96ea2df732a2b40914fe4 Cr-Commit-Position: refs/heads/master@{#355683}

Patch Set 1 : original #

Patch Set 2 : Fixed: more non-default directory handling, especially for gyp_managed_install #

Total comments: 3

Patch Set 3 : Consistent handling of BUILD_ANDROID_DIR in build/android/gyp/ #

Patch Set 4 : fix device_status_check and provision_devices #

Patch Set 5 : initialize devil in adb_install_apk and binary_manager #

Patch Set 6 : missed a call to _InitializeRecursive #

Patch Set 7 : rebase #

Total comments: 4

Patch Set 8 : redo everything #

Patch Set 9 : libc++ for android build-tools #

Patch Set 10 : push the forwarder all of the time instead of most of the time #

Total comments: 3

Patch Set 11 : cache adb path in AdbWrapper #

Patch Set 12 : android_any -> android_host #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -98 lines) Patch
M build/android/PRESUBMIT.py View 1 2 3 4 4 chunks +25 lines, -8 lines 0 comments Download
M build/android/adb_install_apk.py View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M build/android/buildbot/bb_device_status_check.py View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M build/android/devil/android/battery_utils_test.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M build/android/devil/android/device_utils.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -2 lines 0 comments Download
M build/android/devil/android/device_utils_test.py View 1 2 3 4 5 6 7 3 chunks +17 lines, -15 lines 0 comments Download
M build/android/devil/android/logcat_monitor_test.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M build/android/devil/android/md5sum.py View 1 2 3 4 5 6 7 4 chunks +15 lines, -6 lines 0 comments Download
M build/android/devil/android/md5sum_test.py View 1 2 3 4 5 6 7 2 chunks +13 lines, -8 lines 0 comments Download
M build/android/devil/android/sdk/aapt.py View 1 2 3 4 5 6 7 2 chunks +4 lines, -5 lines 0 comments Download
M build/android/devil/android/sdk/adb_wrapper.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -4 lines 0 comments Download
M build/android/devil/android/sdk/dexdump.py View 1 2 3 4 5 6 7 2 chunks +2 lines, -5 lines 0 comments Download
M build/android/devil/android/sdk/shared_prefs_test.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M build/android/devil/android/sdk/split_select.py View 1 2 3 4 5 6 7 2 chunks +3 lines, -5 lines 0 comments Download
A build/android/devil/devil_dependencies.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +112 lines, -0 lines 0 comments Download
A build/android/devil/devil_env.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +94 lines, -0 lines 0 comments Download
M build/android/devil/utils/lsusb.py View 1 chunk +1 line, -1 line 0 comments Download
M build/android/devil/utils/mock_calls.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M build/android/devil/utils/mock_calls_test.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
A build/android/devil_chromium.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +59 lines, -0 lines 0 comments Download
A build/android/devil_chromium.py View 1 2 3 4 5 6 7 8 9 1 chunk +76 lines, -0 lines 0 comments Download
M build/android/gyp/apk_install.py View 1 2 2 chunks +10 lines, -3 lines 0 comments Download
M build/android/gyp/create_device_library_links.py View 1 2 3 chunks +8 lines, -1 line 0 comments Download
M build/android/gyp/get_device_configuration.py View 1 2 1 chunk +12 lines, -1 line 0 comments Download
M build/android/gyp/push_libraries.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M build/android/gyp/util/build_device.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M build/android/incremental_install/installer.py View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M build/android/provision_devices.py View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M build/android/pylib/forwarder.py View 1 2 3 4 5 6 7 8 9 5 chunks +13 lines, -8 lines 0 comments Download
M build/android/pylib/perf/test_runner.py View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M build/android/pylintrc View 1 chunk +4 lines, -0 lines 0 comments Download
M build/android/setup.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M build/android/tombstones.py View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M tools/telemetry/catapult_base/dependency_manager/dependency_manager.py View 2 chunks +0 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/internal/util/binary_manager.py View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (6 generated)
jbudorick
5 years, 2 months ago (2015-10-12 22:50:17 UTC) #2
nednguyen
On 2015/10/12 22:50:17, jbudorick wrote: I defer reviewing this to the other two reviewers.
5 years, 2 months ago (2015-10-13 01:52:58 UTC) #3
aiolos (Not reviewing)
lgtm https://codereview.chromium.org/1399273002/diff/20001/build/android/gyp/get_device_configuration.py File build/android/gyp/get_device_configuration.py (right): https://codereview.chromium.org/1399273002/diff/20001/build/android/gyp/get_device_configuration.py#newcode20 build/android/gyp/get_device_configuration.py:20: BUILD_ANDROID_DIR = os.path.abspath( Is this supposed to be ...
5 years, 2 months ago (2015-10-13 13:29:17 UTC) #4
jbudorick
https://codereview.chromium.org/1399273002/diff/20001/build/android/gyp/get_device_configuration.py File build/android/gyp/get_device_configuration.py (right): https://codereview.chromium.org/1399273002/diff/20001/build/android/gyp/get_device_configuration.py#newcode20 build/android/gyp/get_device_configuration.py:20: BUILD_ANDROID_DIR = os.path.abspath( On 2015/10/13 13:29:17, aiolos wrote: > ...
5 years, 2 months ago (2015-10-13 13:40:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399273002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399273002/40001
5 years, 2 months ago (2015-10-13 13:43:44 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/81219)
5 years, 2 months ago (2015-10-13 14:30:59 UTC) #10
aiolos (Not reviewing)
Still lgtm https://codereview.chromium.org/1399273002/diff/20001/build/android/gyp/get_device_configuration.py File build/android/gyp/get_device_configuration.py (right): https://codereview.chromium.org/1399273002/diff/20001/build/android/gyp/get_device_configuration.py#newcode20 build/android/gyp/get_device_configuration.py:20: BUILD_ANDROID_DIR = os.path.abspath( On 2015/10/13 13:40:48, jbudorick ...
5 years, 2 months ago (2015-10-13 18:27:54 UTC) #11
jbudorick
aiolos: ptal, particularly at the new changes in tools/telemetry/
5 years, 2 months ago (2015-10-21 03:21:44 UTC) #12
aiolos (Not reviewing)
I haven't looked in depth at the devil changes, but I have a couple of ...
5 years, 2 months ago (2015-10-21 04:25:32 UTC) #13
jbudorick
Working on a revised version. (again) https://codereview.chromium.org/1399273002/diff/120001/tools/telemetry/telemetry/internal/binary_dependencies.json File tools/telemetry/telemetry/internal/binary_dependencies.json (right): https://codereview.chromium.org/1399273002/diff/120001/tools/telemetry/telemetry/internal/binary_dependencies.json#newcode32 tools/telemetry/telemetry/internal/binary_dependencies.json:32: "../../../../third_party/android_tools/sdk" On 2015/10/21 ...
5 years, 2 months ago (2015-10-21 15:13:01 UTC) #14
jbudorick
This is ready for review again. I'm testing out its impact on cycle time, though, ...
5 years, 2 months ago (2015-10-22 01:47:27 UTC) #15
aiolos (Not reviewing)
lgtm https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py File build/android/devil/devil_env.py (right): https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py#newcode89 build/android/devil/devil_env.py:89: arch = device.product_cpu_abi if device else 'any' To ...
5 years, 2 months ago (2015-10-22 02:37:45 UTC) #16
jbudorick
https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py File build/android/devil/devil_env.py (right): https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py#newcode89 build/android/devil/devil_env.py:89: arch = device.product_cpu_abi if device else 'any' On 2015/10/22 ...
5 years, 2 months ago (2015-10-22 02:43:17 UTC) #17
aiolos (Not reviewing)
https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py File build/android/devil/devil_env.py (right): https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py#newcode89 build/android/devil/devil_env.py:89: arch = device.product_cpu_abi if device else 'any' On 2015/10/22 ...
5 years, 2 months ago (2015-10-22 02:46:03 UTC) #18
aiolos (Not reviewing)
On 2015/10/22 02:46:03, aiolos wrote: > https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py > File build/android/devil/devil_env.py (right): > > https://codereview.chromium.org/1399273002/diff/180001/build/android/devil/devil_env.py#newcode89 > ...
5 years, 2 months ago (2015-10-22 02:46:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399273002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399273002/220001
5 years, 2 months ago (2015-10-22 23:55:48 UTC) #22
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 2 months ago (2015-10-23 00:06:12 UTC) #23
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/06869eebcab4b41d21e96ea2df732a2b40914fe4 Cr-Commit-Position: refs/heads/master@{#355683}
5 years, 2 months ago (2015-10-23 00:07:24 UTC) #24
rmistry
On 2015/10/23 00:07:24, commit-bot: I haz the power wrote: > Patchset 12 (id:??) landed as ...
5 years, 2 months ago (2015-10-23 13:28:14 UTC) #25
rmistry
On 2015/10/23 13:28:14, rmistry wrote: > On 2015/10/23 00:07:24, commit-bot: I haz the power wrote: ...
5 years, 2 months ago (2015-10-23 13:32:34 UTC) #26
jbudorick
5 years, 2 months ago (2015-10-23 13:40:49 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #12 id:220001) has been created in
https://codereview.chromium.org/1415413005/ by jbudorick@chromium.org.

The reason for reverting is: broke cluster telemetry:
https://code.google.com/p/skia/issues/detail?id=4506.

Powered by Google App Engine
This is Rietveld 408576698