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:
Родитель
8dfb008faa
Коммит
0a09a4a4fb
|
@ -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'
|
||||
|
|
Загрузка…
Ссылка в новой задаче