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(): |