summaryrefslogtreecommitdiffstats
path: root/webkit/webkit.gyp
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 01:51:16 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 01:51:16 +0000
commitf30f04cb5fd0d2108ddca89e311937fbe45cfa09 (patch)
tree5d86153f01798ba0232b9f0f581d4b11979af1da /webkit/webkit.gyp
parentd3de0f37669957bc8bf45b9df817be533e95f3ab (diff)
downloadchromium_src-f30f04cb5fd0d2108ddca89e311937fbe45cfa09.zip
chromium_src-f30f04cb5fd0d2108ddca89e311937fbe45cfa09.tar.gz
chromium_src-f30f04cb5fd0d2108ddca89e311937fbe45cfa09.tar.bz2
Use DerivedSourcesAllInOne.cpp to work around an issue with official WPO builds.
Coagulate most of the V8 bindings generated .cpp files into one compilation unit. BUG=16127 TEST=official WPO builds links again TBR=darin Review URL: http://codereview.chromium.org/155235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/webkit.gyp')
-rw-r--r--webkit/webkit.gyp8
1 files changed, 6 insertions, 2 deletions
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp
index 8362907..c104be7 100644
--- a/webkit/webkit.gyp
+++ b/webkit/webkit.gyp
@@ -637,7 +637,8 @@
],
},
'action': ['python', 'build/rule_binding.py', '<(RULE_INPUT_PATH)', '<(INTERMEDIATE_DIR)/bindings', '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', '--', '<@(_inputs)', '--', '--defines', '<(feature_defines) LANGUAGE_JAVASCRIPT V8_BINDING', '--generator', 'V8', '<@(generator_include_dirs)'],
- 'process_outputs_as_sources': 1,
+ # They are included by DerivedSourcesAllInOne.cpp instead.
+ 'process_outputs_as_sources': 0,
'message': 'Generating binding from <(RULE_INPUT_PATH)',
},
],
@@ -1006,6 +1007,9 @@
'../third_party/WebKit/WebCore/xml/XSLTProcessor.idl',
'port/bindings/v8/UndetectableHTMLCollection.idl',
+ # This file includes all the .cpp files generated from the above idl.
+ '../third_party/WebKit/WebCore/bindings/v8/DerivedSourcesAllInOne.cpp',
+
# V8 bindings not generated from .idl source.
'../third_party/WebKit/WebCore/bindings/v8/custom/V8AttrCustom.cpp',
'../third_party/WebKit/WebCore/bindings/v8/custom/V8CanvasPixelArrayCustom.cpp',
@@ -3847,7 +3851,7 @@
# of their enclosing directories and tags at the ends of their
# filenames.
['exclude', '/(android|cairo|cf|cg|curl|gtk|linux|mac|opentype|posix|qt|soup|symbian|win|wx)/'],
- ['exclude', '(?<!Chromium)(AllInOne|Android|Cairo|CF|CG|Curl|Gtk|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|Wx)\\.(cpp|mm?)$'],
+ ['exclude', '(?<!Chromium)(SVGAllInOne|Android|Cairo|CF|CG|Curl|Gtk|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|Wx)\\.(cpp|mm?)$'],
# JSC-only.
['exclude', '/third_party/WebKit/WebCore/inspector/JavaScript[^/]*\\.cpp$'],