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: svn://svn.chromium.org/chrome/trunk/src@263438 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/landmines.py b/build/landmines.py
index 857585a..70e5a4c4 100755
--- a/build/landmines.py
+++ b/build/landmines.py
@@ -113,7 +113,7 @@
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'):