Index: build/android/pylib/constants.py |
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py |
index 2eeb3a31be273af1877711d75c2415d01c7acc54..2620ad4ea96c0726351a929383f2ac8d7fbd348d 100644 |
--- a/build/android/pylib/constants.py |
+++ b/build/android/pylib/constants.py |
@@ -129,6 +129,9 @@ EMULATOR_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 'android_emulator_sdk') |
UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' |
+def BuildTypeIsSet(): |
+ return 'BUILDTYPE' in os.environ |
+ |
def GetBuildType(): |
try: |
return os.environ['BUILDTYPE'] |