|
1 ## |
|
2 ## Copyright 2009, The Android Open Source Project |
|
3 ## |
|
4 ## Redistribution and use in source and binary forms, with or without |
|
5 ## modification, are permitted provided that the following conditions |
|
6 ## are met: |
|
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. |
|
12 ## |
|
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. |
|
24 ## |
|
25 |
|
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 |
|
32 |
|
33 FEATURE_DEFINES := ANDROID_ORIENTATION_SUPPORT ENABLE_TOUCH_EVENTS=1 ENABLE_DATABASE=1 ENABLE_OFFLINE_WEB_APPLICATIONS=1 ENABLE_DOM_STORAGE=1 ENABLE_VIDEO=1 ENABLE_WORKERS=1 ENABLE_GEOLOCATION=1 ENABLE_DEVICE_ORIENTATION=1 |
|
34 FEATURE_DEFINES += V8_BINDING |
|
35 |
|
36 # CSS |
|
37 GEN := \ |
|
38 $(intermediates)/bindings/V8CSSCharsetRule.h \ |
|
39 $(intermediates)/bindings/V8CSSFontFaceRule.h \ |
|
40 $(intermediates)/bindings/V8CSSImportRule.h \ |
|
41 $(intermediates)/bindings/V8CSSMediaRule.h \ |
|
42 $(intermediates)/bindings/V8CSSPageRule.h \ |
|
43 $(intermediates)/bindings/V8CSSPrimitiveValue.h \ |
|
44 $(intermediates)/bindings/V8CSSRule.h \ |
|
45 $(intermediates)/bindings/V8CSSRuleList.h \ |
|
46 $(intermediates)/bindings/V8CSSStyleDeclaration.h \ |
|
47 $(intermediates)/bindings/V8CSSStyleRule.h \ |
|
48 $(intermediates)/bindings/V8CSSStyleSheet.h \ |
|
49 $(intermediates)/bindings/V8CSSUnknownRule.h \ |
|
50 $(intermediates)/bindings/V8CSSValue.h \ |
|
51 $(intermediates)/bindings/V8CSSValueList.h \ |
|
52 $(intermediates)/bindings/V8CSSVariablesDeclaration.h \ |
|
53 $(intermediates)/bindings/V8CSSVariablesRule.h \ |
|
54 $(intermediates)/bindings/V8Counter.h \ |
|
55 $(intermediates)/bindings/V8MediaList.h \ |
|
56 $(intermediates)/bindings/V8Rect.h \ |
|
57 $(intermediates)/bindings/V8RGBColor.h \ |
|
58 $(intermediates)/bindings/V8StyleMedia.h \ |
|
59 $(intermediates)/bindings/V8StyleSheet.h \ |
|
60 $(intermediates)/bindings/V8StyleSheetList.h \ |
|
61 $(intermediates)/bindings/V8WebKitCSSKeyframeRule.h \ |
|
62 $(intermediates)/bindings/V8WebKitCSSKeyframesRule.h \ |
|
63 $(intermediates)/bindings/V8WebKitCSSMatrix.h \ |
|
64 $(intermediates)/bindings/V8WebKitCSSTransformValue.h |
|
65 |
|
66 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
67 $(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 $@) $< |
|
68 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/css/%.idl $(js_binding_scripts) |
|
69 $(transform-generated-source) |
|
70 LOCAL_GENERATED_SOURCES += $(GEN) |
|
71 |
|
72 # We also need the .cpp files, which are generated as side effects of the |
|
73 # above rules. Specifying this explicitly makes -j2 work. |
|
74 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
75 |
|
76 # DOM |
|
77 GEN := \ |
|
78 $(intermediates)/bindings/V8Attr.h \ |
|
79 $(intermediates)/bindings/V8BeforeLoadEvent.h \ |
|
80 $(intermediates)/bindings/V8CDATASection.h \ |
|
81 $(intermediates)/bindings/V8CharacterData.h \ |
|
82 $(intermediates)/bindings/V8ClientRect.h \ |
|
83 $(intermediates)/bindings/V8ClientRectList.h \ |
|
84 $(intermediates)/bindings/V8Clipboard.h \ |
|
85 $(intermediates)/bindings/V8Comment.h \ |
|
86 $(intermediates)/bindings/V8DOMCoreException.h \ |
|
87 $(intermediates)/bindings/V8DOMImplementation.h \ |
|
88 $(intermediates)/bindings/V8DOMStringList.h \ |
|
89 $(intermediates)/bindings/V8DeviceOrientationEvent.h \ |
|
90 $(intermediates)/bindings/V8Document.h \ |
|
91 $(intermediates)/bindings/V8DocumentFragment.h \ |
|
92 $(intermediates)/bindings/V8DocumentType.h \ |
|
93 $(intermediates)/bindings/V8Element.h \ |
|
94 $(intermediates)/bindings/V8Entity.h \ |
|
95 $(intermediates)/bindings/V8EntityReference.h \ |
|
96 $(intermediates)/bindings/V8ErrorEvent.h \ |
|
97 $(intermediates)/bindings/V8Event.h \ |
|
98 $(intermediates)/bindings/V8EventException.h \ |
|
99 $(intermediates)/bindings/V8KeyboardEvent.h \ |
|
100 $(intermediates)/bindings/V8MessageChannel.h \ |
|
101 $(intermediates)/bindings/V8MessageEvent.h \ |
|
102 $(intermediates)/bindings/V8MessagePort.h \ |
|
103 $(intermediates)/bindings/V8MouseEvent.h \ |
|
104 $(intermediates)/bindings/V8MutationEvent.h \ |
|
105 $(intermediates)/bindings/V8NamedNodeMap.h \ |
|
106 $(intermediates)/bindings/V8Node.h \ |
|
107 $(intermediates)/bindings/V8NodeFilter.h \ |
|
108 $(intermediates)/bindings/V8NodeIterator.h \ |
|
109 $(intermediates)/bindings/V8NodeList.h \ |
|
110 $(intermediates)/bindings/V8Notation.h \ |
|
111 $(intermediates)/bindings/V8OverflowEvent.h \ |
|
112 $(intermediates)/bindings/V8PageTransitionEvent.h \ |
|
113 $(intermediates)/bindings/V8ProcessingInstruction.h \ |
|
114 $(intermediates)/bindings/V8ProgressEvent.h \ |
|
115 $(intermediates)/bindings/V8Range.h \ |
|
116 $(intermediates)/bindings/V8RangeException.h \ |
|
117 $(intermediates)/bindings/V8Text.h \ |
|
118 $(intermediates)/bindings/V8TextEvent.h \ |
|
119 $(intermediates)/bindings/V8Touch.h \ |
|
120 $(intermediates)/bindings/V8TouchEvent.h \ |
|
121 $(intermediates)/bindings/V8TouchList.h \ |
|
122 $(intermediates)/bindings/V8TransformActionEvent.h \ |
|
123 $(intermediates)/bindings/V8TreeWalker.h \ |
|
124 $(intermediates)/bindings/V8UIEvent.h \ |
|
125 $(intermediates)/bindings/V8WebKitAnimationEvent.h \ |
|
126 $(intermediates)/bindings/V8WebKitTransitionEvent.h \ |
|
127 $(intermediates)/bindings/V8WheelEvent.h |
|
128 |
|
129 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
130 $(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 $@) $< |
|
131 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/dom/%.idl $(js_binding_scripts) |
|
132 $(transform-generated-source) |
|
133 LOCAL_GENERATED_SOURCES += $(GEN) |
|
134 |
|
135 # We also need the .cpp files, which are generated as side effects of the |
|
136 # above rules. Specifying this explicitly makes -j2 work. |
|
137 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
138 |
|
139 # HTML |
|
140 GEN := \ |
|
141 $(intermediates)/bindings/V8Blob.h \ |
|
142 $(intermediates)/bindings/V8BlobBuilder.h \ |
|
143 $(intermediates)/bindings/V8DataGridColumn.h \ |
|
144 $(intermediates)/bindings/V8DataGridColumnList.h \ |
|
145 $(intermediates)/bindings/V8File.h \ |
|
146 $(intermediates)/bindings/V8FileError.h \ |
|
147 $(intermediates)/bindings/V8FileList.h \ |
|
148 $(intermediates)/bindings/V8HTMLAllCollection.h \ |
|
149 $(intermediates)/bindings/V8HTMLAnchorElement.h \ |
|
150 $(intermediates)/bindings/V8HTMLAppletElement.h \ |
|
151 $(intermediates)/bindings/V8HTMLAreaElement.h \ |
|
152 $(intermediates)/bindings/V8HTMLAudioElement.h \ |
|
153 $(intermediates)/bindings/V8HTMLBRElement.h \ |
|
154 $(intermediates)/bindings/V8HTMLBaseElement.h \ |
|
155 $(intermediates)/bindings/V8HTMLBaseFontElement.h \ |
|
156 $(intermediates)/bindings/V8HTMLBlockquoteElement.h \ |
|
157 $(intermediates)/bindings/V8HTMLBodyElement.h \ |
|
158 $(intermediates)/bindings/V8HTMLButtonElement.h \ |
|
159 $(intermediates)/bindings/V8HTMLCanvasElement.h \ |
|
160 $(intermediates)/bindings/V8HTMLCollection.h \ |
|
161 $(intermediates)/bindings/V8HTMLDataGridCellElement.h \ |
|
162 $(intermediates)/bindings/V8HTMLDataGridColElement.h \ |
|
163 $(intermediates)/bindings/V8HTMLDataGridElement.h \ |
|
164 $(intermediates)/bindings/V8HTMLDataGridRowElement.h \ |
|
165 $(intermediates)/bindings/V8HTMLDataListElement.h \ |
|
166 $(intermediates)/bindings/V8HTMLDListElement.h \ |
|
167 $(intermediates)/bindings/V8HTMLDirectoryElement.h \ |
|
168 $(intermediates)/bindings/V8HTMLDivElement.h \ |
|
169 $(intermediates)/bindings/V8HTMLDocument.h \ |
|
170 $(intermediates)/bindings/V8HTMLElement.h \ |
|
171 $(intermediates)/bindings/V8HTMLEmbedElement.h \ |
|
172 $(intermediates)/bindings/V8HTMLFieldSetElement.h \ |
|
173 $(intermediates)/bindings/V8HTMLFontElement.h \ |
|
174 $(intermediates)/bindings/V8HTMLFormElement.h \ |
|
175 $(intermediates)/bindings/V8HTMLFrameElement.h \ |
|
176 $(intermediates)/bindings/V8HTMLFrameSetElement.h \ |
|
177 $(intermediates)/bindings/V8HTMLHRElement.h \ |
|
178 $(intermediates)/bindings/V8HTMLHeadElement.h \ |
|
179 $(intermediates)/bindings/V8HTMLHeadingElement.h \ |
|
180 $(intermediates)/bindings/V8HTMLHtmlElement.h \ |
|
181 $(intermediates)/bindings/V8HTMLIFrameElement.h \ |
|
182 $(intermediates)/bindings/V8HTMLImageElement.h \ |
|
183 $(intermediates)/bindings/V8HTMLInputElement.h \ |
|
184 $(intermediates)/bindings/V8HTMLIsIndexElement.h \ |
|
185 $(intermediates)/bindings/V8HTMLLIElement.h \ |
|
186 $(intermediates)/bindings/V8HTMLLabelElement.h \ |
|
187 $(intermediates)/bindings/V8HTMLLegendElement.h \ |
|
188 $(intermediates)/bindings/V8HTMLLinkElement.h \ |
|
189 $(intermediates)/bindings/V8HTMLMapElement.h \ |
|
190 $(intermediates)/bindings/V8HTMLMarqueeElement.h \ |
|
191 $(intermediates)/bindings/V8HTMLMediaElement.h \ |
|
192 $(intermediates)/bindings/V8HTMLMenuElement.h \ |
|
193 $(intermediates)/bindings/V8HTMLMetaElement.h \ |
|
194 $(intermediates)/bindings/V8HTMLModElement.h \ |
|
195 $(intermediates)/bindings/V8HTMLOListElement.h \ |
|
196 $(intermediates)/bindings/V8HTMLObjectElement.h \ |
|
197 $(intermediates)/bindings/V8HTMLOptGroupElement.h \ |
|
198 $(intermediates)/bindings/V8HTMLOptionElement.h \ |
|
199 $(intermediates)/bindings/V8HTMLOptionsCollection.h \ |
|
200 $(intermediates)/bindings/V8HTMLParagraphElement.h \ |
|
201 $(intermediates)/bindings/V8HTMLParamElement.h \ |
|
202 $(intermediates)/bindings/V8HTMLPreElement.h \ |
|
203 $(intermediates)/bindings/V8HTMLQuoteElement.h \ |
|
204 $(intermediates)/bindings/V8HTMLScriptElement.h \ |
|
205 $(intermediates)/bindings/V8HTMLSelectElement.h \ |
|
206 $(intermediates)/bindings/V8HTMLSourceElement.h \ |
|
207 $(intermediates)/bindings/V8HTMLStyleElement.h \ |
|
208 $(intermediates)/bindings/V8HTMLTableCaptionElement.h \ |
|
209 $(intermediates)/bindings/V8HTMLTableCellElement.h \ |
|
210 $(intermediates)/bindings/V8HTMLTableColElement.h \ |
|
211 $(intermediates)/bindings/V8HTMLTableElement.h \ |
|
212 $(intermediates)/bindings/V8HTMLTableRowElement.h \ |
|
213 $(intermediates)/bindings/V8HTMLTableSectionElement.h \ |
|
214 $(intermediates)/bindings/V8HTMLTextAreaElement.h \ |
|
215 $(intermediates)/bindings/V8HTMLTitleElement.h \ |
|
216 $(intermediates)/bindings/V8HTMLUListElement.h \ |
|
217 $(intermediates)/bindings/V8HTMLVideoElement.h \ |
|
218 $(intermediates)/bindings/V8ImageData.h \ |
|
219 $(intermediates)/bindings/V8MediaError.h \ |
|
220 $(intermediates)/bindings/V8TextMetrics.h \ |
|
221 $(intermediates)/bindings/V8TimeRanges.h \ |
|
222 $(intermediates)/bindings/V8ValidityState.h \ |
|
223 $(intermediates)/bindings/V8VoidCallback.h |
|
224 |
|
225 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
226 $(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 $@) $< |
|
227 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/html/%.idl $(js_binding_scripts) |
|
228 $(transform-generated-source) |
|
229 LOCAL_GENERATED_SOURCES += $(GEN) |
|
230 |
|
231 # We also need the .cpp files, which are generated as side effects of the |
|
232 # above rules. Specifying this explicitly makes -j2 work. |
|
233 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
234 |
|
235 # Canvas |
|
236 GEN := \ |
|
237 $(intermediates)/bindings/V8CanvasGradient.h \ |
|
238 $(intermediates)/bindings/V8CanvasNumberArray.h \ |
|
239 $(intermediates)/bindings/V8CanvasPattern.h \ |
|
240 $(intermediates)/bindings/V8CanvasRenderingContext.h \ |
|
241 $(intermediates)/bindings/V8CanvasRenderingContext2D.h |
|
242 |
|
243 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
244 $(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 $@) $< |
|
245 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/html/canvas/%.idl $(js_binding_scripts) |
|
246 $(transform-generated-source) |
|
247 LOCAL_GENERATED_SOURCES += $(GEN) |
|
248 |
|
249 # We also need the .cpp files, which are generated as side effects of the |
|
250 # above rules. Specifying this explicitly makes -j2 work. |
|
251 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
252 |
|
253 # Appcache |
|
254 GEN := \ |
|
255 $(intermediates)/bindings/V8DOMApplicationCache.h |
|
256 |
|
257 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
258 $(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 $@) $< |
|
259 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/loader/appcache/%.idl $(js_binding_scripts) |
|
260 $(transform-generated-source) |
|
261 LOCAL_GENERATED_SOURCES += $(GEN) |
|
262 |
|
263 # We also need the .cpp files, which are generated as side effects of the |
|
264 # above rules. Specifying this explicitly makes -j2 work. |
|
265 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
266 |
|
267 # Page |
|
268 GEN := \ |
|
269 $(intermediates)/bindings/V8BarInfo.h \ |
|
270 $(intermediates)/bindings/V8Console.h \ |
|
271 $(intermediates)/bindings/V8Coordinates.h \ |
|
272 $(intermediates)/bindings/V8DOMSelection.h \ |
|
273 $(intermediates)/bindings/V8DOMWindow.h \ |
|
274 $(intermediates)/bindings/V8Geolocation.h \ |
|
275 $(intermediates)/bindings/V8Geoposition.h \ |
|
276 $(intermediates)/bindings/V8History.h \ |
|
277 $(intermediates)/bindings/V8Location.h \ |
|
278 $(intermediates)/bindings/V8Navigator.h \ |
|
279 $(intermediates)/bindings/V8PositionError.h \ |
|
280 $(intermediates)/bindings/V8Screen.h \ |
|
281 $(intermediates)/bindings/V8WebKitPoint.h \ |
|
282 $(intermediates)/bindings/V8WorkerNavigator.h |
|
283 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
284 $(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 $@) $< |
|
285 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/page/%.idl $(js_binding_scripts) |
|
286 $(transform-generated-source) |
|
287 LOCAL_GENERATED_SOURCES += $(GEN) |
|
288 |
|
289 # We also need the .cpp files, which are generated as side effects of the |
|
290 # above rules. Specifying this explicitly makes -j2 work. |
|
291 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
292 |
|
293 GEN := \ |
|
294 $(intermediates)/bindings/V8MimeType.h \ |
|
295 $(intermediates)/bindings/V8MimeTypeArray.h \ |
|
296 $(intermediates)/bindings/V8Plugin.h \ |
|
297 $(intermediates)/bindings/V8PluginArray.h |
|
298 |
|
299 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
300 $(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 $@) $< |
|
301 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/plugins/%.idl $(js_binding_scripts) |
|
302 $(transform-generated-source) |
|
303 LOCAL_GENERATED_SOURCES += $(GEN) |
|
304 |
|
305 # We also need the .cpp files, which are generated as side effects of the |
|
306 # above rules. Specifying this explicitly makes -j2 work. |
|
307 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
308 |
|
309 # Database |
|
310 GEN := \ |
|
311 $(intermediates)/bindings/V8Database.h \ |
|
312 $(intermediates)/bindings/V8SQLError.h \ |
|
313 $(intermediates)/bindings/V8SQLException.h \ |
|
314 $(intermediates)/bindings/V8SQLResultSet.h \ |
|
315 $(intermediates)/bindings/V8SQLResultSetRowList.h \ |
|
316 $(intermediates)/bindings/V8SQLTransaction.h |
|
317 |
|
318 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
319 $(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 $@) $< |
|
320 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts) |
|
321 $(transform-generated-source) |
|
322 LOCAL_GENERATED_SOURCES += $(GEN) |
|
323 |
|
324 # We also need the .cpp files, which are generated as side effects of the |
|
325 # above rules. Specifying this explicitly makes -j2 work. |
|
326 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
327 |
|
328 # DOM Storage |
|
329 GEN := \ |
|
330 $(intermediates)/bindings/V8Storage.h \ |
|
331 $(intermediates)/bindings/V8StorageEvent.h |
|
332 |
|
333 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
334 $(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 $@) $< |
|
335 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts) |
|
336 $(transform-generated-source) |
|
337 LOCAL_GENERATED_SOURCES += $(GEN) |
|
338 |
|
339 # We also need the .cpp files, which are generated as side effects of the |
|
340 # above rules. Specifying this explicitly makes -j2 work. |
|
341 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
342 |
|
343 # Indexed Database |
|
344 GEN := \ |
|
345 $(intermediates)/bindings/V8IDBAny.h \ |
|
346 $(intermediates)/bindings/V8IDBDatabaseError.h \ |
|
347 $(intermediates)/bindings/V8IDBDatabaseException.h \ |
|
348 $(intermediates)/bindings/V8IDBDatabaseRequest.h \ |
|
349 $(intermediates)/bindings/V8IDBErrorEvent.h \ |
|
350 $(intermediates)/bindings/V8IDBEvent.h \ |
|
351 $(intermediates)/bindings/V8IDBIndexRequest.h \ |
|
352 $(intermediates)/bindings/V8IDBKey.h \ |
|
353 $(intermediates)/bindings/V8IDBKeyRange.h \ |
|
354 $(intermediates)/bindings/V8IDBRequest.h \ |
|
355 $(intermediates)/bindings/V8IDBSuccessEvent.h \ |
|
356 $(intermediates)/bindings/V8IndexedDatabaseRequest.h |
|
357 |
|
358 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
359 $(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 $@) $< |
|
360 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/storage/%.idl $(js_binding_scripts) |
|
361 $(transform-generated-source) |
|
362 LOCAL_GENERATED_SOURCES += $(GEN) |
|
363 |
|
364 # We also need the .cpp files, which are generated as side effects of the |
|
365 # above rules. Specifying this explicitly makes -j2 work. |
|
366 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
367 |
|
368 # SVG |
|
369 # These headers are required by the V8 bindings even when SVG is disabled |
|
370 GEN := \ |
|
371 $(intermediates)/bindings/V8SVGColor.h \ |
|
372 $(intermediates)/bindings/V8SVGDocument.h \ |
|
373 $(intermediates)/bindings/V8SVGElement.h \ |
|
374 $(intermediates)/bindings/V8SVGElementInstance.h \ |
|
375 $(intermediates)/bindings/V8SVGException.h \ |
|
376 $(intermediates)/bindings/V8SVGPaint.h \ |
|
377 $(intermediates)/bindings/V8SVGZoomEvent.h |
|
378 |
|
379 ifeq ($(ENABLE_SVG), true) |
|
380 GEN += \ |
|
381 $(intermediates)/bindings/V8SVGAElement.h \ |
|
382 $(intermediates)/bindings/V8SVGAltGlyphElement.h \ |
|
383 $(intermediates)/bindings/V8SVGAngle.h \ |
|
384 $(intermediates)/bindings/V8SVGCircleElement.h \ |
|
385 $(intermediates)/bindings/V8SVGClipPathElement.h \ |
|
386 $(intermediates)/bindings/V8SVGComponentTransferFunctionElement.h \ |
|
387 $(intermediates)/bindings/V8SVGCursorElement.h \ |
|
388 $(intermediates)/bindings/V8SVGDefsElement.h \ |
|
389 $(intermediates)/bindings/V8SVGDescElement.h \ |
|
390 $(intermediates)/bindings/V8SVGElement.h \ |
|
391 $(intermediates)/bindings/V8SVGElementInstanceList.h \ |
|
392 $(intermediates)/bindings/V8SVGEllipseElement.h \ |
|
393 $(intermediates)/bindings/V8SVGFEBlendElement.h \ |
|
394 $(intermediates)/bindings/V8SVGFEColorMatrixElement.h \ |
|
395 $(intermediates)/bindings/V8SVGFEComponentTransferElement.h \ |
|
396 $(intermediates)/bindings/V8SVGFECompositeElement.h \ |
|
397 $(intermediates)/bindings/V8SVGFEConvolveMatrixElement.h \ |
|
398 $(intermediates)/bindings/V8SVGFEDiffuseLightingElement.h \ |
|
399 $(intermediates)/bindings/V8SVGFEDisplacementMapElement.h \ |
|
400 $(intermediates)/bindings/V8SVGFEDistantLightElement.h \ |
|
401 $(intermediates)/bindings/V8SVGFEFloodElement.h \ |
|
402 $(intermediates)/bindings/V8SVGFEFuncAElement.h \ |
|
403 $(intermediates)/bindings/V8SVGFEFuncBElement.h \ |
|
404 $(intermediates)/bindings/V8SVGFEFuncGElement.h \ |
|
405 $(intermediates)/bindings/V8SVGFEFuncRElement.h \ |
|
406 $(intermediates)/bindings/V8SVGFEGaussianBlurElement.h \ |
|
407 $(intermediates)/bindings/V8SVGFEImageElement.h \ |
|
408 $(intermediates)/bindings/V8SVGFEMergeElement.h \ |
|
409 $(intermediates)/bindings/V8SVGFEMergeNodeElement.h \ |
|
410 $(intermediates)/bindings/V8SVGFEOffsetElement.h \ |
|
411 $(intermediates)/bindings/V8SVGFEPointLightElement.h \ |
|
412 $(intermediates)/bindings/V8SVGFESpecularLightingElement.h \ |
|
413 $(intermediates)/bindings/V8SVGFESpotLightElement.h \ |
|
414 $(intermediates)/bindings/V8SVGFETileElement.h \ |
|
415 $(intermediates)/bindings/V8SVGFETurbulenceElement.h \ |
|
416 $(intermediates)/bindings/V8SVGFilterElement.h \ |
|
417 $(intermediates)/bindings/V8SVGFontElement.h \ |
|
418 $(intermediates)/bindings/V8SVGFontFaceElement.h \ |
|
419 $(intermediates)/bindings/V8SVGFontFaceFormatElement.h \ |
|
420 $(intermediates)/bindings/V8SVGFontFaceNameElement.h \ |
|
421 $(intermediates)/bindings/V8SVGFontFaceSrcElement.h \ |
|
422 $(intermediates)/bindings/V8SVGFontFaceUriElement.h \ |
|
423 $(intermediates)/bindings/V8SVGForeignObjectElement.h \ |
|
424 $(intermediates)/bindings/V8SVGGElement.h \ |
|
425 $(intermediates)/bindings/V8SVGGlyphElement.h \ |
|
426 $(intermediates)/bindings/V8SVGGradientElement.h \ |
|
427 $(intermediates)/bindings/V8SVGHKernElement.h \ |
|
428 $(intermediates)/bindings/V8SVGImageElement.h \ |
|
429 $(intermediates)/bindings/V8SVGLength.h \ |
|
430 $(intermediates)/bindings/V8SVGLengthList.h \ |
|
431 $(intermediates)/bindings/V8SVGLineElement.h \ |
|
432 $(intermediates)/bindings/V8SVGLinearGradientElement.h \ |
|
433 $(intermediates)/bindings/V8SVGMarkerElement.h \ |
|
434 $(intermediates)/bindings/V8SVGMaskElement.h \ |
|
435 $(intermediates)/bindings/V8SVGMatrix.h \ |
|
436 $(intermediates)/bindings/V8SVGMetadataElement.h \ |
|
437 $(intermediates)/bindings/V8SVGMissingGlyphElement.h \ |
|
438 $(intermediates)/bindings/V8SVGNumber.h \ |
|
439 $(intermediates)/bindings/V8SVGNumberList.h \ |
|
440 $(intermediates)/bindings/V8SVGPathElement.h \ |
|
441 $(intermediates)/bindings/V8SVGPathSeg.h \ |
|
442 $(intermediates)/bindings/V8SVGPathSegArcAbs.h \ |
|
443 $(intermediates)/bindings/V8SVGPathSegArcRel.h \ |
|
444 $(intermediates)/bindings/V8SVGPathSegClosePath.h \ |
|
445 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicAbs.h \ |
|
446 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicRel.h \ |
|
447 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicSmoothAbs.h \ |
|
448 $(intermediates)/bindings/V8SVGPathSegCurvetoCubicSmoothRel.h \ |
|
449 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticAbs.h \ |
|
450 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticRel.h \ |
|
451 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticSmoothAbs.h \ |
|
452 $(intermediates)/bindings/V8SVGPathSegCurvetoQuadraticSmoothRel.h \ |
|
453 $(intermediates)/bindings/V8SVGPathSegLinetoAbs.h \ |
|
454 $(intermediates)/bindings/V8SVGPathSegLinetoHorizontalAbs.h \ |
|
455 $(intermediates)/bindings/V8SVGPathSegLinetoHorizontalRel.h \ |
|
456 $(intermediates)/bindings/V8SVGPathSegLinetoRel.h \ |
|
457 $(intermediates)/bindings/V8SVGPathSegLinetoVerticalAbs.h \ |
|
458 $(intermediates)/bindings/V8SVGPathSegLinetoVerticalRel.h \ |
|
459 $(intermediates)/bindings/V8SVGPathSegList.h \ |
|
460 $(intermediates)/bindings/V8SVGPathSegMovetoAbs.h \ |
|
461 $(intermediates)/bindings/V8SVGPathSegMovetoRel.h \ |
|
462 $(intermediates)/bindings/V8SVGPatternElement.h \ |
|
463 $(intermediates)/bindings/V8SVGPoint.h \ |
|
464 $(intermediates)/bindings/V8SVGPointList.h \ |
|
465 $(intermediates)/bindings/V8SVGPolygonElement.h \ |
|
466 $(intermediates)/bindings/V8SVGPolylineElement.h \ |
|
467 $(intermediates)/bindings/V8SVGPreserveAspectRatio.h \ |
|
468 $(intermediates)/bindings/V8SVGRadialGradientElement.h \ |
|
469 $(intermediates)/bindings/V8SVGRect.h \ |
|
470 $(intermediates)/bindings/V8SVGRectElement.h \ |
|
471 $(intermediates)/bindings/V8SVGRenderingIntent.h \ |
|
472 $(intermediates)/bindings/V8SVGSVGElement.h \ |
|
473 $(intermediates)/bindings/V8SVGScriptElement.h \ |
|
474 $(intermediates)/bindings/V8SVGStopElement.h \ |
|
475 $(intermediates)/bindings/V8SVGStringList.h \ |
|
476 $(intermediates)/bindings/V8SVGStyleElement.h \ |
|
477 $(intermediates)/bindings/V8SVGSwitchElement.h \ |
|
478 $(intermediates)/bindings/V8SVGSymbolElement.h \ |
|
479 $(intermediates)/bindings/V8SVGTRefElement.h \ |
|
480 $(intermediates)/bindings/V8SVGTSpanElement.h \ |
|
481 $(intermediates)/bindings/V8SVGTextContentElement.h \ |
|
482 $(intermediates)/bindings/V8SVGTextElement.h \ |
|
483 $(intermediates)/bindings/V8SVGTextPathElement.h \ |
|
484 $(intermediates)/bindings/V8SVGTextPositioningElement.h \ |
|
485 $(intermediates)/bindings/V8SVGTitleElement.h \ |
|
486 $(intermediates)/bindings/V8SVGTransform.h \ |
|
487 $(intermediates)/bindings/V8SVGTransformList.h \ |
|
488 $(intermediates)/bindings/V8SVGURIReference.h \ |
|
489 $(intermediates)/bindings/V8SVGUnitTypes.h \ |
|
490 $(intermediates)/bindings/V8SVGUseElement.h \ |
|
491 $(intermediates)/bindings/V8SVGViewElement.h \ |
|
492 $(intermediates)/bindings/V8SVGVKernElement.h \ |
|
493 \ |
|
494 $(intermediates)/bindings/V8SVGAnimatedAngle.h \ |
|
495 $(intermediates)/bindings/V8SVGAnimatedEnumeration.h \ |
|
496 $(intermediates)/bindings/V8SVGAnimatedBoolean.h \ |
|
497 $(intermediates)/bindings/V8SVGAnimatedInteger.h \ |
|
498 $(intermediates)/bindings/V8SVGAnimatedLength.h \ |
|
499 $(intermediates)/bindings/V8SVGAnimatedLengthList.h \ |
|
500 $(intermediates)/bindings/V8SVGAnimatedNumber.h \ |
|
501 $(intermediates)/bindings/V8SVGAnimatedNumberList.h \ |
|
502 $(intermediates)/bindings/V8SVGAnimatedPoints.h \ |
|
503 $(intermediates)/bindings/V8SVGAnimatedPreserveAspectRatio.h \ |
|
504 $(intermediates)/bindings/V8SVGAnimatedRect.h \ |
|
505 $(intermediates)/bindings/V8SVGAnimatedString.h \ |
|
506 $(intermediates)/bindings/V8SVGAnimatedTransformList.h |
|
507 endif |
|
508 |
|
509 ifeq ($(ENABLE_SVG_ANIMATION), true) |
|
510 GEN += \ |
|
511 $(intermediates)/bindings/V8SVGAnimateColorElement.h \ |
|
512 $(intermediates)/bindings/V8SVGAnimateElement.h \ |
|
513 $(intermediates)/bindings/V8SVGAnimateTransformElement.h \ |
|
514 $(intermediates)/bindings/V8SVGAnimationElement.h \ |
|
515 $(intermediates)/bindings/V8SVGSetElement.h |
|
516 endif |
|
517 |
|
518 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
519 $(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 $@) $< |
|
520 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/svg/%.idl $(js_binding_scripts) |
|
521 $(transform-generated-source) |
|
522 LOCAL_GENERATED_SOURCES += $(GEN) |
|
523 |
|
524 # We also need the .cpp files, which are generated as side effects of the |
|
525 # above rules. Specifying this explicitly makes -j2 work. |
|
526 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
527 |
|
528 # Workers |
|
529 GEN := \ |
|
530 $(intermediates)/bindings/V8AbstractWorker.h \ |
|
531 $(intermediates)/bindings/V8DedicatedWorkerContext.h \ |
|
532 $(intermediates)/bindings/V8SharedWorker.h \ |
|
533 $(intermediates)/bindings/V8SharedWorkerContext.h \ |
|
534 $(intermediates)/bindings/V8Worker.h \ |
|
535 $(intermediates)/bindings/V8WorkerContext.h \ |
|
536 $(intermediates)/bindings/V8WorkerLocation.h |
|
537 |
|
538 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
539 $(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 $@) $< |
|
540 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/workers/%.idl $(js_binding_scripts) |
|
541 $(transform-generated-source) |
|
542 LOCAL_GENERATED_SOURCES += $(GEN) |
|
543 |
|
544 # We also need the .cpp files, which are generated as side effects of the |
|
545 # above rules. Specifying this explicitly makes -j2 work. |
|
546 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
547 |
|
548 # XML |
|
549 GEN := \ |
|
550 $(intermediates)/bindings/V8DOMFormData.h \ |
|
551 $(intermediates)/bindings/V8DOMParser.h \ |
|
552 $(intermediates)/bindings/V8XMLHttpRequest.h \ |
|
553 $(intermediates)/bindings/V8XMLHttpRequestException.h \ |
|
554 $(intermediates)/bindings/V8XMLHttpRequestProgressEvent.h \ |
|
555 $(intermediates)/bindings/V8XMLHttpRequestUpload.h \ |
|
556 $(intermediates)/bindings/V8XMLSerializer.h \ |
|
557 $(intermediates)/bindings/V8XPathException.h \ |
|
558 $(intermediates)/bindings/V8XPathNSResolver.h |
|
559 |
|
560 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
561 $(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 $@) $< |
|
562 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/xml/%.idl $(js_binding_scripts) |
|
563 $(transform-generated-source) |
|
564 LOCAL_GENERATED_SOURCES += $(GEN) |
|
565 |
|
566 # We also need the .cpp files, which are generated as side effects of the |
|
567 # above rules. Specifying this explicitly makes -j2 work. |
|
568 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
569 #end |
|
570 |
|
571 # Inspector |
|
572 # These headers are required by the V8 bindings even when Inspector is disabled |
|
573 GEN := \ |
|
574 $(intermediates)/bindings/V8InjectedScriptHost.h \ |
|
575 $(intermediates)/bindings/V8InspectorBackend.h \ |
|
576 $(intermediates)/bindings/V8InspectorFrontendHost.h |
|
577 |
|
578 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
579 $(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 $@) $< |
|
580 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/inspector/%.idl $(js_binding_scripts) |
|
581 $(transform-generated-source) |
|
582 LOCAL_GENERATED_SOURCES += $(GEN) |
|
583 |
|
584 # We also need the .cpp files, which are generated as side effects of the |
|
585 # above rules. Specifying this explicitly makes -j2 work. |
|
586 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
587 |
|
588 # Notifications |
|
589 # These headers are required by the V8 bindings even when Notifications are disabled |
|
590 GEN := \ |
|
591 $(intermediates)/bindings/V8Notification.h \ |
|
592 $(intermediates)/bindings/V8NotificationCenter.h |
|
593 |
|
594 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
595 $(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 $@) $< |
|
596 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/notifications/%.idl $(js_binding_scripts) |
|
597 $(transform-generated-source) |
|
598 LOCAL_GENERATED_SOURCES += $(GEN) |
|
599 |
|
600 # We also need the .cpp files, which are generated as side effects of the |
|
601 # above rules. Specifying this explicitly makes -j2 work. |
|
602 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
603 |
|
604 # Web Sockets |
|
605 # These headers are required by the V8 bindings even when Web Sockets are disabled |
|
606 GEN := \ |
|
607 $(intermediates)/bindings/V8WebSocket.h |
|
608 |
|
609 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
610 $(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 $@) $< |
|
611 $(GEN): $(intermediates)/bindings/V8%.h : $(LOCAL_PATH)/websockets/%.idl $(js_binding_scripts) |
|
612 $(transform-generated-source) |
|
613 LOCAL_GENERATED_SOURCES += $(GEN) |
|
614 |
|
615 # We also need the .cpp files, which are generated as side effects of the |
|
616 # above rules. Specifying this explicitly makes -j2 work. |
|
617 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/bindings/%.cpp : $(intermediates)/bindings/%.h |
|
618 |
|
619 # HTML tag and attribute names |
|
620 GEN:= $(intermediates)/HTMLNames.cpp $(intermediates)/HTMLElementFactory.cpp |
|
621 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
622 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --tags $(PRIVATE_PATH)/html/HTMLTagNames.in --attrs $(PRIVATE_PATH)/html/HTMLAttributeNames.in --factory --wrapperFactory --output $(dir $@) |
|
623 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/html/HTMLTagNames.in $(LOCAL_PATH)/html/HTMLAttributeNames.in |
|
624 $(transform-generated-source) |
|
625 LOCAL_GENERATED_SOURCES += $(GEN) |
|
626 |
|
627 # SVG tag and attribute names |
|
628 ifeq ($(ENABLE_SVG), true) |
|
629 GEN:= $(intermediates)/SVGNames.cpp $(intermediates)/SVGElementFactory.cpp |
|
630 SVG_FLAGS:=ENABLE_SVG_AS_IMAGE=1 ENABLE_SVG_FILTERS=1 ENABLE_SVG_FONTS=1 ENABLE_SVG_FOREIGN_OBJECT=1 ENABLE_SVG_USE=1 |
|
631 $(GEN): PRIVATE_PATH := $(LOCAL_PATH) |
|
632 $(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 $@) |
|
633 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(LOCAL_PATH)/svg/svgtags.in $(LOCAL_PATH)/svg/svgattrs.in |
|
634 $(transform-generated-source) |
|
635 LOCAL_GENERATED_SOURCES += $(GEN) |
|
636 endif |