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
This commit is contained in:
Родитель
297431a5e3
Коммит
0f2dbb0d2a
|
@ -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():
|
||||
|
|
Загрузка…
Ссылка в новой задаче