Index: build/gyp_chromium |
diff --git a/build/gyp_chromium b/build/gyp_chromium |
index 4bc114628b229e8c5544223226a2de358588d93d..077e49b3150162101cffe79602bbfac76562c05d 100755 |
--- a/build/gyp_chromium |
+++ b/build/gyp_chromium |
@@ -84,7 +84,8 @@ def GetVarsStringForGN(supplemental_files): |
raise |
variables = file_data.get('variables') |
for v in variables: |
- vars_dict[v] = '"' + str(variables[v]) + '"' |
+ vars_dict[FormatKeyForGN(v)] = '"' + \ |
+ str(variables[v]).replace("$", "\\$") + '"' |
env_string = os.environ.get('GYP_DEFINES', '') |
items = shlex.split(env_string) |