diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-18 23:50:25 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-18 23:50:25 +0000 |
commit | 889a157761458aa666b0af71c392bdfd21c27799 (patch) | |
tree | 4d119f451d28f55c3a126df300c9c911a72771a9 /build/gyp_chromium | |
parent | 230f1e8d40fc3b1788fd58f8b2154799208aba67 (diff) | |
download | chromium_src-889a157761458aa666b0af71c392bdfd21c27799.zip chromium_src-889a157761458aa666b0af71c392bdfd21c27799.tar.gz chromium_src-889a157761458aa666b0af71c392bdfd21c27799.tar.bz2 |
Escape 'gomadir' for GN.
No real functionality change (except for people who have " or $ in their gomadir,
but since that didn't work up until this change nobody does that).
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/140123003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/gyp_chromium')
-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 3ee04aa..8e841d4 100755 --- a/build/gyp_chromium +++ b/build/gyp_chromium @@ -207,7 +207,7 @@ def GetArgsStringForGN(supplemental_files): # gomadir is renamed goma_dir in the GN build. if 'gomadir' in vars_dict: - gn_args += ' goma_dir="%s"' % vars_dict['gomadir'] + gn_args += ' goma_dir=%s' % EscapeStringForGN(vars_dict['gomadir']) # These arguments get passed directly as integers (avoiding the quoting and # escaping of the string ones above). |