Don't double-quote strings when passing them into GN args.

Previously, both EscapeStringForGN and GetArgsStringForGN would add quotes.

BUG=
R=finnur@chromium.org

Review URL: https://codereview.chromium.org/112853004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241075 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
brettw@chromium.org 2013-12-17 00:02:45 +00:00
Родитель 8dfb008faa
Коммит 0a09a4a4fb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -129,7 +129,7 @@ def GetArgsStringForGN(supplemental_files):
# These string arguments get passed directly.
for v in ['windows_sdk_path']:
if v in vars_dict:
gn_args += ' ' + v + '="' + EscapeStringForGN(vars_dict[v]) + '"'
gn_args += ' ' + v + '=' + EscapeStringForGN(vars_dict[v])
# Set the GYP flag so BUILD files know they're being invoked in GYP mode.
gn_args += ' is_gyp=true'