3 ## Copyright 2007, The Android Open Source Project
5 ## Licensed under the Apache License, Version 2.0 (the "License");
6 ## you may not use this file except in compliance with the License.
7 ## You may obtain a copy of the License at
9 ## http://www.apache.org/licenses/LICENSE-2.0
11 ## Unless required by applicable law or agreed to in writing, software
12 ## distributed under the License is distributed on an "AS IS" BASIS,
13 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ## See the License for the specific language governing permissions and
15 ## limitations under the License.
18 # This comment block is read by tools/webkitsync/diff.cpp
19 # Don't remove it or move it.
21 # The following files are intentionally not included
22 # LOCAL_SRC_FILES_EXCLUDED := \
24 # dom/EventListener.idl \
25 # dom/EventTarget.idl \
27 # html/CanvasPixelArray.idl \
28 # html/HTMLAudioElement.idl \
29 # html/HTMLMediaElement.idl \
30 # page/AbstractView.idl \
31 # page/PositionCallback.idl \
34 # This comment block is read by tools/webkitsync/diff.cpp
35 # Don't remove it or move it.
37 # The following files are intentionally not generated
38 # LOCAL_GENERATED_FILES_EXCLUDED := \
39 # JSSVGElementWrapperFactory.cpp \
40 # JSWorkerContextBase.lut.h \
41 # SVGElementFactory.cpp \
43 # WMLElementFactory.cpp \
47 # This comment block is read by tools/webkitsync/diff.cpp
48 # Don't remove it or move it.
50 # The following directory wildcard matches are intentionally not included
51 # If an entry starts with '/', any subdirectory may match
52 # If an entry starts with '^', the first directory must match
53 # LOCAL_DIR_WILDCARD_EXCLUDED := \
58 # This comment block is read by tools/webkitsync/diff.cpp
59 # Don't remove it or move it.
60 # If you edit it, keep it in alphabetical order
62 # These files are Android extensions
63 # LOCAL_ANDROID_SRC_FILES_INCLUDED := \
67 # CSS property names and value keywords
69 GEN := $(intermediates)/css/CSSPropertyNames.h
70 $(GEN): SCRIPT := $(LOCAL_PATH)/css/makeprop.pl
71 $(GEN): $(intermediates)/%.h : $(LOCAL_PATH)/%.in
72 @echo "Generating CSSPropertyNames.h <= CSSPropertyNames.in"
75 @cp -f $(SCRIPT) $(dir $@)
76 @cd $(dir $@) ; perl ./$(notdir $(SCRIPT))
77 LOCAL_GENERATED_SOURCES += $(GEN)
79 GEN := $(intermediates)/css/CSSValueKeywords.h
80 $(GEN): SCRIPT := $(LOCAL_PATH)/css/makevalues.pl
81 $(GEN): PRIVATE_INTERMEDIATES := $(intermediates)
82 $(GEN): $(intermediates)/%.h : $(LOCAL_PATH)/%.in
83 @echo "Generating CSSValueKeywords.h <= CSSValueKeywords.in"
85 cp -f $(SCRIPT) $(dir $@)
86 perl -ne 'print lc' $< > $(PRIVATE_INTERMEDIATES)/css/CSSValueKeywords.in
87 @cd $(PRIVATE_INTERMEDIATES)/css ; perl makevalues.pl
88 LOCAL_GENERATED_SOURCES += $(GEN)
93 GEN := $(intermediates)/html/DocTypeStrings.cpp
94 $(GEN): PRIVATE_CUSTOM_TOOL = gperf -CEot -L ANSI-C -k "*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards $< > $@
95 $(GEN): $(LOCAL_PATH)/html/DocTypeStrings.gperf
96 $(transform-generated-source)
97 # we have to do this dep by hand:
98 $(intermediates)/html/HTMLDocument.o : $(GEN)
103 GEN := $(intermediates)/html/HTMLEntityNames.c
104 $(GEN): PRIVATE_CUSTOM_TOOL = gperf -a -L ANSI-C -C -G -c -o -t -k '*' -N findEntity -D -s 2 $< > $@
105 $(GEN): $(LOCAL_PATH)/html/HTMLEntityNames.gperf
106 $(transform-generated-source)
107 LOCAL_GENERATED_SOURCES += $(GEN)
112 GEN := $(intermediates)/platform/ColorData.c
113 $(GEN): PRIVATE_CUSTOM_TOOL = gperf -CDEot -L ANSI-C -k '*' -N findColor -D -s 2 $< > $@
114 $(GEN): $(LOCAL_PATH)/platform/ColorData.gperf
115 $(transform-generated-source)
116 LOCAL_GENERATED_SOURCES += $(GEN)
121 GEN := $(intermediates)/css/tokenizer.cpp
122 $(GEN): PRIVATE_CUSTOM_TOOL = $(OLD_FLEX) -t $< | perl $(dir $<)/maketokenizer > $@
123 $(GEN): $(LOCAL_PATH)/css/tokenizer.flex $(LOCAL_PATH)/css/maketokenizer
124 $(transform-generated-source)
125 # we have to do this dep by hand:
126 $(intermediates)/css/CSSParser.o : $(GEN)
130 GEN := $(intermediates)/CSSGrammar.cpp
131 $(GEN) : PRIVATE_YACCFLAGS := -p cssyy
132 $(GEN): $(LOCAL_PATH)/css/CSSGrammar.y
133 $(call local-transform-y-to-cpp,.cpp)
134 $(GEN): $(LOCAL_BISON)
136 LOCAL_GENERATED_SOURCES += $(GEN)
140 GEN := $(intermediates)/XPathGrammar.cpp
141 $(GEN) : PRIVATE_YACCFLAGS := -p xpathyy
142 $(GEN): $(LOCAL_PATH)/xml/XPathGrammar.y
143 $(call local-transform-y-to-cpp,.cpp)
144 $(GEN): $(LOCAL_BISON)
146 LOCAL_GENERATED_SOURCES += $(GEN)
148 # user agent style sheets
150 style_sheets := $(LOCAL_PATH)/css/html4.css $(LOCAL_PATH)/css/quirks.css $(LOCAL_PATH)/css/view-source.css
151 GEN := $(intermediates)/css/UserAgentStyleSheets.h
152 make_css_file_arrays := $(LOCAL_PATH)/css/make-css-file-arrays.pl
153 $(GEN): PRIVATE_CUSTOM_TOOL = $< $@ $(basename $@).cpp $(filter %.css,$^)
154 $(GEN): $(make_css_file_arrays) $(style_sheets)
155 $(transform-generated-source)
156 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
158 # character set name table
161 $(LOCAL_PATH)/platform/make-charset-table.pl \
162 $(LOCAL_PATH)/platform/character-sets.txt \
163 $(LOCAL_PATH)/platform/android/android-encodings.txt
164 #GEN := $(intermediates)/platform/CharsetData.cpp
165 #$(GEN): PRIVATE_CUSTOM_TOOL = $^ "android::Encoding::ENCODING_" > $@
166 #$(GEN): $(gen_inputs)
167 # $(transform-generated-source)
168 #LOCAL_GENERATED_SOURCES += $(GEN)
170 # the above rule will make this build too
171 $(intermediates)/css/UserAgentStyleSheets.cpp : $(GEN)
174 # lookup tables for old-style JavaScript bindings
175 create_hash_table := $(LOCAL_PATH)/../JavaScriptCore/create_hash_table
177 GEN := $(addprefix $(intermediates)/, \
178 bindings/js/JSDOMWindowBase.lut.h \
179 bindings/js/JSRGBColor.lut.h \
181 $(GEN): PRIVATE_CUSTOM_TOOL = perl $(create_hash_table) $< > $@
182 $(GEN): $(intermediates)/bindings/js/%.lut.h: $(LOCAL_PATH)/bindings/js/%.cpp $(create_hash_table)
183 $(transform-generated-source)
184 LOCAL_GENERATED_SOURCES += $(GEN)
187 GEN := $(intermediates)/bindings/js/JSHTMLInputElementBaseTable.cpp
188 $(GEN): PRIVATE_CUSTOM_TOOL = perl $(create_hash_table) $< > $@
189 $(GEN): $(intermediates)/bindings/js/%Table.cpp: $(LOCAL_PATH)/bindings/js/%.cpp $(create_hash_table)
190 $(transform-generated-source)
191 $(intermediates)/bindings/js/JSHTMLInputElementBase.o : $(GEN)
193 # lookup tables for old-style JavaScript bindings
194 js_binding_scripts := $(addprefix $(LOCAL_PATH)/,\
195 bindings/scripts/CodeGenerator.pm \
196 bindings/scripts/IDLParser.pm \
197 bindings/scripts/IDLStructure.pm \
198 bindings/scripts/generate-bindings.pl \
201 FEATURE_DEFINES := ANDROID_ORIENTATION_SUPPORT ENABLE_TOUCH_EVENTS=1
204 $(intermediates)/css/JSCSSCharsetRule.h \
205 $(intermediates)/css/JSCSSFontFaceRule.h \
206 $(intermediates)/css/JSCSSImportRule.h \
207 $(intermediates)/css/JSCSSMediaRule.h \
208 $(intermediates)/css/JSCSSPageRule.h \
209 $(intermediates)/css/JSCSSPrimitiveValue.h \
210 $(intermediates)/css/JSCSSRule.h \
211 $(intermediates)/css/JSCSSRuleList.h \
212 $(intermediates)/css/JSCSSStyleDeclaration.h \
213 $(intermediates)/css/JSCSSStyleRule.h \
214 $(intermediates)/css/JSCSSStyleSheet.h \
215 $(intermediates)/css/JSCSSUnknownRule.h \
216 $(intermediates)/css/JSCSSValue.h \
217 $(intermediates)/css/JSCSSValueList.h \
218 $(intermediates)/css/JSCSSVariablesDeclaration.h \
219 $(intermediates)/css/JSCSSVariablesRule.h \
220 $(intermediates)/css/JSCounter.h \
221 $(intermediates)/css/JSMediaList.h \
222 $(intermediates)/css/JSRect.h \
223 $(intermediates)/css/JSStyleSheet.h \
224 $(intermediates)/css/JSStyleSheetList.h \
225 $(intermediates)/css/JSWebKitCSSKeyframeRule.h \
226 $(intermediates)/css/JSWebKitCSSKeyframesRule.h \
227 $(intermediates)/css/JSWebKitCSSMatrix.h \
228 $(intermediates)/css/JSWebKitCSSTransformValue.h
229 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
230 $(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 $@) $<
231 $(GEN): $(intermediates)/css/JS%.h : $(LOCAL_PATH)/css/%.idl $(js_binding_scripts)
232 $(transform-generated-source)
233 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
236 # We also need the .cpp files, which are generated as side effects of the
237 # above rules. Specifying this explicitly makes -j2 work.
238 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/css/%.cpp : $(intermediates)/css/%.h
240 # MANUAL MERGE : I took this out because compiling the result shows:
241 # out/.../JSEventTarget.cpp: In function 'JSC::JSValue* WebCore::jsEventTargetPrototypeFunctionAddEventListener(JSC::ExecState*, JSC::JSObject*, JSC::JSValue*, const JSC::ArgList&)':
242 # out/.../JSEventTarget.cpp:90: error: 'toEventListener' was not declared in this scope
243 # but I can't find toEventListener anywhere, nor can I figure out how toEventListener
245 # $(intermediates)/dom/JSEventTarget.h \
248 $(intermediates)/dom/JSAttr.h \
249 $(intermediates)/dom/JSCDATASection.h \
250 $(intermediates)/dom/JSCharacterData.h \
251 $(intermediates)/dom/JSClipboard.h \
252 $(intermediates)/dom/JSComment.h \
253 $(intermediates)/dom/JSDOMCoreException.h \
254 $(intermediates)/dom/JSDOMImplementation.h \
255 $(intermediates)/dom/JSDOMStringList.h \
256 $(intermediates)/dom/JSDocument.h \
257 $(intermediates)/dom/JSDocumentFragment.h \
258 $(intermediates)/dom/JSDocumentType.h \
259 $(intermediates)/dom/JSElement.h \
260 $(intermediates)/dom/JSEntity.h \
261 $(intermediates)/dom/JSEntityReference.h \
262 $(intermediates)/dom/JSEvent.h \
263 $(intermediates)/dom/JSEventException.h \
264 $(intermediates)/dom/JSEventTargetNode.h \
265 $(intermediates)/dom/JSKeyboardEvent.h \
266 $(intermediates)/dom/JSMessageChannel.h \
267 $(intermediates)/dom/JSMessageEvent.h \
268 $(intermediates)/dom/JSMessagePort.h \
269 $(intermediates)/dom/JSMouseEvent.h \
270 $(intermediates)/dom/JSMutationEvent.h \
271 $(intermediates)/dom/JSNamedNodeMap.h \
272 $(intermediates)/dom/JSNode.h \
273 $(intermediates)/dom/JSNodeFilter.h \
274 $(intermediates)/dom/JSNodeIterator.h \
275 $(intermediates)/dom/JSNodeList.h \
276 $(intermediates)/dom/JSNotation.h \
277 $(intermediates)/dom/JSOverflowEvent.h \
278 $(intermediates)/dom/JSProcessingInstruction.h \
279 $(intermediates)/dom/JSProgressEvent.h \
280 $(intermediates)/dom/JSRange.h \
281 $(intermediates)/dom/JSRangeException.h \
282 $(intermediates)/dom/JSText.h \
283 $(intermediates)/dom/JSTextEvent.h \
284 $(intermediates)/dom/JSTouch.h \
285 $(intermediates)/dom/JSTouchEvent.h \
286 $(intermediates)/dom/JSTouchList.h \
287 $(intermediates)/dom/JSTreeWalker.h \
288 $(intermediates)/dom/JSUIEvent.h \
289 $(intermediates)/dom/JSWebKitAnimationEvent.h \
290 $(intermediates)/dom/JSWebKitTransitionEvent.h \
291 $(intermediates)/dom/JSWheelEvent.h
292 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
293 $(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 $@) $<
294 $(GEN): $(intermediates)/dom/JS%.h : $(LOCAL_PATH)/dom/%.idl $(js_binding_scripts)
295 $(transform-generated-source)
296 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
298 # We also need the .cpp files, which are generated as side effects of the
299 # above rules. Specifying this explicitly makes -j2 work.
300 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/dom/%.cpp : $(intermediates)/dom/%.h
304 $(intermediates)/html/JSCanvasGradient.h \
305 $(intermediates)/html/JSCanvasPattern.h \
306 $(intermediates)/html/JSCanvasRenderingContext2D.h \
307 $(intermediates)/html/JSFile.h \
308 $(intermediates)/html/JSFileList.h \
309 $(intermediates)/html/JSHTMLAnchorElement.h \
310 $(intermediates)/html/JSHTMLAppletElement.h \
311 $(intermediates)/html/JSHTMLAreaElement.h \
312 $(intermediates)/html/JSHTMLBRElement.h \
313 $(intermediates)/html/JSHTMLBaseElement.h \
314 $(intermediates)/html/JSHTMLBaseFontElement.h \
315 $(intermediates)/html/JSHTMLBlockquoteElement.h \
316 $(intermediates)/html/JSHTMLBodyElement.h \
317 $(intermediates)/html/JSHTMLButtonElement.h \
318 $(intermediates)/html/JSHTMLCanvasElement.h \
319 $(intermediates)/html/JSHTMLCollection.h \
320 $(intermediates)/html/JSHTMLDListElement.h \
321 $(intermediates)/html/JSHTMLDirectoryElement.h \
322 $(intermediates)/html/JSHTMLDivElement.h \
323 $(intermediates)/html/JSHTMLDocument.h \
324 $(intermediates)/html/JSHTMLElement.h \
325 $(intermediates)/html/JSHTMLEmbedElement.h \
326 $(intermediates)/html/JSHTMLFieldSetElement.h \
327 $(intermediates)/html/JSHTMLFontElement.h \
328 $(intermediates)/html/JSHTMLFormElement.h \
329 $(intermediates)/html/JSHTMLFrameElement.h \
330 $(intermediates)/html/JSHTMLFrameSetElement.h \
331 $(intermediates)/html/JSHTMLHRElement.h \
332 $(intermediates)/html/JSHTMLHeadElement.h \
333 $(intermediates)/html/JSHTMLHeadingElement.h \
334 $(intermediates)/html/JSHTMLHtmlElement.h \
335 $(intermediates)/html/JSHTMLIFrameElement.h \
336 $(intermediates)/html/JSHTMLImageElement.h \
337 $(intermediates)/html/JSHTMLInputElement.h \
338 $(intermediates)/html/JSHTMLIsIndexElement.h \
339 $(intermediates)/html/JSHTMLLIElement.h \
340 $(intermediates)/html/JSHTMLLabelElement.h \
341 $(intermediates)/html/JSHTMLLegendElement.h \
342 $(intermediates)/html/JSHTMLLinkElement.h \
343 $(intermediates)/html/JSHTMLMapElement.h \
344 $(intermediates)/html/JSHTMLMarqueeElement.h \
345 $(intermediates)/html/JSHTMLMenuElement.h \
346 $(intermediates)/html/JSHTMLMetaElement.h \
347 $(intermediates)/html/JSHTMLModElement.h \
348 $(intermediates)/html/JSHTMLOListElement.h \
349 $(intermediates)/html/JSHTMLObjectElement.h \
350 $(intermediates)/html/JSHTMLOptGroupElement.h \
351 $(intermediates)/html/JSHTMLOptionElement.h \
352 $(intermediates)/html/JSHTMLOptionsCollection.h \
353 $(intermediates)/html/JSHTMLParagraphElement.h \
354 $(intermediates)/html/JSHTMLParamElement.h \
355 $(intermediates)/html/JSHTMLPreElement.h \
356 $(intermediates)/html/JSHTMLQuoteElement.h \
357 $(intermediates)/html/JSHTMLScriptElement.h \
358 $(intermediates)/html/JSHTMLSelectElement.h \
359 $(intermediates)/html/JSHTMLSourceElement.h \
360 $(intermediates)/html/JSHTMLStyleElement.h \
361 $(intermediates)/html/JSHTMLTableCaptionElement.h \
362 $(intermediates)/html/JSHTMLTableCellElement.h \
363 $(intermediates)/html/JSHTMLTableColElement.h \
364 $(intermediates)/html/JSHTMLTableElement.h \
365 $(intermediates)/html/JSHTMLTableRowElement.h \
366 $(intermediates)/html/JSHTMLTableSectionElement.h \
367 $(intermediates)/html/JSHTMLTextAreaElement.h \
368 $(intermediates)/html/JSHTMLTitleElement.h \
369 $(intermediates)/html/JSHTMLUListElement.h \
370 $(intermediates)/html/JSHTMLVideoElement.h \
371 $(intermediates)/html/JSImageData.h \
372 $(intermediates)/html/JSMediaError.h \
373 $(intermediates)/html/JSTextMetrics.h \
374 $(intermediates)/html/JSTimeRanges.h \
375 $(intermediates)/html/JSVoidCallback.h
377 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
378 $(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 $@) $<
379 $(GEN): $(intermediates)/html/JS%.h : $(LOCAL_PATH)/html/%.idl $(js_binding_scripts)
380 $(transform-generated-source)
381 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
383 # We also need the .cpp files, which are generated as side effects of the
384 # above rules. Specifying this explicitly makes -j2 work.
385 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/html/%.cpp : $(intermediates)/html/%.h
388 $(intermediates)/inspector/JSJavaScriptCallFrame.h
390 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
391 $(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 $@) $<
392 $(GEN): $(intermediates)/inspector/JS%.h : $(LOCAL_PATH)/inspector/%.idl $(js_binding_scripts)
393 $(transform-generated-source)
394 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
396 # We also need the .cpp files, which are generated as side effects of the
397 # above rules. Specifying this explicitly makes -j2 work.
398 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/inspector/%.cpp : $(intermediates)/inspector/%.h
401 $(intermediates)/loader/appcache/JSDOMApplicationCache.h
403 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
404 $(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 $@) $<
405 $(GEN): $(intermediates)/loader/appcache/JS%.h : $(LOCAL_PATH)/loader/appcache/%.idl $(js_binding_scripts)
406 $(transform-generated-source)
407 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
409 # We also need the .cpp files, which are generated as side effects of the
410 # above rules. Specifying this explicitly makes -j2 work.
411 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/loader/appcache/%.cpp : $(intermediates)/loader/appcache/%.h
413 # MANUAL MERGE : I took this out because compiling the result shows:
414 # out/.../JSAbstractView.cpp:27:26: error: AbstractView.h: No such file or directory
415 # I can't find AbstractView.h anywhere
416 # $(intermediates)/page/JSAbstractView.h \
420 # out/.../JSPositionCallback.cpp:145: error: no matching function for call to 'WebCore::PositionCallback::handleEvent(WebCore::Geoposition*&)'
421 # note: candidates are: virtual void WebCore::PositionCallback::handleEvent(WebCore::Geoposition*, bool&)
422 # $(intermediates)/page/JSPositionCallback.h \
425 $(intermediates)/page/JSBarInfo.h \
426 $(intermediates)/page/JSConsole.h \
427 $(intermediates)/page/JSDOMSelection.h \
428 $(intermediates)/page/JSDOMWindow.h \
429 $(intermediates)/page/JSGeolocation.h \
430 $(intermediates)/page/JSGeoposition.h \
431 $(intermediates)/page/JSHistory.h \
432 $(intermediates)/page/JSLocation.h \
433 $(intermediates)/page/JSNavigator.h \
434 $(intermediates)/page/JSPositionError.h \
435 $(intermediates)/page/JSPositionErrorCallback.h \
436 $(intermediates)/page/JSScreen.h
437 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
438 $(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 $@) $<
439 $(GEN): $(intermediates)/page/JS%.h : $(LOCAL_PATH)/page/%.idl $(js_binding_scripts)
440 $(transform-generated-source)
441 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
443 # We also need the .cpp files, which are generated as side effects of the
444 # above rules. Specifying this explicitly makes -j2 work.
445 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/page/%.cpp : $(intermediates)/page/%.h
448 $(intermediates)/plugins/JSMimeType.h \
449 $(intermediates)/plugins/JSMimeTypeArray.h \
450 $(intermediates)/plugins/JSPlugin.h \
451 $(intermediates)/plugins/JSPluginArray.h
453 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
454 $(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 $@) $<
455 $(GEN): $(intermediates)/plugins/JS%.h : $(LOCAL_PATH)/plugins/%.idl $(js_binding_scripts)
456 $(transform-generated-source)
457 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
459 # We also need the .cpp files, which are generated as side effects of the
460 # above rules. Specifying this explicitly makes -j2 work.
461 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/plugins/%.cpp : $(intermediates)/plugins/%.h
463 #new section for xml/DOMParser.idl
465 $(intermediates)/xml/JSDOMParser.h \
466 $(intermediates)/xml/JSXMLHttpRequest.h \
467 $(intermediates)/xml/JSXMLHttpRequestException.h \
468 $(intermediates)/xml/JSXMLHttpRequestProgressEvent.h \
469 $(intermediates)/xml/JSXMLHttpRequestUpload.h \
470 $(intermediates)/xml/JSXMLSerializer.h \
471 $(intermediates)/xml/JSXPathEvaluator.h \
472 $(intermediates)/xml/JSXPathExpression.h \
473 $(intermediates)/xml/JSXPathNSResolver.h \
474 $(intermediates)/xml/JSXPathResult.h \
475 $(intermediates)/xml/JSXSLTProcessor.h
476 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
477 $(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 $@) $<
478 $(GEN): $(intermediates)/xml/JS%.h : $(LOCAL_PATH)/xml/%.idl $(js_binding_scripts)
479 $(transform-generated-source)
480 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
482 # We also need the .cpp files, which are generated as side effects of the
483 # above rules. Specifying this explicitly makes -j2 work.
484 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/xml/%.cpp : $(intermediates)/xml/%.h
487 # HTML tag and attribute names
489 GEN:= $(intermediates)/HTMLNames.cpp $(intermediates)/JSHTMLElementWrapperFactory.cpp
490 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
491 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --tags $(html_tags) --attrs $(html_attrs) --wrapperFactory --output $(dir $@)
492 $(GEN): html_tags := $(LOCAL_PATH)/html/HTMLTagNames.in
493 $(GEN): html_attrs := $(LOCAL_PATH)/html/HTMLAttributeNames.in
494 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(html_tags) $(html_attrs)
495 $(transform-generated-source)
496 LOCAL_GENERATED_SOURCES += $(GEN)
498 # XML attribute names
500 GEN:= $(intermediates)/XMLNames.cpp
501 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
502 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I $(PRIVATE_PATH)/bindings/scripts $< --attrs $(xml_attrs) --output $(dir $@)
503 $(GEN): xml_attrs := $(LOCAL_PATH)/xml/xmlattrs.in
504 $(GEN): $(LOCAL_PATH)/dom/make_names.pl $(xml_attrs)
505 $(transform-generated-source)
506 LOCAL_GENERATED_SOURCES += $(GEN)
508 GEN:= $(intermediates)/ksvgcssproperties.h
511 LOCAL_GENERATED_SOURCES += $(GEN)