diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-05 23:28:09 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-05 23:28:09 +0000 |
commit | b3c0d4a225150439664e93a2b88c9e7cb4b0d17f (patch) | |
tree | 1e40b40884190849dbb21ad32762992b5806f697 /build/android/provision_devices.py | |
parent | d8f6fe87ac6a6b9d0266b16673eb9d4df0927bd3 (diff) | |
download | chromium_src-b3c0d4a225150439664e93a2b88c9e7cb4b0d17f.zip chromium_src-b3c0d4a225150439664e93a2b88c9e7cb4b0d17f.tar.gz chromium_src-b3c0d4a225150439664e93a2b88c9e7cb4b0d17f.tar.bz2 |
Android: renames pylib.constants.CHROME_DIR to DIR_SOURCE_ROOT.
Following comments from https://codereview.chromium.org/14882007/,
let's keep it consistent with base/base_paths.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/15979032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/provision_devices.py')
-rwxr-xr-x | build/android/provision_devices.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py index 6646556..1573182 100755 --- a/build/android/provision_devices.py +++ b/build/android/provision_devices.py @@ -31,7 +31,7 @@ def LaunchHostHeartbeat(): subprocess.call(['kill', str(pid)]) # Launch a new host_heartbeat print 'Spawning host heartbeat...' - subprocess.Popen([os.path.join(constants.CHROME_DIR, + subprocess.Popen([os.path.join(constants.DIR_SOURCE_ROOT, 'build/android/host_heartbeat.py')]) @@ -51,7 +51,7 @@ def PushAndLaunchAdbReboot(devices, target): android_cmd.KillAllBlocking('adb_reboot', 2) # Push adb_reboot print ' Pushing adb_reboot ...' - adb_reboot = os.path.join(constants.CHROME_DIR, + adb_reboot = os.path.join(constants.DIR_SOURCE_ROOT, 'out/%s/adb_reboot' % target) android_cmd.PushIfNeeded(adb_reboot, '/data/local/') # Launch adb_reboot |