From 889a157761458aa666b0af71c392bdfd21c27799 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Sat, 18 Jan 2014 23:50:25 +0000 Subject: 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 --- build/gyp_chromium | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/gyp_chromium') 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). -- cgit v1.1