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

Unified Diff: trunk/src/build/android/adb_install_apk.py

Issue 23926012: Revert 221736 "[android] Adds constants.GetOutDirectory() and co..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | trunk/src/build/android/adb_reverse_forwarder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/build/android/adb_install_apk.py
===================================================================
--- trunk/src/build/android/adb_install_apk.py (revision 222006)
+++ trunk/src/build/android/adb_install_apk.py (working copy)
@@ -38,8 +38,9 @@
if not options.apk:
option_parser.error('--apk is mandatory.')
if not os.path.exists(options.apk):
- options.apk = os.path.join(constants.GetOutDirectory(), 'apks',
- options.apk)
+ options.apk = os.path.join(constants.DIR_SOURCE_ROOT,
+ 'out', options.build_type,
+ 'apks', options.apk)
def _InstallApk(args):
@@ -53,7 +54,6 @@
parser = optparse.OptionParser()
AddInstallAPKOption(parser)
options, args = parser.parse_args(argv)
- constants.SetBuildType(options.build_type)
ValidateInstallAPKOption(parser, options)
if len(args) > 1:
raise Exception('Error: Unknown argument:', args[1:])
« no previous file with comments | « no previous file | trunk/src/build/android/adb_reverse_forwarder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698