Commit 181542fa authored by dglazkov@chromium.org's avatar dglazkov@chromium.org

Remove any double qoutes from defines, fed into bindings generator.

R=mark
BUG=15904
TEST=no more weird errors when generating bindings


Review URL: http://codereview.chromium.org/155089

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19952 0039d316-1c4b-4281-b951-d872f2087c98
parent 7a65eb6d
...@@ -73,7 +73,9 @@ def main(args): ...@@ -73,7 +73,9 @@ def main(args):
for include_dir in include_dirs: for include_dir in include_dirs:
command.extend(['-I', include_dir]) command.extend(['-I', include_dir])
command.append(generate_bindings) command.append(generate_bindings)
command.extend(options) # Remove any qouble qoutes that may have gotten in here. We know that none of
# the options will have meaningful double qoutes.
command.extend([option.replace('"', '') for option in options])
command.extend(['--outputDir', cppdir, input]) command.extend(['--outputDir', cppdir, input])
# Do it. check_call is new in 2.5, so simulate its behavior with call and # Do it. check_call is new in 2.5, so simulate its behavior with call and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment