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

Unified Diff: build/android/pylib/constants.py

Issue 23075007: Android: uses BUILDTYPE rather than CHROMIUM_BUILD_TYPE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/constants.py
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py
index dd68f4adbf9b3a3f05c6a40b870803a06fa4550d..bf35fff6e7b7c9f9b454f2972301d244ddcbf2ff 100644
--- a/build/android/pylib/constants.py
+++ b/build/android/pylib/constants.py
@@ -85,13 +85,13 @@ UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com'
def GetBuildType():
try:
- return os.environ['CHROMIUM_BUILD_TYPE']
+ return os.environ['BUILDTYPE']
except KeyError:
- raise Exception('The build type has not been set')
+ raise Exception('The BUILDTYPE environment variable has not been set')
def SetBuildType(build_type):
- os.environ['CHROMIUM_BUILD_TYPE'] = build_type
+ os.environ['BUILDTYPE'] = build_type
def _GetADBPath():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698