Match only make in gyp_chromium excludes.
The current test also matches the CMake generator. R=thakis@chromium.org Review URL: https://codereview.chromium.org/235943009 git-svn-id: http://src.chromium.org/svn/trunk/src/build@263984 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
bba65c5564
Коммит
92f08f1ca2
|
@ -10,6 +10,7 @@
|
|||
import glob
|
||||
import gyp_helper
|
||||
import os
|
||||
import re
|
||||
import shlex
|
||||
import subprocess
|
||||
import string
|
||||
|
@ -248,7 +249,7 @@ if __name__ == '__main__':
|
|||
|
||||
# We explicitly don't support the make gyp generator (crbug.com/348686). Be
|
||||
# nice and fail here, rather than choking in gyp.
|
||||
if 'make' in os.environ.get('GYP_GENERATORS', ''):
|
||||
if re.search(r'(^|,|\s)make($|,|\s)', os.environ.get('GYP_GENERATORS', '')):
|
||||
print 'Error: make gyp generator not supported (check GYP_GENERATORS).'
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче