diff options
author | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-06 16:33:56 +0000 |
---|---|---|
committer | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-06 16:33:56 +0000 |
commit | 181542fa4565273aac30f7f0ea9c4459ac9bcb02 (patch) | |
tree | d05f90ba056be964592ee9631cddbb0c082dc33c /webkit/build | |
parent | 7a65eb6d11eb5388998a523ea248707e047226a4 (diff) | |
download | chromium_src-181542fa4565273aac30f7f0ea9c4459ac9bcb02.zip chromium_src-181542fa4565273aac30f7f0ea9c4459ac9bcb02.tar.gz chromium_src-181542fa4565273aac30f7f0ea9c4459ac9bcb02.tar.bz2 |
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
Diffstat (limited to 'webkit/build')
-rwxr-xr-x | webkit/build/rule_binding.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/build/rule_binding.py b/webkit/build/rule_binding.py index df54710..ab74f0d 100755 --- a/webkit/build/rule_binding.py +++ b/webkit/build/rule_binding.py @@ -73,7 +73,9 @@ def main(args): for include_dir in include_dirs: command.extend(['-I', include_dir]) 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]) # Do it. check_call is new in 2.5, so simulate its behavior with call and |