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

Unified Diff: build/gyp_chromium

Issue 106073002: Fix build/gyp_chromium for supplement.gypi files with no variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_chromium
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 7180edbaf3739cafd53fab5010829ed67c922377..ec7cc5d3c1bfddc05cb7475602098a8a7d4103db 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -71,7 +71,7 @@ def GetVarsStringForGN(supplemental_files):
except SyntaxError, e:
e.filename = os.path.abspath(supplement)
raise
- variables = file_data.get('variables')
+ variables = file_data.get('variables', [])
for v in variables:
vars_dict[v] = '"' + variables[v] + '"'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698