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

Issue 16360003: Android: allows using adb from a chromium checkout without envsetup.sh (Closed)

Created:
7 years, 6 months ago by bulach
Modified:
7 years, 6 months ago
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

Android: allows using adb from a chromium checkout without envsetup.sh Following comments on https://chromiumcodereview.appspot.com/15891002, rather than setting the path in pylib.__init__, set it via constants and android_commands.py. Note that android_commands calls into third_party/android_testrunner, which then uses adb directly, so it still needs to tweak os.environ.path. BUG=242960 TEST=./build/android/run_tests.py -s cc_perftests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204341

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments #

Total comments: 2

Patch Set 3 : inline constant #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -24 lines) Patch
M build/android/pylib/__init__.py View 1 chunk +0 lines, -18 lines 0 comments Download
M build/android/pylib/android_commands.py View 1 2 6 chunks +13 lines, -6 lines 0 comments Download
M build/android/pylib/constants.py View 1 2 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bulach
follow up from comments on https://chromiumcodereview.appspot.com/15891002 , ptal.
7 years, 6 months ago (2013-06-04 09:16:59 UTC) #1
Isaac (away)
lgtm, thanks for adjusting this, Marcus.
7 years, 6 months ago (2013-06-04 09:58:46 UTC) #2
Isaac (away)
one comment; if it's needed still lgtm. https://chromiumcodereview.appspot.com/16360003/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://chromiumcodereview.appspot.com/16360003/diff/1/build/android/pylib/android_commands.py#newcode212 build/android/pylib/android_commands.py:212: if adb_dir ...
7 years, 6 months ago (2013-06-04 10:01:45 UTC) #3
bulach
thanks isaac! addressed, ptal https://codereview.chromium.org/16360003/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/16360003/diff/1/build/android/pylib/android_commands.py#newcode212 build/android/pylib/android_commands.py:212: if adb_dir and adb_dir not ...
7 years, 6 months ago (2013-06-04 10:20:45 UTC) #4
frankf
https://codereview.chromium.org/16360003/diff/7/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/16360003/diff/7/build/android/pylib/constants.py#newcode87 build/android/pylib/constants.py:87: def GetADBPath(): modules are imported once in python. Can't ...
7 years, 6 months ago (2013-06-04 19:50:47 UTC) #5
bulach
thanks frank! ptal https://codereview.chromium.org/16360003/diff/7/build/android/pylib/constants.py File build/android/pylib/constants.py (right): https://codereview.chromium.org/16360003/diff/7/build/android/pylib/constants.py#newcode87 build/android/pylib/constants.py:87: def GetADBPath(): On 2013/06/04 19:50:47, frankf ...
7 years, 6 months ago (2013-06-05 08:18:27 UTC) #6
frankf
lgtm
7 years, 6 months ago (2013-06-05 17:40:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/16360003/8001
7 years, 6 months ago (2013-06-05 17:47:00 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-06-05 21:16:22 UTC) #9
Message was sent while issue was closed.
Change committed as 204341

Powered by Google App Engine
This is Rietveld 408576698