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

Unified Diff: trunk/src/build/android/pylib/cmd_helper.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
Index: trunk/src/build/android/pylib/cmd_helper.py
===================================================================
--- trunk/src/build/android/pylib/cmd_helper.py (revision 222006)
+++ trunk/src/build/android/pylib/cmd_helper.py (working copy)
@@ -97,3 +97,14 @@
logging.debug('Truncated output:')
logging.debug(stdout[:4096])
return (exit_code, stdout)
+
+
+class OutDirectory(object):
+ _out_directory = os.path.join(constants.DIR_SOURCE_ROOT,
+ os.environ.get('CHROMIUM_OUT_DIR','out'))
+ @staticmethod
+ def set(out_directory):
+ OutDirectory._out_directory = out_directory
+ @staticmethod
+ def get():
+ return OutDirectory._out_directory
« no previous file with comments | « trunk/src/build/android/pylib/chrome_test_server_spawner.py ('k') | trunk/src/build/android/pylib/constants.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698