Changeset 101157 in webkit
- Timestamp:
- Nov 25, 2011, 1:31:20 AM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 deleted
- 3 edited
-
ChangeLog (modified) (1 diff)
-
WebCore.gyp/WebCore.gyp (modified) (1 diff)
-
WebCore.gyp/scripts/rule_binding.py (deleted)
-
bindings/scripts/preprocessor.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r101156 r101157 1 2011-11-25 Kentaro Hara <haraken@chromium.org> 2 3 Remove WebCore.gyp/scripts/rule_binding.py 4 https://bugs.webkit.org/show_bug.cgi?id=73109 5 6 Reviewed by Adam Barth. 7 8 rule_binding.py is used by WebCore.gyp only. rule_binding.py is just a wrapper 9 of generate-bindings.pl and thus we can remove it. 10 11 No new tests. No change in behavior. 12 13 * WebCore.gyp/WebCore.gyp: Replaces rule_binding.py with generate-bindings.pl. 14 * WebCore.gyp/scripts/rule_binding.py: Removed. 15 * bindings/scripts/preprocessor.pm: When '"ENABLE_SOMETHING=1" "ENABLE_OTHERS=0"' is passed as a define macro, the string is passed to our perl scripts without the double-quotations (") omitted. We need to omit the double quatations here. 16 (applyPreprocessor): 17 1 18 2011-11-24 Yury Semikhatsky <yurys@chromium.org> 2 19 -
trunk/Source/WebCore/WebCore.gyp/WebCore.gyp
r101073 r101157 963 963 # behavior, change the output location. 964 964 'action': [ 965 'python', 966 'scripts/rule_binding.py', 965 'perl', 966 '-w', 967 '-I../bindings/scripts', 968 '../bindings/scripts/generate-bindings.pl', 969 '--outputHeadersDir', 970 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', 971 '--outputDir', 972 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings', 973 '--defines', 974 '<(feature_defines) LANGUAGE_JAVASCRIPT V8_BINDING', 975 '--generator', 976 'V8', 977 '<@(generator_include_dirs)', 967 978 '<(RULE_INPUT_PATH)', 968 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings',969 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings',970 '--',971 '<@(_inputs)',972 '--',973 '--defines', '<(feature_defines) LANGUAGE_JAVASCRIPT V8_BINDING',974 '--generator', 'V8',975 '<@(generator_include_dirs)'976 979 ], 977 980 'message': 'Generating binding from <(RULE_INPUT_PATH)', -
trunk/Source/WebCore/bindings/scripts/preprocessor.pm
r91770 r101157 58 58 } 59 59 60 my $pid = open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor), (map { "-D$_"} split(' ', $defines)), $fileName);60 my $pid = open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor), (map { $_ =~ s/^\"|\"$//g; "-D$_" if $_ } split(' ', $defines)), $fileName); 61 61 close PP_IN; 62 62 my @documentContent = <PP_OUT>;
Note:
See TracChangeset
for help on using the changeset viewer.