Make landmines.py ignore eclipse gyp generator.
The eclipse gyp generator is used to generate eclipse project files, not to actually build anything. Landmines should return early if the gyp generator is eclipse rather than failing with the error "Unexpected GYP_GENERATORS (eclipse)" Review URL: https://codereview.chromium.org/236063002 git-svn-id: http://src.chromium.org/svn/trunk/src/build@263438 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
6e3e0b1d12
Коммит
c1c873a5c1
|
@ -113,7 +113,7 @@ def process_options():
|
|||
def main():
|
||||
landmine_scripts = process_options()
|
||||
|
||||
if landmine_utils.builder() == 'dump_dependency_json':
|
||||
if landmine_utils.builder() in ('dump_dependency_json', 'eclipse'):
|
||||
return 0
|
||||
|
||||
for target in ('Debug', 'Release', 'Debug_x64', 'Release_x64'):
|
||||
|
|
Загрузка…
Ссылка в новой задаче