diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 02:11:23 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 02:11:23 +0000 |
commit | 99f675d29e42a73e8d0c6e7cc3048bf858f4cdec (patch) | |
tree | 41803a37830ee5cd0a1d3672d8f6b12610e8b04f /build | |
parent | 11534550bbde9082e758945020123828383159f3 (diff) | |
download | chromium_src-99f675d29e42a73e8d0c6e7cc3048bf858f4cdec.zip chromium_src-99f675d29e42a73e8d0c6e7cc3048bf858f4cdec.tar.gz chromium_src-99f675d29e42a73e8d0c6e7cc3048bf858f4cdec.tar.bz2 |
Fix build/gyp_chromium for supplement.gypi files with no variables.
BUG=325989
TBR=brettw@chromium.org
Review URL: https://codereview.chromium.org/106073002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238859 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/gyp_chromium | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/gyp_chromium b/build/gyp_chromium index 077e49b..64e4ff5 100755 --- a/build/gyp_chromium +++ b/build/gyp_chromium @@ -82,7 +82,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[FormatKeyForGN(v)] = '"' + \ str(variables[v]).replace("$", "\\$") + '"' |