Chromium Code Reviews| Index: build/android/pylib/constants.py |
| diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py |
| index 6cbe727c93c4a74cb93a051c92ac5130d549324c..dd68f4adbf9b3a3f05c6a40b870803a06fa4550d 100644 |
| --- a/build/android/pylib/constants.py |
| +++ b/build/android/pylib/constants.py |
| @@ -83,6 +83,17 @@ ANDROID_NDK_ROOT = os.path.join(DIR_SOURCE_ROOT, |
| UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' |
| +def GetBuildType(): |
|
frankf
2013/08/14 21:45:09
As discussed, what you really care about is the ou
|
| + try: |
| + return os.environ['CHROMIUM_BUILD_TYPE'] |
| + except KeyError: |
| + raise Exception('The build type has not been set') |
| + |
| + |
| +def SetBuildType(build_type): |
| + os.environ['CHROMIUM_BUILD_TYPE'] = build_type |
| + |
| + |
| def _GetADBPath(): |
| if os.environ.get('ANDROID_SDK_ROOT'): |
| return 'adb' |