2 ## Copyright 2009, The Android Open Source Project
4 ## Redistribution and use in source and binary forms, with or without
5 ## modification, are permitted provided that the following conditions
7 ## * Redistributions of source code must retain the above copyright
8 ## notice, this list of conditions and the following disclaimer.
9 ## * Redistributions in binary form must reproduce the above copyright
10 ## notice, this list of conditions and the following disclaimer in the
11 ## documentation and/or other materials provided with the distribution.
13 ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
14 ## EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 ## PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 ## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 ## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 ## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 ## OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 js_binding_scripts := \
27 $(LOCAL_PATH)/bindings/scripts/CodeGenerator.pm \
28 $(LOCAL_PATH)/bindings/scripts/CodeGeneratorV8.pm \
29 $(LOCAL_PATH)/bindings/scripts/IDLParser.pm \
30 $(LOCAL_PATH)/bindings/scripts/IDLStructure.pm \
31 $(LOCAL_PATH)/bindings/scripts/generate-bindings.pl
33 # Add ACCELERATED_COMPOSITING=1 and ENABLE_3D_RENDERING=1 for layers support
34 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_SLICE=1
35 # The defines above should be identical to those for JSC.
36 FEATURE_DEFINES += V8_BINDING
40 $(intermediates)/bindings/V8CSSCharsetRule.h \
41 $(intermediates)/bindings/V8CSSFontFaceRule.h \
42 $(intermediates)/bindings/V8CSSImportRule.h \
43 $(intermediates)/bindings/V8CSSMediaRule.h \
44 $(intermediates)/bindings/V8CSSPageRule.h \
45 $(intermediates)/bindings/V8CSSPrimitiveValue.h \
46 $(intermediates)/bindings/V8CSSRule.h \
47 $(intermediates)/bindings/V8CSSRuleList.h \
48 $(intermediates)/bindings/V8CSSStyleDeclaration.h \
49 $(intermediates)/bindings/V8CSSStyleRule.h \
50 $(intermediates)/bindings/V8CSSStyleSheet.h \
51 $(intermediates)/bindings/V8CSSValue.h \
52 $(intermediates)/bindings/V8CSSValueList.h \
53 $(intermediates)/bindings/V8CSSVariablesDeclaration.h \
54 $(intermediates)/bindings/V8CSSVariablesRule.h \
55 $(intermediates)/bindings/V8Counter.h \
56 $(intermediates)/bindings/V8MediaList.h \
57 $(intermediates)/bindings/V8Rect.h \
58 $(intermediates)/bindings/V8RGBColor.h \
59 $(intermediates)/bindings/V8StyleMedia.h \
60 $(intermediates)/bindings/V8StyleSheet.h \
61 $(intermediates)/bindings/V8StyleSheetList.h \
62 $(intermediates)/bindings/V8WebKitCSSKeyframeRule.h \
63 $(intermediates)/bindings/V8WebKitCSSKeyframesRule.h \
64 $(intermediates)/bindings/V8WebKitCSSMatrix.h \
65 $(intermediates)/bindings/V8WebKitCSSTransformValue.h
67 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
68 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include css --include dom --include html --outputdir $(dir $@) $<
69 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/css/%.idl $(js_binding_scripts)
70 $(transform-generated-source)
71 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
73 # We also need the .cpp files, which are generated as side effects of the
74 # above rules. Specifying this explicitly makes -j2 work.
75 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
79 $(intermediates)/bindings/V8Attr.h \
80 $(intermediates)/bindings/V8BeforeLoadEvent.h \
81 $(intermediates)/bindings/V8CDATASection.h \
82 $(intermediates)/bindings/V8CharacterData.h \
83 $(intermediates)/bindings/V8ClientRect.h \
84 $(intermediates)/bindings/V8ClientRectList.h \
85 $(intermediates)/bindings/V8Clipboard.h \
86 $(intermediates)/bindings/V8Comment.h \
87 $(intermediates)/bindings/V8CompositionEvent.h \
88 $(intermediates)/bindings/V8CustomEvent.h \
89 $(intermediates)/bindings/V8DOMCoreException.h \
90 $(intermediates)/bindings/V8DOMImplementation.h \
91 $(intermediates)/bindings/V8DOMStringList.h \
92 $(intermediates)/bindings/V8DOMStringMap.h \
93 $(intermediates)/bindings/V8DeviceOrientationEvent.h \
94 $(intermediates)/bindings/V8Document.h \
95 $(intermediates)/bindings/V8DocumentFragment.h \
96 $(intermediates)/bindings/V8DocumentType.h \
97 $(intermediates)/bindings/V8Element.h \
98 $(intermediates)/bindings/V8Entity.h \
99 $(intermediates)/bindings/V8EntityReference.h \
100 $(intermediates)/bindings/V8ErrorEvent.h \
101 $(intermediates)/bindings/V8Event.h \
102 $(intermediates)/bindings/V8EventException.h \
103 $(intermediates)/bindings/V8KeyboardEvent.h \
104 $(intermediates)/bindings/V8MessageChannel.h \
105 $(intermediates)/bindings/V8MessageEvent.h \
106 $(intermediates)/bindings/V8MessagePort.h \
107 $(intermediates)/bindings/V8MouseEvent.h \
108 $(intermediates)/bindings/V8MutationEvent.h \
109 $(intermediates)/bindings/V8NamedNodeMap.h \
110 $(intermediates)/bindings/V8Node.h \
111 $(intermediates)/bindings/V8NodeFilter.h \
112 $(intermediates)/bindings/V8NodeIterator.h \
113 $(intermediates)/bindings/V8NodeList.h \
114 $(intermediates)/bindings/V8Notation.h \
115 $(intermediates)/bindings/V8OverflowEvent.h \
116 $(intermediates)/bindings/V8PageTransitionEvent.h \
117 $(intermediates)/bindings/V8PopStateEvent.h \
118 $(intermediates)/bindings/V8ProcessingInstruction.h \
119 $(intermediates)/bindings/V8ProgressEvent.h \
120 $(intermediates)/bindings/V8Range.h \
121 $(intermediates)/bindings/V8RangeException.h \
122 $(intermediates)/bindings/V8Text.h \
123 $(intermediates)/bindings/V8TextEvent.h \
124 $(intermediates)/bindings/V8Touch.h \
125 $(intermediates)/bindings/V8TouchEvent.h \
126 $(intermediates)/bindings/V8TouchList.h \
127 $(intermediates)/bindings/V8TreeWalker.h \
128 $(intermediates)/bindings/V8UIEvent.h \
129 $(intermediates)/bindings/V8WebKitAnimationEvent.h \
130 $(intermediates)/bindings/V8WebKitTransitionEvent.h \
131 $(intermediates)/bindings/V8WheelEvent.h
133 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
134 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
135 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/dom/%.idl $(js_binding_scripts)
136 $(transform-generated-source)
137 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
139 # We also need the .cpp files, which are generated as side effects of the
140 # above rules. Specifying this explicitly makes -j2 work.
141 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
145 $(intermediates)/bindings/V8Blob.h \
146 $(intermediates)/bindings/V8BlobBuilder.h \
147 $(intermediates)/bindings/V8DOMFormData.h \
148 $(intermediates)/bindings/V8DataGridColumn.h \
149 $(intermediates)/bindings/V8DataGridColumnList.h \
150 $(intermediates)/bindings/V8File.h \
151 $(intermediates)/bindings/V8FileError.h \
152 $(intermediates)/bindings/V8FileList.h \
153 $(intermediates)/bindings/V8FileReader.h \
154 $(intermediates)/bindings/V8HTMLAllCollection.h \
155 $(intermediates)/bindings/V8HTMLAnchorElement.h \
156 $(intermediates)/bindings/V8HTMLAppletElement.h \
157 $(intermediates)/bindings/V8HTMLAreaElement.h \
158 $(intermediates)/bindings/V8HTMLAudioElement.h \
159 $(intermediates)/bindings/V8HTMLBRElement.h \
160 $(intermediates)/bindings/V8HTMLBaseElement.h \
161 $(intermediates)/bindings/V8HTMLBaseFontElement.h \
162 $(intermediates)/bindings/V8HTMLBlockquoteElement.h \
163 $(intermediates)/bindings/V8HTMLBodyElement.h \
164 $(intermediates)/bindings/V8HTMLButtonElement.h \
165 $(intermediates)/bindings/V8HTMLCanvasElement.h \
166 $(intermediates)/bindings/V8HTMLCollection.h \
167 $(intermediates)/bindings/V8HTMLDataGridCellElement.h \
168 $(intermediates)/bindings/V8HTMLDataGridColElement.h \
169 $(intermediates)/bindings/V8HTMLDataGridElement.h \
170 $(intermediates)/bindings/V8HTMLDataGridRowElement.h \
171 $(intermediates)/bindings/V8HTMLDataListElement.h \
172 $(intermediates)/bindings/V8HTMLDListElement.h \
173 $(intermediates)/bindings/V8HTMLDirectoryElement.h \
174 $(intermediates)/bindings/V8HTMLDivElement.h \
175 $(intermediates)/bindings/V8HTMLDocument.h \
176 $(intermediates)/bindings/V8HTMLElement.h \
177 $(intermediates)/bindings/V8HTMLEmbedElement.h \
178 $(intermediates)/bindings/V8HTMLFieldSetElement.h \
179 $(intermediates)/bindings/V8HTMLFontElement.h \
180 $(intermediates)/bindings/V8HTMLFormElement.h \
181 $(intermediates)/bindings/V8HTMLFrameElement.h \
182 $(intermediates)/bindings/V8HTMLFrameSetElement.h \
183 $(intermediates)/bindings/V8HTMLHRElement.h \
184 $(intermediates)/bindings/V8HTMLHeadElement.h \
185 $(intermediates)/bindings/V8HTMLHeadingElement.h \
186 $(intermediates)/bindings/V8HTMLHtmlElement.h \
187 $(intermediates)/bindings/V8HTMLIFrameElement.h \
188 $(intermediates)/bindings/V8HTMLImageElement.h \
189 $(intermediates)/bindings/V8HTMLInputElement.h \
190 $(intermediates)/bindings/V8HTMLIsIndexElement.h \
191 $(intermediates)/bindings/V8HTMLLIElement.h \
192 $(intermediates)/bindings/V8HTMLLabelElement.h \
193 $(intermediates)/bindings/V8HTMLLegendElement.h \
194 $(intermediates)/bindings/V8HTMLLinkElement.h \
195 $(intermediates)/bindings/V8HTMLMapElement.h \
196 $(intermediates)/bindings/V8HTMLMarqueeElement.h \
197 $(intermediates)/bindings/V8HTMLMediaElement.h \
198 $(intermediates)/bindings/V8HTMLMenuElement.h \
199 $(intermediates)/bindings/V8HTMLMetaElement.h \
200 $(intermediates)/bindings/V8HTMLMeterElement.h \
201 $(intermediates)/bindings/V8HTMLModElement.h \
202 $(intermediates)/bindings/V8HTMLOListElement.h \
203 $(intermediates)/bindings/V8HTMLObjectElement.h \
204 $(intermediates)/bindings/V8HTMLOptGroupElement.h \
205 $(intermediates)/bindings/V8HTMLOptionElement.h \
206 $(intermediates)/bindings/V8HTMLOptionsCollection.h \
207 $(intermediates)/bindings/V8HTMLParagraphElement.h \
208 $(intermediates)/bindings/V8HTMLParamElement.h \
209 $(intermediates)/bindings/V8HTMLPreElement.h \
210 $(intermediates)/bindings/V8HTMLProgressElement.h \
211 $(intermediates)/bindings/V8HTMLQuoteElement.h \
212 $(intermediates)/bindings/V8HTMLScriptElement.h \
213 $(intermediates)/bindings/V8HTMLSelectElement.h \
214 $(intermediates)/bindings/V8HTMLSourceElement.h \
215 $(intermediates)/bindings/V8HTMLStyleElement.h \
216 $(intermediates)/bindings/V8HTMLTableCaptionElement.h \
217 $(intermediates)/bindings/V8HTMLTableCellElement.h \
218 $(intermediates)/bindings/V8HTMLTableColElement.h \
219 $(intermediates)/bindings/V8HTMLTableElement.h \
220 $(intermediates)/bindings/V8HTMLTableRowElement.h \
221 $(intermediates)/bindings/V8HTMLTableSectionElement.h \
222 $(intermediates)/bindings/V8HTMLTextAreaElement.h \
223 $(intermediates)/bindings/V8HTMLTitleElement.h \
224 $(intermediates)/bindings/V8HTMLUListElement.h \
225 $(intermediates)/bindings/V8HTMLVideoElement.h \
226 $(intermediates)/bindings/V8ImageData.h \
227 $(intermediates)/bindings/V8MediaError.h \
228 $(intermediates)/bindings/V8TextMetrics.h \
229 $(intermediates)/bindings/V8TimeRanges.h \
230 $(intermediates)/bindings/V8ValidityState.h \
231 $(intermediates)/bindings/V8VoidCallback.h
233 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
234 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
235 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/html/%.idl $(js_binding_scripts)
236 $(transform-generated-source)
237 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
239 # We also need the .cpp files, which are generated as side effects of the
240 # above rules. Specifying this explicitly makes -j2 work.
241 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
245 $(intermediates)/bindings/V8ArrayBuffer.h \
246 $(intermediates)/bindings/V8CanvasGradient.h \
247 $(intermediates)/bindings/V8CanvasNumberArray.h \
248 $(intermediates)/bindings/V8CanvasPattern.h \
249 $(intermediates)/bindings/V8CanvasPixelArray.h \
250 $(intermediates)/bindings/V8CanvasRenderingContext.h \
251 $(intermediates)/bindings/V8CanvasRenderingContext2D.h \
252 $(intermediates)/bindings/V8Float32Array.h \
253 $(intermediates)/bindings/V8Int8Array.h \
254 $(intermediates)/bindings/V8Int16Array.h \
255 $(intermediates)/bindings/V8Int32Array.h \
256 $(intermediates)/bindings/V8Uint8Array.h \
257 $(intermediates)/bindings/V8Uint16Array.h \
258 $(intermediates)/bindings/V8Uint32Array.h \
259 $(intermediates)/bindings/V8WebGLActiveInfo.h \
260 $(intermediates)/bindings/V8WebGLBuffer.h \
261 $(intermediates)/bindings/V8WebGLContextAttributes.h \
262 $(intermediates)/bindings/V8WebGLFramebuffer.h \
263 $(intermediates)/bindings/V8WebGLProgram.h \
264 $(intermediates)/bindings/V8WebGLRenderbuffer.h \
265 $(intermediates)/bindings/V8WebGLRenderingContext.h \
266 $(intermediates)/bindings/V8WebGLShader.h \
267 $(intermediates)/bindings/V8WebGLTexture.h \
268 $(intermediates)/bindings/V8WebGLUniformLocation.h \
270 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
271 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --include html/canvas --outputdir $(dir $@) $<
272 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/html/canvas/%.idl $(js_binding_scripts)
273 $(transform-generated-source)
274 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
276 # We also need the .cpp files, which are generated as side effects of the
277 # above rules. Specifying this explicitly makes -j2 work.
278 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
282 $(intermediates)/bindings/V8DOMApplicationCache.h
284 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
285 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
286 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/loader/appcache/%.idl $(js_binding_scripts)
287 $(transform-generated-source)
288 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
290 # We also need the .cpp files, which are generated as side effects of the
291 # above rules. Specifying this explicitly makes -j2 work.
292 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
296 $(intermediates)/bindings/V8BarInfo.h \
297 $(intermediates)/bindings/V8Connection.h \
298 $(intermediates)/bindings/V8Console.h \
299 $(intermediates)/bindings/V8Coordinates.h \
300 $(intermediates)/bindings/V8DOMSelection.h \
301 $(intermediates)/bindings/V8DOMWindow.h \
302 $(intermediates)/bindings/V8EventSource.h \
303 $(intermediates)/bindings/V8Geolocation.h \
304 $(intermediates)/bindings/V8Geoposition.h \
305 $(intermediates)/bindings/V8History.h \
306 $(intermediates)/bindings/V8Location.h \
307 $(intermediates)/bindings/V8MemoryInfo.h \
308 $(intermediates)/bindings/V8Navigator.h \
309 $(intermediates)/bindings/V8PositionError.h \
310 $(intermediates)/bindings/V8Screen.h \
311 $(intermediates)/bindings/V8WebKitPoint.h \
312 $(intermediates)/bindings/V8WorkerNavigator.h
313 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
314 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
315 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/page/%.idl $(js_binding_scripts)
316 $(transform-generated-source)
317 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
319 # We also need the .cpp files, which are generated as side effects of the
320 # above rules. Specifying this explicitly makes -j2 work.
321 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
324 $(intermediates)/bindings/V8DOMMimeType.h \
325 $(intermediates)/bindings/V8DOMMimeTypeArray.h \
326 $(intermediates)/bindings/V8DOMPlugin.h \
327 $(intermediates)/bindings/V8DOMPluginArray.h
329 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
330 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
331 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/plugins/%.idl $(js_binding_scripts)
332 $(transform-generated-source)
333 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
335 # We also need the .cpp files, which are generated as side effects of the
336 # above rules. Specifying this explicitly makes -j2 work.
337 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
341 $(intermediates)/bindings/V8Database.h \
342 $(intermediates)/bindings/V8DatabaseCallback.h \
343 $(intermediates)/bindings/V8DatabaseSync.h \
344 $(intermediates)/bindings/V8SQLError.h \
345 $(intermediates)/bindings/V8SQLException.h \
346 $(intermediates)/bindings/V8SQLResultSet.h \
347 $(intermediates)/bindings/V8SQLResultSetRowList.h \
348 $(intermediates)/bindings/V8SQLStatementCallback.h \
349 $(intermediates)/bindings/V8SQLStatementErrorCallback.h \
350 $(intermediates)/bindings/V8SQLTransaction.h \
351 $(intermediates)/bindings/V8SQLTransactionCallback.h \
352 $(intermediates)/bindings/V8SQLTransactionErrorCallback.h \
353 $(intermediates)/bindings/V8SQLTransactionSync.h \
354 $(intermediates)/bindings/V8SQLTransactionSyncCallback.h
356 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
357 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --include storage --outputdir $(dir $@) $<
358 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts)
359 $(transform-generated-source)
360 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
362 # We also need the .cpp files, which are generated as side effects of the
363 # above rules. Specifying this explicitly makes -j2 work.
364 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
368 $(intermediates)/bindings/V8Storage.h \
369 $(intermediates)/bindings/V8StorageEvent.h
371 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
372 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
373 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts)
374 $(transform-generated-source)
375 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
377 # We also need the .cpp files, which are generated as side effects of the
378 # above rules. Specifying this explicitly makes -j2 work.
379 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
383 $(intermediates)/bindings/V8IDBAny.h \
384 $(intermediates)/bindings/V8IDBDatabaseError.h \
385 $(intermediates)/bindings/V8IDBDatabaseException.h \
386 $(intermediates)/bindings/V8IDBDatabaseRequest.h \
387 $(intermediates)/bindings/V8IDBErrorEvent.h \
388 $(intermediates)/bindings/V8IDBEvent.h \
389 $(intermediates)/bindings/V8IDBIndexRequest.h \
390 $(intermediates)/bindings/V8IDBKey.h \
391 $(intermediates)/bindings/V8IDBKeyRange.h \
392 $(intermediates)/bindings/V8IDBRequest.h \
393 $(intermediates)/bindings/V8IDBSuccessEvent.h \
394 $(intermediates)/bindings/V8IndexedDatabaseRequest.h
396 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
397 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --include storage --outputdir $(dir $@) $<
398 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts)
399 $(transform-generated-source)
400 LOCAL_GENERATED_SOURCES += $(GEN)
402 # We also need the .cpp files, which are generated as side effects of the
403 # above rules. Specifying this explicitly makes -j2 work.
404 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
407 # These headers are required by the V8 bindings even when SVG is disabled
409 $(intermediates)/bindings/V8SVGColor.h \
410 $(intermediates)/bindings/V8SVGDocument.h \
411 $(intermediates)/bindings/V8SVGElement.h \
412 $(intermediates)/bindings/V8SVGElementInstance.h \
413 $(intermediates)/bindings/V8SVGException.h \
414 $(intermediates)/bindings/V8SVGPaint.h \
415 $(intermediates)/bindings/V8SVGZoomEvent.h
417 ifeq ($(ENABLE_SVG), true)
419 $(intermediates)/bindings/V8SVGAElement.h \
420 $(intermediates)/bindings/V8SVGAltGlyphElement.h \
421 $(intermediates)/bindings/V8SVGAngle.h \
422 $(intermediates)/bindings/V8SVGCircleElement.h \
423 $(intermediates)/bindings/V8SVGClipPathElement.h \
424 $(intermediates)/bindings/V8SVGComponentTransferFunctionElement.h \
425 $(intermediates)/bindings/V8SVGCursorElement.h \
426 $(intermediates)/bindings/V8SVGDefsElement.h \
427 $(intermediates)/bindings/V8SVGDescElement.h \
428 $(intermediates)/bindings/V8SVGElementInstanceList.h \
429 $(intermediates)/bindings/V8SVGEllipseElement.h \
430 $(intermediates)/bindings/V8SVGFEBlendElement.h \
431 $(intermediates)/bindings/V8SVGFEColorMatrixElement.h \
432 $(intermediates)/bindings/V8SVGFEComponentTransferElement.h \
433 $(intermediates)/bindings/V8SVGFECompositeElement.h \
434 $(intermediates)/bindings/V8SVGFEConvolveMatrixElement.h \
435 $(intermediates)/bindings/V8SVGFEDiffuseLightingElement.h \
436 $(intermediates)/bindings/V8SVGFEDisplacementMapElement.h \
437 $(intermediates)/bindings/V8SVGFEDistantLightElement.h \
438 $(intermediates)/bindings/V8SVGFEFloodElement.h \
439 $(intermediates)/bindings/V8SVGFEFuncAElement.h \
440 $(intermediates)/bindings/V8SVGFEFuncBElement.h \
441 $(intermediates)/bindings/V8SVGFEFuncGElement.h \
442 $(intermediates)/bindings/V8SVGFEFuncRElement.h \
443 $(intermediates)/bindings/V8SVGFEGaussianBlurElement.h \
444 $(intermediates)/bindings/V8SVGFEImageElement.h \
445 $(intermediates)/bindings/V8SVGFEMergeElement.h \
446 $(intermediates)/bindings/V8SVGFEMergeNodeElement.h \
447 $(intermediates)/bindings/V8SVGFEOffsetElement.h \
448 $(intermediates)/bindings/V8SVGFEPointLightElement.h \
449 $(intermediates)/bindings/V8SVGFESpecularLightingElement.h \
450 $(intermediates)/bindings/V8SVGFESpotLightElement.h \
451 $(intermediates)/bindings/V8SVGFETileElement.h \
452 $(intermediates)/bindings/V8SVGFETurbulenceElement.h \
453 $(intermediates)/bindings/V8SVGFilterElement.h \
454 $(intermediates)/bindings/V8SVGFontElement.h \
455 $(intermediates)/bindings/V8SVGFontFaceElement.h \
456 $(intermediates)/bindings/V8SVGFontFaceFormatElement.h \
457 $(intermediates)/bindings/V8SVGFontFaceNameElement.h \
458 $(intermediates)/bindings/V8SVGFontFaceSrcElement.h \
459 $(intermediates)/bindings/V8SVGFontFaceUriElement.h \
460 $(intermediates)/bindings/V8SVGForeignObjectElement.h \
461 $(intermediates)/bindings/V8SVGGElement.h \
462 $(intermediates)/bindings/V8SVGGlyphElement.h \
463 $(intermediates)/bindings/V8SVGGradientElement.h \
464 $(intermediates)/bindings/V8SVGHKernElement.h \
465 $(intermediates)/bindings/V8SVGImageElement.h \
466 $(intermediates)/bindings/V8SVGLength.h \
467 $(intermediates)/bindings/V8SVGLengthList.h \
468 $(intermediates)/bindings/V8SVGLineElement.h \
469 $(intermediates)/bindings/V8SVGLinearGradientElement.h \
470 $(intermediates)/bindings/V8SVGMarkerElement.h \
471 $(intermediates)/bindings/V8SVGMaskElement.h \
472 $(intermediates)/bindings/V8SVGMatrix.h \
473 $(intermediates)/bindings/V8SVGMetadataElement.h \
474 $(intermediates)/bindings/V8SVGMissingGlyphElement.h \
475 $(intermediates)/bindings/V8SVGFEMorphologyElement.h \
476 $(intermediates)/bindings/V8SVGNumber.h \
477 $(intermediates)/bindings/V8SVGNumberList.h \
478 $(intermediates)/bindings/V8SVGPathElement.h \
479 $(intermediates)/bindings/V8SVGPathSeg.h \
480 $(intermediates)/bindings/V8SVGPathSegArcAbs.h \
481 $(intermediates)/bindings/V8SVGPathSegArcRel.h \
482 $(intermediates)/bindings/V8SVGPathSegClosePath.h \
483 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicAbs.h \
484 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicRel.h \
485 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicSmoothAbs.h \
486 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicSmoothRel.h \
487 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticAbs.h \
488 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticRel.h \
489 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticSmoothAbs.h \
490 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticSmoothRel.h \
491 $(intermediates)/bindings/V8SVGPathSegLinetoAbs.h \
492 $(intermediates)/bindings/V8SVGPathSegLinetoHorizontalAbs.h \
493 $(intermediates)/bindings/V8SVGPathSegLinetoHorizontalRel.h \
494 $(intermediates)/bindings/V8SVGPathSegLinetoRel.h \
495 $(intermediates)/bindings/V8SVGPathSegLinetoVerticalAbs.h \
496 $(intermediates)/bindings/V8SVGPathSegLinetoVerticalRel.h \
497 $(intermediates)/bindings/V8SVGPathSegList.h \
498 $(intermediates)/bindings/V8SVGPathSegMovetoAbs.h \
499 $(intermediates)/bindings/V8SVGPathSegMovetoRel.h \
500 $(intermediates)/bindings/V8SVGPatternElement.h \
501 $(intermediates)/bindings/V8SVGPoint.h \
502 $(intermediates)/bindings/V8SVGPointList.h \
503 $(intermediates)/bindings/V8SVGPolygonElement.h \
504 $(intermediates)/bindings/V8SVGPolylineElement.h \
505 $(intermediates)/bindings/V8SVGPreserveAspectRatio.h \
506 $(intermediates)/bindings/V8SVGRadialGradientElement.h \
507 $(intermediates)/bindings/V8SVGRect.h \
508 $(intermediates)/bindings/V8SVGRectElement.h \
509 $(intermediates)/bindings/V8SVGRenderingIntent.h \
510 $(intermediates)/bindings/V8SVGSVGElement.h \
511 $(intermediates)/bindings/V8SVGScriptElement.h \
512 $(intermediates)/bindings/V8SVGStopElement.h \
513 $(intermediates)/bindings/V8SVGStringList.h \
514 $(intermediates)/bindings/V8SVGStyleElement.h \
515 $(intermediates)/bindings/V8SVGSwitchElement.h \
516 $(intermediates)/bindings/V8SVGSymbolElement.h \
517 $(intermediates)/bindings/V8SVGTRefElement.h \
518 $(intermediates)/bindings/V8SVGTSpanElement.h \
519 $(intermediates)/bindings/V8SVGTextContentElement.h \
520 $(intermediates)/bindings/V8SVGTextElement.h \
521 $(intermediates)/bindings/V8SVGTextPathElement.h \
522 $(intermediates)/bindings/V8SVGTextPositioningElement.h \
523 $(intermediates)/bindings/V8SVGTitleElement.h \
524 $(intermediates)/bindings/V8SVGTransform.h \
525 $(intermediates)/bindings/V8SVGTransformList.h \
526 $(intermediates)/bindings/V8SVGUnitTypes.h \
527 $(intermediates)/bindings/V8SVGUseElement.h \
528 $(intermediates)/bindings/V8SVGViewElement.h \
529 $(intermediates)/bindings/V8SVGVKernElement.h \
531 $(intermediates)/bindings/V8SVGAnimatedAngle.h \
532 $(intermediates)/bindings/V8SVGAnimatedEnumeration.h \
533 $(intermediates)/bindings/V8SVGAnimatedBoolean.h \
534 $(intermediates)/bindings/V8SVGAnimatedInteger.h \
535 $(intermediates)/bindings/V8SVGAnimatedLength.h \
536 $(intermediates)/bindings/V8SVGAnimatedLengthList.h \
537 $(intermediates)/bindings/V8SVGAnimatedNumber.h \
538 $(intermediates)/bindings/V8SVGAnimatedNumberList.h \
539 $(intermediates)/bindings/V8SVGAnimatedPoints.h \
540 $(intermediates)/bindings/V8SVGAnimatedPreserveAspectRatio.h \
541 $(intermediates)/bindings/V8SVGAnimatedRect.h \
542 $(intermediates)/bindings/V8SVGAnimatedString.h \
543 $(intermediates)/bindings/V8SVGAnimatedTransformList.h
546 ifeq ($(ENABLE_SVG), true)
548 $(intermediates)/bindings/V8SVGAnimateColorElement.h \
549 $(intermediates)/bindings/V8SVGAnimateElement.h \
550 $(intermediates)/bindings/V8SVGAnimateTransformElement.h \
551 $(intermediates)/bindings/V8SVGAnimationElement.h \
552 $(intermediates)/bindings/V8SVGSetElement.h
555 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
556 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include css --include dom --include html --include svg --outputdir $(dir $@) $<
557 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/svg/%.idl $(js_binding_scripts)
558 $(transform-generated-source)
559 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
561 # We also need the .cpp files, which are generated as side effects of the
562 # above rules. Specifying this explicitly makes -j2 work.
563 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
567 $(intermediates)/bindings/V8AbstractWorker.h \
568 $(intermediates)/bindings/V8DedicatedWorkerContext.h \
569 $(intermediates)/bindings/V8SharedWorker.h \
570 $(intermediates)/bindings/V8SharedWorkerContext.h \
571 $(intermediates)/bindings/V8Worker.h \
572 $(intermediates)/bindings/V8WorkerContext.h \
573 $(intermediates)/bindings/V8WorkerLocation.h
575 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
576 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --include workers --outputdir $(dir $@) $<
577 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/workers/%.idl $(js_binding_scripts)
578 $(transform-generated-source)
579 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
581 # We also need the .cpp files, which are generated as side effects of the
582 # above rules. Specifying this explicitly makes -j2 work.
583 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
587 $(intermediates)/bindings/V8DOMParser.h \
588 $(intermediates)/bindings/V8XMLHttpRequest.h \
589 $(intermediates)/bindings/V8XMLHttpRequestException.h \
590 $(intermediates)/bindings/V8XMLHttpRequestProgressEvent.h \
591 $(intermediates)/bindings/V8XMLHttpRequestUpload.h \
592 $(intermediates)/bindings/V8XMLSerializer.h \
593 $(intermediates)/bindings/V8XSLTProcessor.h \
594 $(intermediates)/bindings/V8XPathException.h \
595 $(intermediates)/bindings/V8XPathExpression.h \
596 $(intermediates)/bindings/V8XPathEvaluator.h \
597 $(intermediates)/bindings/V8XPathNSResolver.h \
598 $(intermediates)/bindings/V8XPathResult.h
600 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
601 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
602 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/xml/%.idl $(js_binding_scripts)
603 $(transform-generated-source)
604 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
606 # We also need the .cpp files, which are generated as side effects of the
607 # above rules. Specifying this explicitly makes -j2 work.
608 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
612 # These headers are required by the V8 bindings even when Inspector is disabled
614 $(intermediates)/bindings/V8InjectedScriptHost.h \
615 $(intermediates)/bindings/V8Inspector.h \
616 $(intermediates)/bindings/V8InspectorBackend.h \
617 $(intermediates)/bindings/V8InspectorFrontendHost.h \
618 $(intermediates)/bindings/V8ScriptProfile.h
620 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
621 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
622 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/inspector/%.idl $(js_binding_scripts)
623 $(transform-generated-source)
624 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
626 # We also need the .cpp files, which are generated as side effects of the
627 # above rules. Specifying this explicitly makes -j2 work.
628 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
631 # These headers are required by the V8 bindings even when Notifications are disabled
633 $(intermediates)/bindings/V8Notification.h \
634 $(intermediates)/bindings/V8NotificationCenter.h
636 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
637 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
638 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/notifications/%.idl $(js_binding_scripts)
639 $(transform-generated-source)
640 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
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)/bindings/%.cpp : $(intermediates)/bindings/%.h
647 # These headers are required by the V8 bindings even when Web Sockets are disabled
649 $(intermediates)/bindings/V8WebSocket.h
651 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
652 $(GEN): PRIVATE_CUSTOM_TOOL = SOURCE_ROOT=$(PRIVATE_PATH) perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator V8 --include dom --include html --outputdir $(dir $@) $<
653 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/websockets/%.idl $(js_binding_scripts)
654 $(transform-generated-source)
655 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
657 # We also need the .cpp files, which are generated as side effects of the
658 # above rules. Specifying this explicitly makes -j2 work.
659 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h
661 # HTML tag and attribute names
662 GEN:= $(intermediates)/HTMLNames.cpp $(intermediates)/HTMLNames.h $(intermediates)/HTMLElementFactory.cpp $(intermediates)/HTMLElementFactory.h $(intermediates)/V8HTMLElementWrapperFactory.cpp $(intermediates)/V8HTMLElementWrapperFactory.h
663 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
664 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --tags $(PRIVATE_PATH)/html/HTMLTagNames.in --attrs $(PRIVATE_PATH)/html/HTMLAttributeNames.in --factory --wrapperFactoryV8 --output $(dir $@)
665 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/html/HTMLTagNames.in $(LOCAL_PATH)/html/HTMLAttributeNames.in
666 $(transform-generated-source)
667 LOCAL_GENERATED_SOURCES += $(GEN)
669 # SVG tag and attribute names
671 # Note that if SVG is not used, we still need the headers and SVGNames.cpp as
672 # the HTML5 parser still requires these. The factory .cpp files are also
673 # generated in this case, but since these are not needed, they are excluded
674 # from GEN so that they don't get compiled.
675 ifeq ($(ENABLE_SVG), true)
676 GEN:= $(intermediates)/SVGNames.cpp $(intermediates)/SVGNames.h $(intermediates)/SVGElementFactory.cpp $(intermediates)/SVGElementFactory.h $(intermediates)/V8SVGElementWrapperFactory.cpp $(intermediates)/V8SVGElementWrapperFactory.h
678 GEN:= $(intermediates)/SVGNames.cpp $(intermediates)/SVGNames.h $(intermediates)/SVGElementFactory.h $(intermediates)/V8SVGElementWrapperFactory.h
680 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
681 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
682 $(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 --wrapperFactoryV8 --output $(dir $@)
683 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/svg/svgtags.in $(LOCAL_PATH)/svg/svgattrs.in
684 $(transform-generated-source)
685 LOCAL_GENERATED_SOURCES += $(GEN)
687 # MathML tag and attribute names
689 # Note that MathML is never used but we still need the headers and
690 # MathMLames.cpp as the HTML5 parser still requires these. The factory
691 # .cpp files are also generated in this case, but since these are not
692 # needed, they are excluded from GEN so that they don't get compiled.
693 GEN:= $(intermediates)/MathMLNames.h $(intermediates)/MathMLNames.cpp $(intermediates)/MathMLElementFactory.h $(intermediates)/V8MathMLElementWrapperFactory.h
694 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
695 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --tags $(PRIVATE_PATH)/mathml/mathtags.in --attrs $(PRIVATE_PATH)/mathml/mathattrs.in --factory --wrapperFactoryV8 --output $(dir $@)
696 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/mathml/mathtags.in $(LOCAL_PATH)/mathml/mathattrs.in
697 $(transform-generated-source)
698 LOCAL_GENERATED_SOURCES += $(GEN)