Add an environment variable override to the default output name
Review URL: https://chromiumcodereview.appspot.com/22640007 git-svn-id: http://src.chromium.org/svn/trunk/src/build@216627 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
45bd690053
Коммит
fce852ecf5
|
@ -100,7 +100,8 @@ def GetCmdStatusAndOutput(args, cwd=None, shell=False):
|
|||
|
||||
|
||||
class OutDirectory(object):
|
||||
_out_directory = os.path.join(constants.DIR_SOURCE_ROOT, 'out')
|
||||
_out_directory = os.path.join(constants.DIR_SOURCE_ROOT,
|
||||
os.environ.get('CHROMIUM_OUT_DIR','out'))
|
||||
@staticmethod
|
||||
def set(out_directory):
|
||||
OutDirectory._out_directory = out_directory
|
||||
|
|
Загрузка…
Ссылка в новой задаче