OSDN Git Service

Merge WebKit at r80534: Fix makefiles.
[android-x86/external-webkit.git] / Source / WebCore / Android.derived.jscbindings.mk
1
2 ##
3 ## Copyright 2009, The Android Open Source Project
4 ##
5 ## Redistribution and use in source and binary forms, with or without
6 ## modification, are permitted provided that the following conditions
7 ## are met:
8 ##  * Redistributions of source code must retain the above copyright
9 ##    notice, this list of conditions and the following disclaimer.
10 ##  * Redistributions in binary form must reproduce the above copyright
11 ##    notice, this list of conditions and the following disclaimer in the
12 ##    documentation and/or other materials provided with the distribution.
13 ##
14 ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
15 ## EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 ## PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
18 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 ## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 ## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21 ## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22 ## OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 ##
26
27 # lookup tables for old-style JavaScript bindings
28 create_hash_table := $(LOCAL_PATH)/../JavaScriptCore/create_hash_table
29
30 GEN := $(addprefix $(intermediates)/, \
31                         bindings/js/JSDOMWindowBase.lut.h \
32                 )
33 $(GEN): PRIVATE_CUSTOM_TOOL = perl $(create_hash_table) $< > $@
34 $(GEN): $(intermediates)/bindings/js/%.lut.h: $(LOCAL_PATH)/bindings/js/%.cpp $(create_hash_table)
35         $(transform-generated-source)
36 LOCAL_GENERATED_SOURCES += $(GEN)
37
38
39 GEN := $(intermediates)/bindings/js/JSHTMLInputElementBaseTable.cpp
40 $(GEN): PRIVATE_CUSTOM_TOOL = perl $(create_hash_table) $< > $@
41 $(GEN): $(intermediates)/bindings/js/%Table.cpp: $(LOCAL_PATH)/bindings/js/%.cpp $(create_hash_table)
42         $(transform-generated-source)
43 $(intermediates)/bindings/js/JSHTMLInputElementBase.o : $(GEN)
44
45 # lookup tables for old-style JavaScript bindings
46 js_binding_scripts := $(addprefix $(LOCAL_PATH)/,\
47                         bindings/scripts/CodeGenerator.pm \
48                         bindings/scripts/IDLParser.pm \
49                         bindings/scripts/IDLStructure.pm \
50                         bindings/scripts/generate-bindings.pl \
51                 )
52
53 FEATURE_DEFINES := ENABLE_ORIENTATION_EVENTS=1 ENABLE_TOUCH_EVENTS=1 ENABLE_DATABASE=1 ENABLE_OFFLINE_WEB_APPLICATIONS=1 ENABLE_DOM_STORAGE=1 ENABLE_VIDEO=1 ENABLE_GEOLOCATION=1 ENABLE_CONNECTION=1 ENABLE_APPLICATION_INSTALLED=1 ENABLE_XPATH=1 ENABLE_XSLT=1 ENABLE_DEVICE_ORIENTATION=1 ENABLE_FILE_READER=1 ENABLE_BLOB=1
54
55 ifeq ($(ENABLE_SVG), true)
56     FEATURE_DEFINES += ENABLE_SVG=1
57 endif
58
59 # CSS
60 GEN := \
61     $(intermediates)/css/JSCSSCharsetRule.h \
62     $(intermediates)/css/JSCSSFontFaceRule.h \
63     $(intermediates)/css/JSCSSImportRule.h \
64     $(intermediates)/css/JSCSSMediaRule.h \
65     $(intermediates)/css/JSCSSPageRule.h \
66     $(intermediates)/css/JSCSSPrimitiveValue.h \
67     $(intermediates)/css/JSCSSRule.h \
68     $(intermediates)/css/JSCSSRuleList.h \
69     $(intermediates)/css/JSCSSStyleDeclaration.h \
70     $(intermediates)/css/JSCSSStyleRule.h \
71     $(intermediates)/css/JSCSSStyleSheet.h \
72     $(intermediates)/css/JSCSSValue.h \
73     $(intermediates)/css/JSCSSValueList.h \
74     $(intermediates)/css/JSCounter.h \
75     $(intermediates)/css/JSMediaList.h \
76     $(intermediates)/css/JSMediaQueryList.h \
77     $(intermediates)/css/JSRGBColor.h \
78     $(intermediates)/css/JSRect.h \
79     $(intermediates)/css/JSStyleMedia.h \
80     $(intermediates)/css/JSStyleSheet.h \
81     $(intermediates)/css/JSStyleSheetList.h \
82     $(intermediates)/css/JSWebKitCSSKeyframeRule.h \
83     $(intermediates)/css/JSWebKitCSSKeyframesRule.h \
84     $(intermediates)/css/JSWebKitCSSMatrix.h \
85     $(intermediates)/css/JSWebKitCSSTransformValue.h
86 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
87 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
88 $(GEN): $(intermediates)/css/JS%.h : $(LOCAL_PATH)/css/%.idl $(js_binding_scripts)
89         $(transform-generated-source)
90 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
91
92
93 # We also need the .cpp files, which are generated as side effects of the
94 # above rules.  Specifying this explicitly makes -j2 work.
95 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/css/%.cpp : $(intermediates)/css/%.h
96
97 # DOM
98 GEN := \
99     $(intermediates)/dom/JSAttr.h \
100     $(intermediates)/dom/JSBeforeLoadEvent.h \
101     $(intermediates)/dom/JSCDATASection.h \
102     $(intermediates)/dom/JSCharacterData.h \
103     $(intermediates)/dom/JSClientRect.h \
104     $(intermediates)/dom/JSClientRectList.h \
105     $(intermediates)/dom/JSClipboard.h \
106     $(intermediates)/dom/JSComment.h \
107     $(intermediates)/dom/JSCustomEvent.h \
108     $(intermediates)/dom/JSCompositionEvent.h \
109     $(intermediates)/dom/JSDOMCoreException.h \
110     $(intermediates)/dom/JSDOMImplementation.h \
111     $(intermediates)/dom/JSDOMStringList.h \
112     $(intermediates)/dom/JSDOMStringMap.h \
113     $(intermediates)/dom/JSDeviceMotionEvent.h \
114     $(intermediates)/dom/JSDeviceOrientationEvent.h \
115     $(intermediates)/dom/JSDocument.h \
116     $(intermediates)/dom/JSDocumentFragment.h \
117     $(intermediates)/dom/JSDocumentType.h \
118     $(intermediates)/dom/JSElement.h \
119     $(intermediates)/dom/JSEntity.h \
120     $(intermediates)/dom/JSEntityReference.h \
121     $(intermediates)/dom/JSErrorEvent.h \
122     $(intermediates)/dom/JSEvent.h \
123     $(intermediates)/dom/JSEventException.h \
124     $(intermediates)/dom/JSHashChangeEvent.h \
125     $(intermediates)/dom/JSKeyboardEvent.h \
126     $(intermediates)/dom/JSMessageChannel.h \
127     $(intermediates)/dom/JSMessageEvent.h \
128     $(intermediates)/dom/JSMessagePort.h \
129     $(intermediates)/dom/JSMouseEvent.h \
130     $(intermediates)/dom/JSMutationEvent.h \
131     $(intermediates)/dom/JSNamedNodeMap.h \
132     $(intermediates)/dom/JSNode.h \
133     $(intermediates)/dom/JSNodeFilter.h \
134     $(intermediates)/dom/JSNodeIterator.h \
135     $(intermediates)/dom/JSNodeList.h \
136     $(intermediates)/dom/JSNotation.h \
137     $(intermediates)/dom/JSOverflowEvent.h \
138     $(intermediates)/dom/JSPageTransitionEvent.h \
139     $(intermediates)/dom/JSPopStateEvent.h \
140     $(intermediates)/dom/JSProcessingInstruction.h \
141     $(intermediates)/dom/JSProgressEvent.h \
142     $(intermediates)/dom/JSRange.h \
143     $(intermediates)/dom/JSRangeException.h \
144     $(intermediates)/dom/JSText.h \
145     $(intermediates)/dom/JSTextEvent.h \
146     $(intermediates)/dom/JSTouch.h \
147     $(intermediates)/dom/JSTouchEvent.h \
148     $(intermediates)/dom/JSTouchList.h \
149     $(intermediates)/dom/JSTreeWalker.h \
150     $(intermediates)/dom/JSUIEvent.h \
151     $(intermediates)/dom/JSWebKitAnimationEvent.h \
152     $(intermediates)/dom/JSWebKitTransitionEvent.h \
153     $(intermediates)/dom/JSWheelEvent.h
154 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
155 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
156 $(GEN): $(intermediates)/dom/JS%.h : $(LOCAL_PATH)/dom/%.idl $(js_binding_scripts)
157         $(transform-generated-source)
158 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
159
160 # We also need the .cpp files, which are generated as side effects of the
161 # above rules.  Specifying this explicitly makes -j2 work.
162 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/dom/%.cpp : $(intermediates)/dom/%.h
163
164 # Fileapi
165 GEN := \
166     $(intermediates)/fileapi/JSBlob.h \
167     $(intermediates)/fileapi/JSBlobBuilder.h \
168     $(intermediates)/fileapi/JSDOMFileSystem.h \
169     $(intermediates)/fileapi/JSDOMFileSystemSync.h \
170     $(intermediates)/fileapi/JSDirectoryEntry.h \
171     $(intermediates)/fileapi/JSDirectoryEntrySync.h \
172     $(intermediates)/fileapi/JSDirectoryReader.h \
173     $(intermediates)/fileapi/JSDirectoryReaderSync.h \
174     $(intermediates)/fileapi/JSEntriesCallback.h \
175     $(intermediates)/fileapi/JSEntry.h \
176     $(intermediates)/fileapi/JSEntryArray.h \
177     $(intermediates)/fileapi/JSEntryArraySync.h \
178     $(intermediates)/fileapi/JSEntryCallback.h \
179     $(intermediates)/fileapi/JSEntrySync.h \
180     $(intermediates)/fileapi/JSErrorCallback.h \
181     $(intermediates)/fileapi/JSFile.h \
182     $(intermediates)/fileapi/JSFileCallback.h \
183     $(intermediates)/fileapi/JSFileEntry.h \
184     $(intermediates)/fileapi/JSFileEntrySync.h \
185     $(intermediates)/fileapi/JSFileError.h \
186     $(intermediates)/fileapi/JSFileException.h \
187     $(intermediates)/fileapi/JSFileList.h \
188     $(intermediates)/fileapi/JSFileReader.h \
189     $(intermediates)/fileapi/JSFileReaderSync.h \
190     $(intermediates)/fileapi/JSFileSystemCallback.h \
191     $(intermediates)/fileapi/JSFileWriter.h \
192     $(intermediates)/fileapi/JSFileWriterCallback.h \
193     $(intermediates)/fileapi/JSFlags.h \
194     $(intermediates)/fileapi/JSMetadata.h \
195     $(intermediates)/fileapi/JSMetadataCallback.h
196
197 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
198 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --include fileapi --outputdir $(dir $@) $<
199 $(GEN): $(intermediates)/fileapi/JS%.h : $(LOCAL_PATH)/fileapi/%.idl $(js_binding_scripts)
200         $(transform-generated-source)
201 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
202
203 # We also need the .cpp files, which are generated as side effects of the
204 # above rules.  Specifying this explicitly makes -j2 work.
205 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/fileapi/%.cpp : $(intermediates)/fileapi/%.h
206
207 # HTML
208 GEN := \
209     $(intermediates)/html/JSDOMFormData.h \
210     $(intermediates)/html/JSDOMSettableTokenList.h \
211     $(intermediates)/html/JSDOMTokenList.h \
212     $(intermediates)/html/JSDOMURL.h \
213     $(intermediates)/html/JSDataGridColumn.h \
214     $(intermediates)/html/JSDataGridColumnList.h \
215     $(intermediates)/html/JSHTMLAllCollection.h \
216     $(intermediates)/html/JSHTMLAnchorElement.h \
217     $(intermediates)/html/JSHTMLAppletElement.h \
218     $(intermediates)/html/JSHTMLAreaElement.h \
219     $(intermediates)/html/JSHTMLAudioElement.h \
220     $(intermediates)/html/JSHTMLBRElement.h \
221     $(intermediates)/html/JSHTMLBaseElement.h \
222     $(intermediates)/html/JSHTMLBaseFontElement.h \
223     $(intermediates)/html/JSHTMLBlockquoteElement.h \
224     $(intermediates)/html/JSHTMLBodyElement.h \
225     $(intermediates)/html/JSHTMLButtonElement.h \
226     $(intermediates)/html/JSHTMLCanvasElement.h \
227     $(intermediates)/html/JSHTMLCollection.h \
228     $(intermediates)/html/JSHTMLDataGridElement.h \
229     $(intermediates)/html/JSHTMLDataGridCellElement.h \
230     $(intermediates)/html/JSHTMLDataGridColElement.h \
231     $(intermediates)/html/JSHTMLDataGridRowElement.h \
232     $(intermediates)/html/JSHTMLDataListElement.h \
233     $(intermediates)/html/JSHTMLDetailsElement.h \
234     $(intermediates)/html/JSHTMLDListElement.h \
235     $(intermediates)/html/JSHTMLDirectoryElement.h \
236     $(intermediates)/html/JSHTMLDivElement.h \
237     $(intermediates)/html/JSHTMLDocument.h \
238     $(intermediates)/html/JSHTMLElement.h \
239     $(intermediates)/html/JSHTMLEmbedElement.h \
240     $(intermediates)/html/JSHTMLFieldSetElement.h \
241     $(intermediates)/html/JSHTMLFontElement.h \
242     $(intermediates)/html/JSHTMLFormElement.h \
243     $(intermediates)/html/JSHTMLFrameElement.h \
244     $(intermediates)/html/JSHTMLFrameSetElement.h \
245     $(intermediates)/html/JSHTMLHRElement.h \
246     $(intermediates)/html/JSHTMLHeadElement.h \
247     $(intermediates)/html/JSHTMLHeadingElement.h \
248     $(intermediates)/html/JSHTMLHtmlElement.h \
249     $(intermediates)/html/JSHTMLIFrameElement.h \
250     $(intermediates)/html/JSHTMLImageElement.h \
251     $(intermediates)/html/JSHTMLInputElement.h \
252     $(intermediates)/html/JSHTMLIsIndexElement.h \
253     $(intermediates)/html/JSHTMLKeygenElement.h \
254     $(intermediates)/html/JSHTMLLIElement.h \
255     $(intermediates)/html/JSHTMLLabelElement.h \
256     $(intermediates)/html/JSHTMLLegendElement.h \
257     $(intermediates)/html/JSHTMLLinkElement.h \
258     $(intermediates)/html/JSHTMLMapElement.h \
259     $(intermediates)/html/JSHTMLMarqueeElement.h \
260     $(intermediates)/html/JSHTMLMediaElement.h \
261     $(intermediates)/html/JSHTMLMenuElement.h \
262     $(intermediates)/html/JSHTMLMetaElement.h \
263     $(intermediates)/html/JSHTMLMeterElement.h \
264     $(intermediates)/html/JSHTMLModElement.h \
265     $(intermediates)/html/JSHTMLOListElement.h \
266     $(intermediates)/html/JSHTMLObjectElement.h \
267     $(intermediates)/html/JSHTMLOptGroupElement.h \
268     $(intermediates)/html/JSHTMLOptionElement.h \
269     $(intermediates)/html/JSHTMLOptionsCollection.h \
270     $(intermediates)/html/JSHTMLOutputElement.h \
271     $(intermediates)/html/JSHTMLParagraphElement.h \
272     $(intermediates)/html/JSHTMLParamElement.h \
273     $(intermediates)/html/JSHTMLPreElement.h \
274     $(intermediates)/html/JSHTMLProgressElement.h \
275     $(intermediates)/html/JSHTMLQuoteElement.h \
276     $(intermediates)/html/JSHTMLScriptElement.h \
277     $(intermediates)/html/JSHTMLSelectElement.h \
278     $(intermediates)/html/JSHTMLSourceElement.h \
279     $(intermediates)/html/JSHTMLStyleElement.h \
280     $(intermediates)/html/JSHTMLTableCaptionElement.h \
281     $(intermediates)/html/JSHTMLTableCellElement.h \
282     $(intermediates)/html/JSHTMLTableColElement.h \
283     $(intermediates)/html/JSHTMLTableElement.h \
284     $(intermediates)/html/JSHTMLTableRowElement.h \
285     $(intermediates)/html/JSHTMLTableSectionElement.h \
286     $(intermediates)/html/JSHTMLTextAreaElement.h \
287     $(intermediates)/html/JSHTMLTitleElement.h \
288     $(intermediates)/html/JSHTMLUListElement.h \
289     $(intermediates)/html/JSHTMLVideoElement.h \
290     $(intermediates)/html/JSImageData.h \
291     $(intermediates)/html/JSMediaError.h \
292     $(intermediates)/html/JSTextMetrics.h \
293     $(intermediates)/html/JSTimeRanges.h \
294     $(intermediates)/html/JSValidityState.h \
295     $(intermediates)/html/JSVoidCallback.h
296
297 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
298 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
299 $(GEN): $(intermediates)/html/JS%.h : $(LOCAL_PATH)/html/%.idl $(js_binding_scripts)
300         $(transform-generated-source)
301 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
302
303 # We also need the .cpp files, which are generated as side effects of the
304 # above rules.  Specifying this explicitly makes -j2 work.
305 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/html/%.cpp : $(intermediates)/html/%.h
306
307 # Canvas
308 GEN := \
309     $(intermediates)/html/canvas/JSArrayBuffer.h \
310     $(intermediates)/html/canvas/JSArrayBufferView.h \
311     $(intermediates)/html/canvas/JSCanvasGradient.h \
312     $(intermediates)/html/canvas/JSCanvasPattern.h \
313     $(intermediates)/html/canvas/JSCanvasRenderingContext.h \
314     $(intermediates)/html/canvas/JSCanvasRenderingContext2D.h \
315     $(intermediates)/html/canvas/JSDataView.h \
316     $(intermediates)/html/canvas/JSFloat32Array.h \
317     $(intermediates)/html/canvas/JSInt8Array.h \
318     $(intermediates)/html/canvas/JSInt16Array.h \
319     $(intermediates)/html/canvas/JSInt32Array.h \
320     $(intermediates)/html/canvas/JSOESTextureFloat.h \
321     $(intermediates)/html/canvas/JSOESVertexArrayObject.h \
322     $(intermediates)/html/canvas/JSUint8Array.h \
323     $(intermediates)/html/canvas/JSUint16Array.h \
324     $(intermediates)/html/canvas/JSUint32Array.h \
325     $(intermediates)/html/canvas/JSWebGLActiveInfo.h \
326     $(intermediates)/html/canvas/JSWebGLBuffer.h \
327     $(intermediates)/html/canvas/JSWebGLFramebuffer.h \
328     $(intermediates)/html/canvas/JSWebGLProgram.h \
329     $(intermediates)/html/canvas/JSWebGLRenderbuffer.h \
330     $(intermediates)/html/canvas/JSWebGLRenderingContext.h \
331     $(intermediates)/html/canvas/JSWebGLShader.h \
332     $(intermediates)/html/canvas/JSWebGLTexture.h \
333     $(intermediates)/html/canvas/JSWebGLUniformLocation.h \
334     $(intermediates)/html/canvas/JSWebGLVertexArrayObjectOES.h
335
336 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
337 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
338 $(GEN): $(intermediates)/html/canvas/JS%.h : $(LOCAL_PATH)/html/canvas/%.idl $(js_binding_scripts)
339         $(transform-generated-source)
340 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
341
342 # We also need the .cpp files, which are generated as side effects of the
343 # above rules.  Specifying this explicitly makes -j2 work.
344 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/html/canvas/%.cpp : $(intermediates)/html/canvas/%.h
345
346 # Appcache
347 GEN := \
348     $(intermediates)/loader/appcache/JSDOMApplicationCache.h
349
350 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
351 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
352 $(GEN): $(intermediates)/loader/appcache/JS%.h : $(LOCAL_PATH)/loader/appcache/%.idl $(js_binding_scripts)
353         $(transform-generated-source)
354 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
355
356 # We also need the .cpp files, which are generated as side effects of the
357 # above rules.  Specifying this explicitly makes -j2 work.
358 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/loader/appcache/%.cpp : $(intermediates)/loader/appcache/%.h
359
360 # page
361 GEN := \
362     $(intermediates)/page/JSBarInfo.h \
363     $(intermediates)/page/JSConnection.h \
364     $(intermediates)/page/JSConsole.h \
365     $(intermediates)/page/JSCoordinates.h \
366     $(intermediates)/page/JSCrypto.h \
367     $(intermediates)/page/JSDOMSelection.h \
368     $(intermediates)/page/JSDOMWindow.h \
369     $(intermediates)/page/JSEventSource.h \
370     $(intermediates)/page/JSGeolocation.h \
371     $(intermediates)/page/JSGeoposition.h \
372     $(intermediates)/page/JSHistory.h \
373     $(intermediates)/page/JSLocation.h \
374     $(intermediates)/page/JSMemoryInfo.h \
375     $(intermediates)/page/JSNavigator.h \
376     $(intermediates)/page/JSPositionError.h \
377     $(intermediates)/page/JSScreen.h \
378     $(intermediates)/page/JSSpeechInputEvent.h \
379     $(intermediates)/page/JSWebKitPoint.h \
380     $(intermediates)/page/JSWorkerNavigator.h
381
382 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
383 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
384 $(GEN): $(intermediates)/page/JS%.h : $(LOCAL_PATH)/page/%.idl $(js_binding_scripts)
385         $(transform-generated-source)
386 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
387
388 # We also need the .cpp files, which are generated as side effects of the
389 # above rules.  Specifying this explicitly makes -j2 work.
390 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/page/%.cpp : $(intermediates)/page/%.h
391
392 GEN := \
393     $(intermediates)/plugins/JSDOMMimeType.h \
394     $(intermediates)/plugins/JSDOMMimeTypeArray.h \
395     $(intermediates)/plugins/JSDOMPlugin.h \
396     $(intermediates)/plugins/JSDOMPluginArray.h
397
398 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
399 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
400 $(GEN): $(intermediates)/plugins/JS%.h : $(LOCAL_PATH)/plugins/%.idl $(js_binding_scripts)
401         $(transform-generated-source)
402 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
403
404 # We also need the .cpp files, which are generated as side effects of the
405 # above rules.  Specifying this explicitly makes -j2 work.
406 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/plugins/%.cpp : $(intermediates)/plugins/%.h
407
408 # Database
409 GEN := \
410     $(intermediates)/storage/JSDatabase.h \
411     $(intermediates)/storage/JSDatabaseCallback.h \
412     $(intermediates)/storage/JSDatabaseSync.h \
413     $(intermediates)/storage/JSSQLError.h \
414     $(intermediates)/storage/JSSQLException.h \
415     $(intermediates)/storage/JSSQLResultSet.h \
416     $(intermediates)/storage/JSSQLResultSetRowList.h \
417     $(intermediates)/storage/JSSQLStatementCallback.h \
418     $(intermediates)/storage/JSSQLStatementErrorCallback.h \
419     $(intermediates)/storage/JSSQLTransaction.h \
420     $(intermediates)/storage/JSSQLTransactionCallback.h \
421     $(intermediates)/storage/JSSQLTransactionSync.h \
422     $(intermediates)/storage/JSSQLTransactionSyncCallback.h \
423     $(intermediates)/storage/JSSQLTransactionErrorCallback.h
424
425 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
426 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --include storage --outputdir $(dir $@) $<
427 $(GEN): $(intermediates)/storage/JS%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts)
428         $(transform-generated-source)
429 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
430
431 # We also need the .cpp files, which are generated as side effects of the
432 # above rules.  Specifying this explicitly makes -j2 work.
433 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/storage/%.cpp : $(intermediates)/storage/%.h
434
435 # DOM Storage
436 GEN := \
437     $(intermediates)/storage/JSStorage.h \
438     $(intermediates)/storage/JSStorageEvent.h
439
440 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
441 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
442 $(GEN): $(intermediates)/storage/JS%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts)
443         $(transform-generated-source)
444 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
445
446 # We also need the .cpp files, which are generated as side effects of the
447 # above rules.  Specifying this explicitly makes -j2 work.
448 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/storage/%.cpp : $(intermediates)/storage/%.h
449
450 # Indexed Database
451 GEN := \
452     $(intermediates)/storage/JSIDBAny.h \
453     $(intermediates)/storage/JSIDBCursor.h \
454     $(intermediates)/storage/JSIDBCursorWithValue.h \
455     $(intermediates)/storage/JSIDBDatabaseError.h \
456     $(intermediates)/storage/JSIDBDatabaseException.h \
457     $(intermediates)/storage/JSIDBDatabase.h \
458     $(intermediates)/storage/JSIDBFactory.h \
459     $(intermediates)/storage/JSIDBIndex.h \
460     $(intermediates)/storage/JSIDBKey.h \
461     $(intermediates)/storage/JSIDBKeyRange.h \
462     $(intermediates)/storage/JSIDBObjectStore.h \
463     $(intermediates)/storage/JSIDBRequest.h \
464     $(intermediates)/storage/JSIDBTransaction.h \
465     $(intermediates)/storage/JSIDBVersionChangeEvent.h \
466     $(intermediates)/storage/JSIDBVersionChangeRequest.h
467
468 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
469 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --include storage --outputdir $(dir $@) $<
470 $(GEN): $(intermediates)/storage/JS%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts)
471         $(transform-generated-source)
472 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
473
474 # We also need the .cpp files, which are generated as side effects of the
475 # above rules.  Specifying this explicitly makes -j2 work.
476 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/storage/%.cpp : $(intermediates)/storage/%.h
477
478 # SVG
479 ifeq ($(ENABLE_SVG), true)
480 GEN := \
481     $(intermediates)/svg/JSSVGAElement.h \
482     $(intermediates)/svg/JSSVGAltGlyphElement.h \
483     $(intermediates)/svg/JSSVGAngle.h \
484     $(intermediates)/svg/JSSVGAnimateColorElement.h \
485     $(intermediates)/svg/JSSVGAnimateElement.h \
486     $(intermediates)/svg/JSSVGAnimateTransformElement.h \
487     $(intermediates)/svg/JSSVGAnimatedAngle.h \
488     $(intermediates)/svg/JSSVGAnimatedBoolean.h \
489     $(intermediates)/svg/JSSVGAnimatedEnumeration.h \
490     $(intermediates)/svg/JSSVGAnimatedInteger.h \
491     $(intermediates)/svg/JSSVGAnimatedLength.h \
492     $(intermediates)/svg/JSSVGAnimatedLengthList.h \
493     $(intermediates)/svg/JSSVGAnimatedNumber.h \
494     $(intermediates)/svg/JSSVGAnimatedNumberList.h \
495     $(intermediates)/svg/JSSVGAnimatedPreserveAspectRatio.h \
496     $(intermediates)/svg/JSSVGAnimatedRect.h \
497     $(intermediates)/svg/JSSVGAnimatedString.h \
498     $(intermediates)/svg/JSSVGAnimatedTransformList.h \
499     $(intermediates)/svg/JSSVGAnimationElement.h \
500     $(intermediates)/svg/JSSVGCircleElement.h \
501     $(intermediates)/svg/JSSVGClipPathElement.h \
502     $(intermediates)/svg/JSSVGColor.h \
503     $(intermediates)/svg/JSSVGComponentTransferFunctionElement.h \
504     $(intermediates)/svg/JSSVGCursorElement.h \
505     $(intermediates)/svg/JSSVGDefsElement.h \
506     $(intermediates)/svg/JSSVGDescElement.h \
507     $(intermediates)/svg/JSSVGDocument.h \
508     $(intermediates)/svg/JSSVGElement.h \
509     $(intermediates)/svg/JSSVGElementInstance.h \
510     $(intermediates)/svg/JSSVGElementInstanceList.h \
511     $(intermediates)/svg/JSSVGEllipseElement.h \
512     $(intermediates)/svg/JSSVGException.h \
513     $(intermediates)/svg/JSSVGFEBlendElement.h \
514     $(intermediates)/svg/JSSVGFEColorMatrixElement.h \
515     $(intermediates)/svg/JSSVGFEComponentTransferElement.h \
516     $(intermediates)/svg/JSSVGFECompositeElement.h \
517     $(intermediates)/svg/JSSVGFEConvolveMatrixElement.h \
518     $(intermediates)/svg/JSSVGFEDiffuseLightingElement.h \
519     $(intermediates)/svg/JSSVGFEDisplacementMapElement.h \
520     $(intermediates)/svg/JSSVGFEDistantLightElement.h \
521     $(intermediates)/svg/JSSVGFEFloodElement.h \
522     $(intermediates)/svg/JSSVGFEFuncAElement.h \
523     $(intermediates)/svg/JSSVGFEFuncBElement.h \
524     $(intermediates)/svg/JSSVGFEFuncGElement.h \
525     $(intermediates)/svg/JSSVGFEFuncRElement.h \
526     $(intermediates)/svg/JSSVGFEGaussianBlurElement.h \
527     $(intermediates)/svg/JSSVGFEImageElement.h \
528     $(intermediates)/svg/JSSVGFEMergeElement.h \
529     $(intermediates)/svg/JSSVGFEMergeNodeElement.h \
530     $(intermediates)/svg/JSSVGFEOffsetElement.h \
531     $(intermediates)/svg/JSSVGFEPointLightElement.h \
532     $(intermediates)/svg/JSSVGFESpecularLightingElement.h \
533     $(intermediates)/svg/JSSVGFESpotLightElement.h \
534     $(intermediates)/svg/JSSVGFETileElement.h \
535     $(intermediates)/svg/JSSVGFETurbulenceElement.h \
536     $(intermediates)/svg/JSSVGFilterElement.h \
537     $(intermediates)/svg/JSSVGFontElement.h \
538     $(intermediates)/svg/JSSVGFontFaceElement.h \
539     $(intermediates)/svg/JSSVGFontFaceFormatElement.h \
540     $(intermediates)/svg/JSSVGFontFaceNameElement.h \
541     $(intermediates)/svg/JSSVGFontFaceSrcElement.h \
542     $(intermediates)/svg/JSSVGFontFaceUriElement.h \
543     $(intermediates)/svg/JSSVGForeignObjectElement.h \
544     $(intermediates)/svg/JSSVGGElement.h \
545     $(intermediates)/svg/JSSVGGlyphElement.h \
546     $(intermediates)/svg/JSSVGGradientElement.h \
547     $(intermediates)/svg/JSSVGHKernElement.h \
548     $(intermediates)/svg/JSSVGImageElement.h \
549     $(intermediates)/svg/JSSVGLength.h \
550     $(intermediates)/svg/JSSVGLengthList.h \
551     $(intermediates)/svg/JSSVGLineElement.h \
552     $(intermediates)/svg/JSSVGLinearGradientElement.h \
553     $(intermediates)/svg/JSSVGMarkerElement.h \
554     $(intermediates)/svg/JSSVGMaskElement.h \
555     $(intermediates)/svg/JSSVGMatrix.h \
556     $(intermediates)/svg/JSSVGMetadataElement.h \
557     $(intermediates)/svg/JSSVGMissingGlyphElement.h \
558     $(intermediates)/svg/JSSVGNumber.h \
559     $(intermediates)/svg/JSSVGNumberList.h \
560     $(intermediates)/svg/JSSVGPaint.h \
561     $(intermediates)/svg/JSSVGPathElement.h \
562     $(intermediates)/svg/JSSVGPathSeg.h \
563     $(intermediates)/svg/JSSVGPathSegArcAbs.h \
564     $(intermediates)/svg/JSSVGPathSegArcRel.h \
565     $(intermediates)/svg/JSSVGPathSegClosePath.h \
566     $(intermediates)/svg/JSSVGPathSegCurvetoCubicAbs.h \
567     $(intermediates)/svg/JSSVGPathSegCurvetoCubicRel.h \
568     $(intermediates)/svg/JSSVGPathSegCurvetoCubicSmoothAbs.h \
569     $(intermediates)/svg/JSSVGPathSegCurvetoCubicSmoothRel.h \
570     $(intermediates)/svg/JSSVGPathSegCurvetoQuadraticAbs.h \
571     $(intermediates)/svg/JSSVGPathSegCurvetoQuadraticRel.h \
572     $(intermediates)/svg/JSSVGPathSegCurvetoQuadraticSmoothAbs.h \
573     $(intermediates)/svg/JSSVGPathSegCurvetoQuadraticSmoothRel.h \
574     $(intermediates)/svg/JSSVGPathSegLinetoAbs.h \
575     $(intermediates)/svg/JSSVGPathSegLinetoHorizontalAbs.h \
576     $(intermediates)/svg/JSSVGPathSegLinetoHorizontalRel.h \
577     $(intermediates)/svg/JSSVGPathSegLinetoRel.h \
578     $(intermediates)/svg/JSSVGPathSegLinetoVerticalAbs.h \
579     $(intermediates)/svg/JSSVGPathSegLinetoVerticalRel.h \
580     $(intermediates)/svg/JSSVGPathSegList.h \
581     $(intermediates)/svg/JSSVGPathSegMovetoAbs.h \
582     $(intermediates)/svg/JSSVGPathSegMovetoRel.h \
583     $(intermediates)/svg/JSSVGPatternElement.h \
584     $(intermediates)/svg/JSSVGPoint.h \
585     $(intermediates)/svg/JSSVGPointList.h \
586     $(intermediates)/svg/JSSVGPolygonElement.h \
587     $(intermediates)/svg/JSSVGPolylineElement.h \
588     $(intermediates)/svg/JSSVGPreserveAspectRatio.h \
589     $(intermediates)/svg/JSSVGRadialGradientElement.h \
590     $(intermediates)/svg/JSSVGRect.h \
591     $(intermediates)/svg/JSSVGRectElement.h \
592     $(intermediates)/svg/JSSVGRenderingIntent.h \
593     $(intermediates)/svg/JSSVGSVGElement.h \
594     $(intermediates)/svg/JSSVGScriptElement.h \
595     $(intermediates)/svg/JSSVGSetElement.h \
596     $(intermediates)/svg/JSSVGStopElement.h \
597     $(intermediates)/svg/JSSVGStringList.h \
598     $(intermediates)/svg/JSSVGStyleElement.h \
599     $(intermediates)/svg/JSSVGSwitchElement.h \
600     $(intermediates)/svg/JSSVGSymbolElement.h \
601     $(intermediates)/svg/JSSVGTRefElement.h \
602     $(intermediates)/svg/JSSVGTSpanElement.h \
603     $(intermediates)/svg/JSSVGTextContentElement.h \
604     $(intermediates)/svg/JSSVGTextElement.h \
605     $(intermediates)/svg/JSSVGTextPathElement.h \
606     $(intermediates)/svg/JSSVGTextPositioningElement.h \
607     $(intermediates)/svg/JSSVGTitleElement.h \
608     $(intermediates)/svg/JSSVGTransform.h \
609     $(intermediates)/svg/JSSVGTransformList.h \
610     $(intermediates)/svg/JSSVGUnitTypes.h \
611     $(intermediates)/svg/JSSVGUseElement.h \
612     $(intermediates)/svg/JSSVGViewElement.h \
613     $(intermediates)/svg/JSSVGVKernElement.h \
614     $(intermediates)/svg/JSSVGZoomEvent.h
615 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
616 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include external/webkit/Source/WebCore/dom --include external/webkit/Source/WebCore/html --include external/webkit/Source/WebCore/svg --outputdir $(dir $@) $<
617 $(GEN): $(intermediates)/svg/JS%.h : $(LOCAL_PATH)/svg/%.idl $(js_binding_scripts)
618         $(transform-generated-source)
619 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
620
621 # We also need the .cpp files, which are generated as side effects of the
622 # above rules.  Specifying this explicitly makes -j2 work.
623 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/svg/%.cpp : $(intermediates)/svg/%.h
624 endif
625
626 # Workers
627 GEN := \
628     $(intermediates)/workers/JSAbstractWorker.h \
629     $(intermediates)/workers/JSDedicatedWorkerContext.h \
630     $(intermediates)/workers/JSSharedWorker.h \
631     $(intermediates)/workers/JSSharedWorkerContext.h \
632     $(intermediates)/workers/JSWorker.h \
633     $(intermediates)/workers/JSWorkerContext.h \
634     $(intermediates)/workers/JSWorkerLocation.h
635
636 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
637 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
638 $(GEN): $(intermediates)/workers/JS%.h : $(LOCAL_PATH)/workers/%.idl $(js_binding_scripts)
639         $(transform-generated-source)
640 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
641
642 # We also need the .cpp files, which are generated as side effects of the
643 # above rules.  Specifying this explicitly makes -j2 work.
644 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/workers/%.cpp : $(intermediates)/workers/%.h
645
646 # XML
647 GEN := \
648     $(intermediates)/xml/JSDOMParser.h \
649     $(intermediates)/xml/JSXMLHttpRequest.h \
650     $(intermediates)/xml/JSXMLHttpRequestException.h \
651     $(intermediates)/xml/JSXMLHttpRequestProgressEvent.h \
652     $(intermediates)/xml/JSXMLHttpRequestUpload.h \
653     $(intermediates)/xml/JSXMLSerializer.h \
654     $(intermediates)/xml/JSXPathException.h \
655     $(intermediates)/xml/JSXPathExpression.h \
656     $(intermediates)/xml/JSXPathEvaluator.h \
657     $(intermediates)/xml/JSXPathNSResolver.h \
658     $(intermediates)/xml/JSXPathResult.h \
659     $(intermediates)/xml/JSXSLTProcessor.h
660 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
661 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
662 $(GEN): $(intermediates)/xml/JS%.h : $(LOCAL_PATH)/xml/%.idl $(js_binding_scripts)
663         $(transform-generated-source)
664 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
665
666 # We also need the .cpp files, which are generated as side effects of the
667 # above rules.  Specifying this explicitly makes -j2 work.
668 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/xml/%.cpp : $(intermediates)/xml/%.h
669 #end
670
671 # Inspector
672 # These headers are required even when Inspector is disabled.
673 # Note that Inspector.idl should not be processed using the JS generator.
674 GEN := \
675     $(intermediates)/inspector/JSScriptProfile.h
676
677 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
678 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
679 $(GEN): $(intermediates)/inspector/JS%.h : $(LOCAL_PATH)/inspector/%.idl $(js_binding_scripts)
680         $(transform-generated-source)
681 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
682
683 # We also need the .cpp files, which are generated as side effects of the
684 # above rules.  Specifying this explicitly makes -j2 work.
685 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/inspector/%.cpp : $(intermediates)/inspector/%.h
686
687 # WebAudio
688 # These headers are required even when WebAudio is disabled
689 GEN := \
690     $(intermediates)/webaudio/JSAudioContext.h \
691     $(intermediates)/webaudio/JSAudioPannerNode.h
692
693 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
694 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
695 $(GEN): $(intermediates)/webaudio/JS%.h : $(LOCAL_PATH)/webaudio/%.idl $(js_binding_scripts)
696         $(transform-generated-source)
697 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
698
699 # We also need the .cpp files, which are generated as side effects of the
700 # above rules.  Specifying this explicitly makes -j2 work.
701 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/webaudio/%.cpp : $(intermediates)/webaudio/%.h
702
703 # HTML tag and attribute names
704
705 GEN:= $(intermediates)/HTMLNames.cpp $(intermediates)/HTMLNames.h $(intermediates)/HTMLElementFactory.cpp $(intermediates)/HTMLElementFactory.h $(intermediates)/JSHTMLElementWrapperFactory.cpp $(intermediates)/JSHTMLElementWrapperFactory.h
706 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
707 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --tags $(PRIVATE_PATH)/html/HTMLTagNames.in --attrs $(PRIVATE_PATH)/html/HTMLAttributeNames.in --extraDefines "$(FEATURE_DEFINES)" --factory --wrapperFactory --output $(dir $@)
708 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/html/HTMLTagNames.in $(LOCAL_PATH)/html/HTMLAttributeNames.in
709         $(transform-generated-source)
710 LOCAL_GENERATED_SOURCES += $(GEN)
711
712 # SVG tag and attribute names
713
714 # Note that if SVG is not used, we still need the headers and SVGNames.cpp as
715 # the HTML5 parser still requires these. The factory .cpp files are also
716 # generated in this case, but since these are not needed, they are excluded
717 # from GEN so that they don't get compiled.
718 ifeq ($(ENABLE_SVG), true)
719 GEN:= $(intermediates)/SVGNames.cpp $(intermediates)/SVGNames.h $(intermediates)/SVGElementFactory.cpp $(intermediates)/SVGElementFactory.h $(intermediates)/JSSVGElementWrapperFactory.cpp $(intermediates)/JSSVGElementWrapperFactory.h
720 else
721 GEN:= $(intermediates)/SVGNames.h $(intermediates)/SVGNames.cpp $(intermediates)/SVGElementFactory.h $(intermediates)/JSSVGElementWrapperFactory.h
722 endif
723 SVG_FLAGS:=ENABLE_SVG_ANIMATION=1 ENABLE_SVG_AS_IMAGE=1 ENABLE_SVG_FILTERS=1 ENABLE_SVG_FONTS=1 ENABLE_SVG_FOREIGN_OBJECT=1 ENABLE_SVG_USE=1
724 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
725 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --tags $(PRIVATE_PATH)/svg/svgtags.in --attrs $(PRIVATE_PATH)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" --factory --wrapperFactory --output $(dir $@)
726 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/svg/svgtags.in $(LOCAL_PATH)/svg/svgattrs.in
727         $(transform-generated-source)
728 LOCAL_GENERATED_SOURCES += $(GEN)
729
730 # MathML tag and attribute names
731
732 # Note that MathML is never used but we still need the headers and
733 # MathMLames.cpp as the HTML5 parser still requires these. The factory
734 # .cpp files are also generated in this case, but since these are not
735 # needed, they are excluded from GEN so that they don't get compiled.
736 GEN:= $(intermediates)/MathMLNames.h $(intermediates)/MathMLNames.cpp $(intermediates)/MathMLElementFactory.h $(intermediates)/JSMathMLElementWrapperFactory.h
737 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
738 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --tags $(PRIVATE_PATH)/mathml/mathtags.in --attrs $(PRIVATE_PATH)/mathml/mathattrs.in --factory --wrapperFactory --output $(dir $@)
739 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/mathml/mathtags.in $(LOCAL_PATH)/mathml/mathattrs.in
740         $(transform-generated-source)
741 LOCAL_GENERATED_SOURCES += $(GEN)
742