summaryrefslogtreecommitdiffstats
path: root/webkit/build/V8Bindings/SConscript
blob: c6acdcaa7503afd4bd282cb3ae13fe5c004a031a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Import('env')

env = env.Clone()

if env.Bit('windows'):
    env.Prepend(
        CCFLAGS = [
                '/TP',

                '/wd4291',
                '/wd4099',
                '/wd4996',
                '/wd4521',
                '/wd4244',
                '/wd4800',
                ],
        )
else:
  # We need to include the parts of icu and libxml that we want here:
  env.Append(
      CCFLAGS = [
        # TODO(port): fix HTMLNames etc. generator and remove this.
        '-fno-strict-aliasing',
      ],
      CPPPATH = [
          '$ICU38_DIR/public/common',
          '$LIBXML_DIR/include',
      ]
  )

inputs = [
    '$DERIVED_DIR/CSSGrammar.cpp',
    '$DERIVED_DIR/HTMLElementFactory.cpp',
    '$DERIVED_DIR/HTMLNames.cpp',
    '$DERIVED_DIR/SVGElementFactory.cpp',
    '$DERIVED_DIR/SVGNames.cpp',
    '$DERIVED_DIR/UserAgentStyleSheetsData.cpp',
    '$DERIVED_DIR/XLinkNames.cpp',
    '$DERIVED_DIR/XMLNames.cpp',
    '$DERIVED_DIR/XPathGrammar.cpp',

    # TODO(sgk):  derive this list (the generated V8*.cpp names
    # from the BindingsEmitter handling of the .idl names in
    # webkit\build\port\SConscript.
    '$DERIVED_DIR/V8Attr.cpp',
    '$DERIVED_DIR/V8BarInfo.cpp',
    '$DERIVED_DIR/V8CanvasGradient.cpp',
    '$DERIVED_DIR/V8CanvasPattern.cpp',
    '$DERIVED_DIR/V8CanvasPixelArray.cpp',
    '$DERIVED_DIR/V8CanvasRenderingContext2D.cpp',
    '$DERIVED_DIR/V8CDATASection.cpp',
    '$DERIVED_DIR/V8CharacterData.cpp',
    '$DERIVED_DIR/V8Clipboard.cpp',
    '$DERIVED_DIR/V8ClientRect.cpp',
    '$DERIVED_DIR/V8ClientRectList.cpp',
    '$DERIVED_DIR/V8Comment.cpp',
    '$DERIVED_DIR/V8Console.cpp',
    '$DERIVED_DIR/V8Counter.cpp',
    '$DERIVED_DIR/V8CSSCharsetRule.cpp',
    '$DERIVED_DIR/V8CSSFontFaceRule.cpp',
    '$DERIVED_DIR/V8CSSImportRule.cpp',
    '$DERIVED_DIR/V8CSSMediaRule.cpp',
    '$DERIVED_DIR/V8CSSPageRule.cpp',
    '$DERIVED_DIR/V8CSSPrimitiveValue.cpp',
    '$DERIVED_DIR/V8CSSRule.cpp',
    '$DERIVED_DIR/V8CSSRuleList.cpp',
    '$DERIVED_DIR/V8CSSStyleDeclaration.cpp',
    '$DERIVED_DIR/V8CSSStyleRule.cpp',
    '$DERIVED_DIR/V8CSSStyleSheet.cpp',
    '$DERIVED_DIR/V8CSSValue.cpp',
    '$DERIVED_DIR/V8CSSValueList.cpp',
    '$DERIVED_DIR/V8CSSVariablesDeclaration.cpp',
    '$DERIVED_DIR/V8CSSVariablesRule.cpp',
    '$DERIVED_DIR/V8Document.cpp',
    '$DERIVED_DIR/V8DocumentFragment.cpp',
    '$DERIVED_DIR/V8DocumentType.cpp',
    '$DERIVED_DIR/V8DOMCoreException.cpp',
    '$DERIVED_DIR/V8DOMImplementation.cpp',
    '$DERIVED_DIR/V8DOMParser.cpp',
    '$DERIVED_DIR/V8DOMSelection.cpp',
    '$DERIVED_DIR/V8DOMStringList.cpp',
    '$DERIVED_DIR/V8DOMWindow.cpp',
    '$DERIVED_DIR/V8Element.cpp',
    '$DERIVED_DIR/V8Entity.cpp',
    '$DERIVED_DIR/V8EntityReference.cpp',
    '$DERIVED_DIR/V8Event.cpp',
    '$DERIVED_DIR/V8EventException.cpp',
    '$DERIVED_DIR/V8File.cpp',
    '$DERIVED_DIR/V8FileList.cpp',
    '$DERIVED_DIR/V8History.cpp',
    '$DERIVED_DIR/V8HTMLAnchorElement.cpp',
    '$DERIVED_DIR/V8HTMLAppletElement.cpp',
    '$DERIVED_DIR/V8HTMLAreaElement.cpp',
    '$DERIVED_DIR/V8HTMLAudioElement.cpp',
    '$DERIVED_DIR/V8HTMLBaseElement.cpp',
    '$DERIVED_DIR/V8HTMLBaseFontElement.cpp',
    '$DERIVED_DIR/V8HTMLBlockquoteElement.cpp',
    '$DERIVED_DIR/V8HTMLBodyElement.cpp',
    '$DERIVED_DIR/V8HTMLBRElement.cpp',
    '$DERIVED_DIR/V8HTMLButtonElement.cpp',
    '$DERIVED_DIR/V8HTMLCanvasElement.cpp',
    '$DERIVED_DIR/V8HTMLCollection.cpp',
    '$DERIVED_DIR/V8HTMLDirectoryElement.cpp',
    '$DERIVED_DIR/V8HTMLDivElement.cpp',
    '$DERIVED_DIR/V8HTMLDListElement.cpp',
    '$DERIVED_DIR/V8HTMLDocument.cpp',
    '$DERIVED_DIR/V8HTMLElement.cpp',
    '$DERIVED_DIR/V8HTMLEmbedElement.cpp',
    '$DERIVED_DIR/V8HTMLFieldSetElement.cpp',
    '$DERIVED_DIR/V8HTMLFontElement.cpp',
    '$DERIVED_DIR/V8HTMLFormElement.cpp',
    '$DERIVED_DIR/V8HTMLFrameElement.cpp',
    '$DERIVED_DIR/V8HTMLFrameSetElement.cpp',
    '$DERIVED_DIR/V8HTMLHeadElement.cpp',
    '$DERIVED_DIR/V8HTMLHeadingElement.cpp',
    '$DERIVED_DIR/V8HTMLHRElement.cpp',
    '$DERIVED_DIR/V8HTMLHtmlElement.cpp',
    '$DERIVED_DIR/V8HTMLIFrameElement.cpp',
    '$DERIVED_DIR/V8HTMLImageElement.cpp',
    '$DERIVED_DIR/V8HTMLInputElement.cpp',
    '$DERIVED_DIR/V8HTMLIsIndexElement.cpp',
    '$DERIVED_DIR/V8HTMLLabelElement.cpp',
    '$DERIVED_DIR/V8HTMLLegendElement.cpp',
    '$DERIVED_DIR/V8HTMLLIElement.cpp',
    '$DERIVED_DIR/V8HTMLLinkElement.cpp',
    '$DERIVED_DIR/V8HTMLMapElement.cpp',
    '$DERIVED_DIR/V8HTMLMarqueeElement.cpp',
    '$DERIVED_DIR/V8HTMLMediaElement.cpp',
    '$DERIVED_DIR/V8HTMLMenuElement.cpp',
    '$DERIVED_DIR/V8HTMLMetaElement.cpp',
    '$DERIVED_DIR/V8HTMLModElement.cpp',
    '$DERIVED_DIR/V8HTMLObjectElement.cpp',
    '$DERIVED_DIR/V8HTMLOListElement.cpp',
    '$DERIVED_DIR/V8HTMLOptGroupElement.cpp',
    '$DERIVED_DIR/V8HTMLOptionElement.cpp',
    '$DERIVED_DIR/V8HTMLOptionsCollection.cpp',
    '$DERIVED_DIR/V8HTMLParagraphElement.cpp',
    '$DERIVED_DIR/V8HTMLParamElement.cpp',
    '$DERIVED_DIR/V8HTMLPreElement.cpp',
    '$DERIVED_DIR/V8HTMLQuoteElement.cpp',
    '$DERIVED_DIR/V8HTMLScriptElement.cpp',
    '$DERIVED_DIR/V8HTMLSelectElement.cpp',
    '$DERIVED_DIR/V8HTMLStyleElement.cpp',
    '$DERIVED_DIR/V8HTMLTableCaptionElement.cpp',
    '$DERIVED_DIR/V8HTMLTableCellElement.cpp',
    '$DERIVED_DIR/V8HTMLTableColElement.cpp',
    '$DERIVED_DIR/V8HTMLTableElement.cpp',
    '$DERIVED_DIR/V8HTMLTableRowElement.cpp',
    '$DERIVED_DIR/V8HTMLTableSectionElement.cpp',
    '$DERIVED_DIR/V8HTMLTextAreaElement.cpp',
    '$DERIVED_DIR/V8HTMLTitleElement.cpp',
    '$DERIVED_DIR/V8HTMLUListElement.cpp',
    '$DERIVED_DIR/V8HTMLVideoElement.cpp',
    '$DERIVED_DIR/V8ImageData.cpp',
    '$DERIVED_DIR/V8InspectorController.cpp',
    '$DERIVED_DIR/V8KeyboardEvent.cpp',
    '$DERIVED_DIR/V8Location.cpp',
    '$DERIVED_DIR/V8MediaError.cpp',
    '$DERIVED_DIR/V8MediaList.cpp',
    '$DERIVED_DIR/V8MessageChannel.cpp',
    '$DERIVED_DIR/V8MessageEvent.cpp',
    '$DERIVED_DIR/V8MessagePort.cpp',
    '$DERIVED_DIR/V8MimeType.cpp',
    '$DERIVED_DIR/V8MimeTypeArray.cpp',
    '$DERIVED_DIR/V8MouseEvent.cpp',
    '$DERIVED_DIR/V8MutationEvent.cpp',
    '$DERIVED_DIR/V8NamedNodeMap.cpp',
    '$DERIVED_DIR/V8Navigator.cpp',
    '$DERIVED_DIR/V8Node.cpp',
    '$DERIVED_DIR/V8NodeFilter.cpp',
    '$DERIVED_DIR/V8NodeIterator.cpp',
    '$DERIVED_DIR/V8NodeList.cpp',
    '$DERIVED_DIR/V8Notation.cpp',
    '$DERIVED_DIR/V8OverflowEvent.cpp',
    '$DERIVED_DIR/V8Plugin.cpp',
    '$DERIVED_DIR/V8PluginArray.cpp',
    '$DERIVED_DIR/V8ProcessingInstruction.cpp',
    '$DERIVED_DIR/V8ProgressEvent.cpp',
    '$DERIVED_DIR/V8Range.cpp',
    '$DERIVED_DIR/V8RangeException.cpp',
    '$DERIVED_DIR/V8Rect.cpp',
    '$DERIVED_DIR/V8RGBColor.cpp',
    '$DERIVED_DIR/V8Screen.cpp',
    '$DERIVED_DIR/V8StyleSheet.cpp',
    '$DERIVED_DIR/V8StyleSheetList.cpp',
    '$DERIVED_DIR/V8SVGAElement.cpp',
    '$DERIVED_DIR/V8SVGAltGlyphElement.cpp',
    '$DERIVED_DIR/V8SVGAngle.cpp',
    '$DERIVED_DIR/V8SVGAnimateColorElement.cpp',
    '$DERIVED_DIR/V8SVGAnimatedAngle.cpp',
    '$DERIVED_DIR/V8SVGAnimatedBoolean.cpp',
    '$DERIVED_DIR/V8SVGAnimatedEnumeration.cpp',
    '$DERIVED_DIR/V8SVGAnimatedInteger.cpp',
    '$DERIVED_DIR/V8SVGAnimatedLength.cpp',
    '$DERIVED_DIR/V8SVGAnimatedLengthList.cpp',
    '$DERIVED_DIR/V8SVGAnimatedNumber.cpp',
    '$DERIVED_DIR/V8SVGAnimatedNumberList.cpp',
    '$DERIVED_DIR/V8SVGAnimatedPoints.cpp',
    '$DERIVED_DIR/V8SVGAnimatedPreserveAspectRatio.cpp',
    '$DERIVED_DIR/V8SVGAnimatedRect.cpp',
    '$DERIVED_DIR/V8SVGAnimatedString.cpp',
    '$DERIVED_DIR/V8SVGAnimatedTransformList.cpp',
    '$DERIVED_DIR/V8SVGAnimateElement.cpp',
    '$DERIVED_DIR/V8SVGAnimateTransformElement.cpp',
    '$DERIVED_DIR/V8SVGAnimationElement.cpp',
    '$DERIVED_DIR/V8SVGCircleElement.cpp',
    '$DERIVED_DIR/V8SVGClipPathElement.cpp',
    '$DERIVED_DIR/V8SVGColor.cpp',
    '$DERIVED_DIR/V8SVGCursorElement.cpp',
    '$DERIVED_DIR/V8SVGDefinitionSrcElement.cpp',
    '$DERIVED_DIR/V8SVGDefsElement.cpp',
    '$DERIVED_DIR/V8SVGDescElement.cpp',
    '$DERIVED_DIR/V8SVGDocument.cpp',
    '$DERIVED_DIR/V8SVGElement.cpp',
    '$DERIVED_DIR/V8SVGElementInstance.cpp',
    '$DERIVED_DIR/V8SVGElementInstanceList.cpp',
    '$DERIVED_DIR/V8SVGEllipseElement.cpp',
    '$DERIVED_DIR/V8SVGException.cpp',
    '$DERIVED_DIR/V8SVGFontFaceElement.cpp',
    '$DERIVED_DIR/V8SVGFontFaceFormatElement.cpp',
    '$DERIVED_DIR/V8SVGFontFaceNameElement.cpp',
    '$DERIVED_DIR/V8SVGFontFaceSrcElement.cpp',
    '$DERIVED_DIR/V8SVGFontFaceUriElement.cpp',
    '$DERIVED_DIR/V8SVGForeignObjectElement.cpp',
    '$DERIVED_DIR/V8SVGGElement.cpp',
    '$DERIVED_DIR/V8SVGGlyphElement.cpp',
    '$DERIVED_DIR/V8SVGGradientElement.cpp',
    '$DERIVED_DIR/V8SVGImageElement.cpp',
    '$DERIVED_DIR/V8SVGLength.cpp',
    '$DERIVED_DIR/V8SVGLengthList.cpp',
    '$DERIVED_DIR/V8SVGLinearGradientElement.cpp',
    '$DERIVED_DIR/V8SVGLineElement.cpp',
    '$DERIVED_DIR/V8SVGMarkerElement.cpp',
    '$DERIVED_DIR/V8SVGMaskElement.cpp',
    '$DERIVED_DIR/V8SVGMatrix.cpp',
    '$DERIVED_DIR/V8SVGMetadataElement.cpp',
    '$DERIVED_DIR/V8SVGNumber.cpp',
    '$DERIVED_DIR/V8SVGNumberList.cpp',
    '$DERIVED_DIR/V8SVGPaint.cpp',
    '$DERIVED_DIR/V8SVGPathElement.cpp',
    '$DERIVED_DIR/V8SVGPathSeg.cpp',
    '$DERIVED_DIR/V8SVGPathSegArcAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegArcRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegClosePath.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoCubicAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoCubicRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoCubicSmoothRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegCurvetoQuadraticSmoothRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegLinetoAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegLinetoHorizontalAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegLinetoHorizontalRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegLinetoRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegLinetoVerticalAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegLinetoVerticalRel.cpp',
    '$DERIVED_DIR/V8SVGPathSegList.cpp',
    '$DERIVED_DIR/V8SVGPathSegMovetoAbs.cpp',
    '$DERIVED_DIR/V8SVGPathSegMovetoRel.cpp',
    '$DERIVED_DIR/V8SVGPatternElement.cpp',
    '$DERIVED_DIR/V8SVGPoint.cpp',
    '$DERIVED_DIR/V8SVGPointList.cpp',
    '$DERIVED_DIR/V8SVGPolygonElement.cpp',
    '$DERIVED_DIR/V8SVGPolylineElement.cpp',
    '$DERIVED_DIR/V8SVGPreserveAspectRatio.cpp',
    '$DERIVED_DIR/V8SVGRadialGradientElement.cpp',
    '$DERIVED_DIR/V8SVGRect.cpp',
    '$DERIVED_DIR/V8SVGRectElement.cpp',
    '$DERIVED_DIR/V8SVGRenderingIntent.cpp',
    '$DERIVED_DIR/V8SVGScriptElement.cpp',
    '$DERIVED_DIR/V8SVGSetElement.cpp',
    '$DERIVED_DIR/V8SVGStopElement.cpp',
    '$DERIVED_DIR/V8SVGStringList.cpp',
    '$DERIVED_DIR/V8SVGStyleElement.cpp',
    '$DERIVED_DIR/V8SVGSVGElement.cpp',
    '$DERIVED_DIR/V8SVGSwitchElement.cpp',
    '$DERIVED_DIR/V8SVGSymbolElement.cpp',
    '$DERIVED_DIR/V8SVGTextContentElement.cpp',
    '$DERIVED_DIR/V8SVGTextElement.cpp',
    '$DERIVED_DIR/V8SVGTextPathElement.cpp',
    '$DERIVED_DIR/V8SVGTextPositioningElement.cpp',
    '$DERIVED_DIR/V8SVGTitleElement.cpp',
    '$DERIVED_DIR/V8SVGTransform.cpp',
    '$DERIVED_DIR/V8SVGTransformList.cpp',
    '$DERIVED_DIR/V8SVGTRefElement.cpp',
    '$DERIVED_DIR/V8SVGTSpanElement.cpp',
    '$DERIVED_DIR/V8SVGUnitTypes.cpp',
    '$DERIVED_DIR/V8SVGURIReference.cpp',
    '$DERIVED_DIR/V8SVGUseElement.cpp',
    '$DERIVED_DIR/V8SVGViewElement.cpp',
    '$DERIVED_DIR/V8SVGZoomEvent.cpp',
    '$DERIVED_DIR/V8Text.cpp',
    '$DERIVED_DIR/V8TextEvent.cpp',
    '$DERIVED_DIR/V8TextMetrics.cpp',
    '$DERIVED_DIR/V8TimeRanges.cpp',
    '$DERIVED_DIR/V8TreeWalker.cpp',
    '$DERIVED_DIR/V8UIEvent.cpp',
    '$DERIVED_DIR/V8UndetectableHTMLCollection.cpp',
    '$DERIVED_DIR/V8WebKitAnimationEvent.cpp',
    '$DERIVED_DIR/V8WebKitCSSKeyframeRule.cpp',
    '$DERIVED_DIR/V8WebKitCSSKeyframesRule.cpp',
    '$DERIVED_DIR/V8WebKitCSSMatrix.cpp',
    '$DERIVED_DIR/V8WebKitCSSTransformValue.cpp',
    '$DERIVED_DIR/V8WebKitPoint.cpp',
    '$DERIVED_DIR/V8WebKitTransitionEvent.cpp',
    '$DERIVED_DIR/V8WheelEvent.cpp',
    '$DERIVED_DIR/V8Worker.cpp',
    '$DERIVED_DIR/V8WorkerContext.cpp',
    '$DERIVED_DIR/V8WorkerLocation.cpp',
    '$DERIVED_DIR/V8XMLHttpRequest.cpp',
    '$DERIVED_DIR/V8XMLHttpRequestException.cpp',
    '$DERIVED_DIR/V8XMLHttpRequestProgressEvent.cpp',
    '$DERIVED_DIR/V8XMLHttpRequestUpload.cpp',
    '$DERIVED_DIR/V8XMLSerializer.cpp',
    '$DERIVED_DIR/V8XPathEvaluator.cpp',
    '$DERIVED_DIR/V8XPathException.cpp',
    '$DERIVED_DIR/V8XPathExpression.cpp',
    '$DERIVED_DIR/V8XPathNSResolver.cpp',
    '$DERIVED_DIR/V8XPathResult.cpp',
    '$DERIVED_DIR/V8XSLTProcessor.cpp',

    '$PORT_DIR/bindings/v8/JSDOMBinding.cpp',
    '$PORT_DIR/bindings/v8/JSXPathNSResolver.cpp',
    '$PORT_DIR/bindings/v8/NPV8Object.cpp',
    '$PORT_DIR/bindings/v8/npruntime.cpp',
    '$PORT_DIR/bindings/v8/RGBColor.cpp',
    '$WEBCORE_DIR/bindings/v8/ScheduledAction.cpp',
    '$WEBCORE_DIR/bindings/v8/ScriptCallFrame.cpp',
    '$WEBCORE_DIR/bindings/v8/ScriptCallStack.cpp',
    '$WEBCORE_DIR/bindings/v8/ScriptInstance.cpp',
    '$WEBCORE_DIR/bindings/v8/ScriptValue.cpp',
    '$PORT_DIR/bindings/v8/v8_custom.cpp',
    '$PORT_DIR/bindings/v8/v8_helpers.cpp',
    '$PORT_DIR/bindings/v8/v8_index.cpp',
    '$PORT_DIR/bindings/v8/v8_nodefilter.cpp',
    '$PORT_DIR/bindings/v8/V8NPUtils.cpp',
    '$PORT_DIR/bindings/v8/V8NPObject.cpp',
    '$PORT_DIR/bindings/v8/v8_proxy.cpp',
    '$PORT_DIR/bindings/v8/V8CanvasPixelArrayCustom.cpp',
    '$PORT_DIR/bindings/v8/V8MessagePortCustom.cpp',
    '$PORT_DIR/bindings/v8/V8WorkerContextCustom.cpp',
    '$PORT_DIR/bindings/v8/V8WorkerCustom.cpp',
    '$PORT_DIR/bindings/v8/V8XMLHttpRequestCustom.cpp',
    '$PORT_DIR/bindings/v8/WorkerContextExecutionProxy.cpp',
    '$PORT_DIR/bindings/v8/WorkerScriptController.cpp',

    '$WEBCORE_DIR/bindings/v8/custom/V8AbstractEventListener.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8ClipboardCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8CustomEventListener.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8DocumentCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8DOMParserConstructor.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8DOMStringListCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8DOMWindowCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8EventCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLCollectionCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLDocumentCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLFormElementCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLInputElementCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8HTMLSelectElementCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8LazyEventListener.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8LocationCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8MessageChannelConstructor.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8NamedNodeMapCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8NamedNodesCollection.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8NavigatorCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8NodeCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8NodeFilterCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8NodeIteratorCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8NodeListCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8ObjectEventListener.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8StyleSheetListCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8SVGElementInstanceCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8SVGLengthCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8SVGMatrixCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8TreeWalkerCustom.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8WorkerContextEventListener.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8XMLSerializerConstructor.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8XPathEvaluatorConstructor.cpp',
    '$WEBCORE_DIR/bindings/v8/custom/V8XSLTProcessorCustom.cpp',

    '$WEBKIT_DIR/extensions/v8/gc_extension.cc',
    '$WEBKIT_DIR/extensions/v8/gears_extension.cc',
    '$WEBKIT_DIR/extensions/v8/interval_extension.cc',
    '$WEBKIT_DIR/extensions/v8/playback_extension.cc',
    '$WEBKIT_DIR/extensions/v8/profiler_extension.cc',
]

if env.Bit('windows'):
  inputs.append('precompiled_v8bindings.cpp')

env.ChromeLibrary('V8Bindings', inputs)

env.ChromeMSVSProject('$WEBKIT_DIR/build/V8Bindings/V8Bindings.vcproj',
                dependencies = [
                    '$WEBKIT_DIR/build/JSConfig/V8Config.vcproj',
                    '$WEBKIT_DIR/build/V8Bindings/V8Bindings_prebuild.vcproj',
                ],
                guid='{625A8F11-2B4E-45B4-BD99-C6D629C606C0}')

env.ChromeMSVSProject('$WEBKIT_DIR/build/V8Bindings/V8Bindings_prebuild.vcproj',
                guid='{2F7EDFA2-EE27-4D83-8454-9EFBD5779203}')