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

Unified Diff: build/android/provision_devices.py

Issue 15979032: Android: renames pylib.constants.CHROME_DIR to DIR_SOURCE_ROOT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/provision_devices.py
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py
index 66465563fbe18f47585285643ff6af17e2eb484e..15731829aa5aff5facab928f267b98d7f83e9ba8 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

Powered by Google App Engine
This is Rietveld 408576698