From 0f2dbb0d2a1f7ba668e1249e5a3158f89ead6620 Mon Sep 17 00:00:00 2001 From: "bulach@chromium.org" Date: Fri, 16 Aug 2013 20:37:02 +0000 Subject: [PATCH] Android: uses BUILDTYPE rather than CHROMIUM_BUILD_TYPE. Buildbot and other platforms use BUILDTYPE. BUG=260494 Review URL: https://chromiumcodereview.appspot.com/23075007 git-svn-id: http://src.chromium.org/svn/trunk/src/build@218078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- android/pylib/constants.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/pylib/constants.py b/android/pylib/constants.py index dd68f4adb..bf35fff6e 100644 --- a/android/pylib/constants.py +++ b/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():