Always process landmines, even if GYP_CHROMIUM_NO_ACTION is set
R=machenbach@chromium.org BUG=none Review URL: https://codereview.chromium.org/314933004 git-svn-id: http://src.chromium.org/svn/trunk/src/build@274762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
195914342a
Коммит
c85f321f63
|
@ -190,6 +190,10 @@ if __name__ == '__main__':
|
|||
args = sys.argv[1:]
|
||||
|
||||
if int(os.environ.get('GYP_CHROMIUM_NO_ACTION', 0)):
|
||||
# Check for landmines (reasons to clobber the build) in any case.
|
||||
print 'Running build/landmines.py...'
|
||||
subprocess.check_call(
|
||||
[sys.executable, os.path.join(script_dir, 'landmines.py')])
|
||||
print 'Skipping gyp_chromium due to GYP_CHROMIUM_NO_ACTION env var.'
|
||||
sys.exit(0)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче