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

Unified Diff: build/android/pylib/utils/test_options_parser.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/pylib/utils/test_options_parser.py
diff --git a/build/android/pylib/utils/test_options_parser.py b/build/android/pylib/utils/test_options_parser.py
index f1177ed1bf94429fae0507e8989ade92182be998..eecfb715b76b409437f310ac80cb60c748cb57eb 100644
--- a/build/android/pylib/utils/test_options_parser.py
+++ b/build/android/pylib/utils/test_options_parser.py
@@ -11,7 +11,7 @@ import optparse
import os
import sys
-_SDK_OUT_DIR = os.path.join(constants.CHROME_DIR, 'out')
+_SDK_OUT_DIR = os.path.join(constants.DIR_SOURCE_ROOT, 'out')
def AddBuildTypeOption(option_parser):
@@ -49,7 +49,7 @@ def ValidateInstallAPKOption(option_parser, options):
if not options.apk:
option_parser.error('--apk is mandatory.')
if not os.path.exists(options.apk):
- options.apk = os.path.join(constants.CHROME_DIR,
+ options.apk = os.path.join(constants.DIR_SOURCE_ROOT,
'out', options.build_type,
'apks', options.apk)

Powered by Google App Engine
This is Rietveld 408576698