Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: trunk/pylib/gyp/generator/xcode.py

Issue 159792: Make generators robust in the face of generator_flags being defined.... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/pylib/gyp/generator/msvs.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/pylib/gyp/generator/xcode.py
===================================================================
--- trunk/pylib/gyp/generator/xcode.py (revision 569)
+++ trunk/pylib/gyp/generator/xcode.py (working copy)
@@ -500,7 +500,7 @@
def GenerateOutput(target_list, target_dicts, data, params):
options = params['options']
- generator_flags = params['generator_flags']
+ generator_flags = params.get('generator_flags', {})
parallel_builds = generator_flags.get('xcode_parallel_builds', True)
xcode_projects = {}
for build_file, build_file_dict in data.iteritems():
« no previous file with comments | « trunk/pylib/gyp/generator/msvs.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698