OLD | NEW |
| (Empty) |
1 # Testing file for use to debug IDL parsing and code gen in Eclipse. | |
2 # Update list of IDL files from Source/core/core.gypi and | |
3 # Source/modules/modules.gypi | |
4 | |
5 import os | |
6 | |
7 | |
8 def full_path(paths, files): | |
9 full_paths = [] | |
10 for relative_file in files: | |
11 correct_relative_path = os.path.join(paths[0], paths[1], relative_file) | |
12 full_paths.append(os.path.realpath(correct_relative_path)) | |
13 return full_paths | |
14 | |
15 | |
16 # This list is copied from Source/core/core.gypi 'core_idl_files' | |
17 # Core IDL files bindings (.dart, .cpp and .h files) will be generated | |
18 core_idl_files = [ | |
19 'animation/Animation.idl', | |
20 'animation/AnimationEffect.idl', | |
21 'animation/AnimationPlayer.idl', | |
22 'animation/AnimationNode.idl', | |
23 'animation/AnimationTimeline.idl', | |
24 'animation/Timing.idl', | |
25 'clipboard/DataTransfer.idl', | |
26 'clipboard/DataTransferItem.idl', | |
27 'clipboard/DataTransferItemList.idl', | |
28 'css/CSS.idl', | |
29 'css/CSSCharsetRule.idl', | |
30 'css/CSSFontFaceRule.idl', | |
31 'css/CSSImportRule.idl', | |
32 'css/CSSKeyframeRule.idl', | |
33 'css/CSSKeyframesRule.idl', | |
34 'css/CSSMediaRule.idl', | |
35 'css/CSSPageRule.idl', | |
36 'css/CSSPrimitiveValue.idl', | |
37 'css/CSSRule.idl', | |
38 'css/CSSRuleList.idl', | |
39 'css/CSSStyleDeclaration.idl', | |
40 'css/CSSStyleRule.idl', | |
41 'css/CSSStyleSheet.idl', | |
42 'css/CSSSupportsRule.idl', | |
43 'css/CSSUnknownRule.idl', | |
44 'css/CSSValue.idl', | |
45 'css/CSSValueList.idl', | |
46 'css/CSSViewportRule.idl', | |
47 'css/Counter.idl', | |
48 'css/FontFace.idl', | |
49 'css/FontFaceSet.idl', | |
50 'css/FontFaceSetForEachCallback.idl', | |
51 'css/FontFaceSetLoadEvent.idl', | |
52 'css/MediaList.idl', | |
53 'css/MediaQueryList.idl', | |
54 'css/MediaQueryListEvent.idl', | |
55 'css/RGBColor.idl', | |
56 'css/Rect.idl', | |
57 'css/StyleMedia.idl', | |
58 'css/StyleSheet.idl', | |
59 'css/StyleSheetList.idl', | |
60 'css/WebKitCSSFilterRule.idl', | |
61 'css/WebKitCSSFilterValue.idl', | |
62 'css/WebKitCSSMatrix.idl', | |
63 'css/WebKitCSSTransformValue.idl', | |
64 'dom/Attr.idl', | |
65 'dom/CDATASection.idl', | |
66 'dom/CharacterData.idl', | |
67 'dom/ClientRect.idl', | |
68 'dom/ClientRectList.idl', | |
69 'dom/Comment.idl', | |
70 'dom/DOMError.idl', | |
71 'dom/DOMException.idl', | |
72 'dom/DOMImplementation.idl', | |
73 'dom/DOMMatrix.idl', | |
74 'dom/DOMMatrixReadOnly.idl', | |
75 'dom/DOMPoint.idl', | |
76 'dom/DOMPointReadOnly.idl', | |
77 'dom/DOMRect.idl', | |
78 'dom/DOMRectReadOnly.idl', | |
79 'dom/DOMSettableTokenList.idl', | |
80 'dom/DOMStringList.idl', | |
81 'dom/DOMStringMap.idl', | |
82 'dom/DOMTokenList.idl', | |
83 'dom/Document.idl', | |
84 'dom/DocumentFragment.idl', | |
85 'dom/DocumentType.idl', | |
86 'dom/Element.idl', | |
87 'dom/Iterator.idl', | |
88 'dom/MessageChannel.idl', | |
89 'dom/MessagePort.idl', | |
90 'dom/MutationObserver.idl', | |
91 'dom/MutationRecord.idl', | |
92 'dom/NamedNodeMap.idl', | |
93 'dom/Node.idl', | |
94 'dom/NodeFilter.idl', | |
95 'dom/NodeIterator.idl', | |
96 'dom/NodeList.idl', | |
97 'dom/ProcessingInstruction.idl', | |
98 'dom/Range.idl', | |
99 'dom/RequestAnimationFrameCallback.idl', | |
100 'dom/StringCallback.idl', | |
101 'dom/Text.idl', | |
102 'dom/Touch.idl', | |
103 'dom/TouchList.idl', | |
104 'dom/TreeWalker.idl', | |
105 'dom/URL.idl', | |
106 'dom/XMLDocument.idl', | |
107 'dom/shadow/ShadowRoot.idl', | |
108 'editing/Selection.idl', | |
109 'events/AnimationPlayerEvent.idl', | |
110 'events/ApplicationCacheErrorEvent.idl', | |
111 'events/AutocompleteErrorEvent.idl', | |
112 'events/BeforeUnloadEvent.idl', | |
113 'events/CompositionEvent.idl', | |
114 'events/CustomEvent.idl', | |
115 'events/ErrorEvent.idl', | |
116 'events/Event.idl', | |
117 'events/EventTarget.idl', | |
118 'events/FocusEvent.idl', | |
119 'events/HashChangeEvent.idl', | |
120 'events/KeyboardEvent.idl', | |
121 'events/MessageEvent.idl', | |
122 'events/MouseEvent.idl', | |
123 'events/MutationEvent.idl', | |
124 'events/OverflowEvent.idl', | |
125 'events/PageTransitionEvent.idl', | |
126 'events/PopStateEvent.idl', | |
127 'events/ProgressEvent.idl', | |
128 'events/RelatedEvent.idl', | |
129 'events/ResourceProgressEvent.idl', | |
130 'events/SecurityPolicyViolationEvent.idl', | |
131 'events/TextEvent.idl', | |
132 'events/TouchEvent.idl', | |
133 'events/TransitionEvent.idl', | |
134 'events/UIEvent.idl', | |
135 'events/WebKitAnimationEvent.idl', | |
136 'events/WheelEvent.idl', | |
137 'fileapi/Blob.idl', | |
138 'fileapi/File.idl', | |
139 'fileapi/FileError.idl', | |
140 'fileapi/FileList.idl', | |
141 'fileapi/FileReader.idl', | |
142 'fileapi/FileReaderSync.idl', | |
143 'frame/BarProp.idl', | |
144 'frame/Console.idl', | |
145 'frame/ConsoleBase.idl', | |
146 'frame/History.idl', | |
147 'frame/ImageBitmap.idl', | |
148 'frame/Location.idl', | |
149 'frame/Navigator.idl', | |
150 'frame/Screen.idl', | |
151 'frame/Window.idl', | |
152 'html/FormData.idl', | |
153 'html/HTMLAllCollection.idl', | |
154 'html/HTMLAnchorElement.idl', | |
155 'html/HTMLAppletElement.idl', | |
156 'html/HTMLAreaElement.idl', | |
157 'html/HTMLAudioElement.idl', | |
158 'html/HTMLBRElement.idl', | |
159 'html/HTMLBaseElement.idl', | |
160 'html/HTMLBodyElement.idl', | |
161 'html/HTMLButtonElement.idl', | |
162 'html/HTMLCanvasElement.idl', | |
163 'html/HTMLCollection.idl', | |
164 'html/HTMLContentElement.idl', | |
165 'html/HTMLDListElement.idl', | |
166 'html/HTMLDataListElement.idl', | |
167 'html/HTMLDetailsElement.idl', | |
168 'html/HTMLDialogElement.idl', | |
169 'html/HTMLDirectoryElement.idl', | |
170 'html/HTMLDivElement.idl', | |
171 'html/HTMLDocument.idl', | |
172 'html/HTMLElement.idl', | |
173 'html/HTMLEmbedElement.idl', | |
174 'html/HTMLFieldSetElement.idl', | |
175 'html/HTMLFontElement.idl', | |
176 'html/HTMLFormControlsCollection.idl', | |
177 'html/HTMLFormElement.idl', | |
178 'html/HTMLFrameElement.idl', | |
179 'html/HTMLFrameSetElement.idl', | |
180 'html/HTMLHRElement.idl', | |
181 'html/HTMLHeadElement.idl', | |
182 'html/HTMLHeadingElement.idl', | |
183 'html/HTMLHtmlElement.idl', | |
184 'html/HTMLIFrameElement.idl', | |
185 'html/HTMLImageElement.idl', | |
186 'html/HTMLInputElement.idl', | |
187 'html/HTMLKeygenElement.idl', | |
188 'html/HTMLLIElement.idl', | |
189 'html/HTMLLabelElement.idl', | |
190 'html/HTMLLegendElement.idl', | |
191 'html/HTMLLinkElement.idl', | |
192 'html/HTMLMapElement.idl', | |
193 'html/HTMLMarqueeElement.idl', | |
194 'html/HTMLMediaElement.idl', | |
195 'html/HTMLMenuElement.idl', | |
196 'html/HTMLMenuItemElement.idl', | |
197 'html/HTMLMetaElement.idl', | |
198 'html/HTMLMeterElement.idl', | |
199 'html/HTMLModElement.idl', | |
200 'html/HTMLOListElement.idl', | |
201 'html/HTMLObjectElement.idl', | |
202 'html/HTMLOptGroupElement.idl', | |
203 'html/HTMLOptionElement.idl', | |
204 'html/HTMLOptionsCollection.idl', | |
205 'html/HTMLOutputElement.idl', | |
206 'html/HTMLParagraphElement.idl', | |
207 'html/HTMLParamElement.idl', | |
208 'html/HTMLPictureElement.idl', | |
209 'html/HTMLPreElement.idl', | |
210 'html/HTMLProgressElement.idl', | |
211 'html/HTMLQuoteElement.idl', | |
212 'html/HTMLScriptElement.idl', | |
213 'html/HTMLSelectElement.idl', | |
214 'html/HTMLShadowElement.idl', | |
215 'html/HTMLSourceElement.idl', | |
216 'html/HTMLSpanElement.idl', | |
217 'html/HTMLStyleElement.idl', | |
218 'html/HTMLTableCaptionElement.idl', | |
219 'html/HTMLTableCellElement.idl', | |
220 'html/HTMLTableColElement.idl', | |
221 'html/HTMLTableElement.idl', | |
222 'html/HTMLTableRowElement.idl', | |
223 'html/HTMLTableSectionElement.idl', | |
224 'html/HTMLTemplateElement.idl', | |
225 'html/HTMLTextAreaElement.idl', | |
226 'html/HTMLTitleElement.idl', | |
227 'html/HTMLTrackElement.idl', | |
228 'html/HTMLUListElement.idl', | |
229 'html/HTMLUnknownElement.idl', | |
230 'html/HTMLVideoElement.idl', | |
231 'html/ImageData.idl', | |
232 'html/MediaController.idl', | |
233 'html/MediaError.idl', | |
234 'html/MediaKeyError.idl', | |
235 'html/MediaKeyEvent.idl', | |
236 'html/RadioNodeList.idl', | |
237 'html/TextMetrics.idl', | |
238 'html/TimeRanges.idl', | |
239 'html/ValidityState.idl', | |
240 'html/VoidCallback.idl', | |
241 'html/canvas/ANGLEInstancedArrays.idl', | |
242 'html/canvas/Canvas2DContextAttributes.idl', | |
243 'html/canvas/CanvasGradient.idl', | |
244 'html/canvas/CanvasPattern.idl', | |
245 'html/canvas/CanvasRenderingContext2D.idl', | |
246 'html/canvas/EXTBlendMinMax.idl', | |
247 'html/canvas/EXTFragDepth.idl', | |
248 'html/canvas/EXTShaderTextureLOD.idl', | |
249 'html/canvas/EXTTextureFilterAnisotropic.idl', | |
250 'html/canvas/OESElementIndexUint.idl', | |
251 'html/canvas/OESStandardDerivatives.idl', | |
252 'html/canvas/OESTextureFloat.idl', | |
253 'html/canvas/OESTextureFloatLinear.idl', | |
254 'html/canvas/OESTextureHalfFloat.idl', | |
255 'html/canvas/OESTextureHalfFloatLinear.idl', | |
256 'html/canvas/OESVertexArrayObject.idl', | |
257 'html/canvas/Path2D.idl', | |
258 'html/canvas/WebGLActiveInfo.idl', | |
259 'html/canvas/WebGLBuffer.idl', | |
260 'html/canvas/WebGLCompressedTextureATC.idl', | |
261 'html/canvas/WebGLCompressedTextureETC1.idl', | |
262 'html/canvas/WebGLCompressedTexturePVRTC.idl', | |
263 'html/canvas/WebGLCompressedTextureS3TC.idl', | |
264 'html/canvas/WebGLContextAttributes.idl', | |
265 'html/canvas/WebGLContextEvent.idl', | |
266 'html/canvas/WebGLDebugRendererInfo.idl', | |
267 'html/canvas/WebGLDebugShaders.idl', | |
268 'html/canvas/WebGLDepthTexture.idl', | |
269 'html/canvas/WebGLDrawBuffers.idl', | |
270 'html/canvas/WebGLFramebuffer.idl', | |
271 'html/canvas/WebGLLoseContext.idl', | |
272 'html/canvas/WebGLProgram.idl', | |
273 'html/canvas/WebGLRenderbuffer.idl', | |
274 'html/canvas/WebGLRenderingContext.idl', | |
275 'html/canvas/WebGLShader.idl', | |
276 'html/canvas/WebGLShaderPrecisionFormat.idl', | |
277 'html/canvas/WebGLTexture.idl', | |
278 'html/canvas/WebGLUniformLocation.idl', | |
279 'html/canvas/WebGLVertexArrayObjectOES.idl', | |
280 'html/ime/InputMethodContext.idl', | |
281 'html/shadow/PluginPlaceholderElement.idl', | |
282 'html/track/AudioTrack.idl', | |
283 'html/track/AudioTrackList.idl', | |
284 'html/track/TextTrack.idl', | |
285 'html/track/TextTrackCue.idl', | |
286 'html/track/TextTrackCueList.idl', | |
287 'html/track/TextTrackList.idl', | |
288 'html/track/TrackEvent.idl', | |
289 'html/track/VideoTrack.idl', | |
290 'html/track/VideoTrackList.idl', | |
291 'html/track/vtt/VTTCue.idl', | |
292 'html/track/vtt/VTTRegion.idl', | |
293 'html/track/vtt/VTTRegionList.idl', | |
294 'inspector/InjectedScriptHost.idl', | |
295 'inspector/InspectorFrontendHost.idl', | |
296 'inspector/InspectorOverlayHost.idl', | |
297 'inspector/JavaScriptCallFrame.idl', | |
298 'loader/appcache/ApplicationCache.idl', | |
299 'page/EventSource.idl', | |
300 'page/PagePopupController.idl', | |
301 'plugins/MimeType.idl', | |
302 'plugins/MimeTypeArray.idl', | |
303 'plugins/Plugin.idl', | |
304 'plugins/PluginArray.idl', | |
305 'storage/Storage.idl', | |
306 'storage/StorageEvent.idl', | |
307 'streams/ReadableStream.idl', | |
308 'streams/Stream.idl', | |
309 'svg/SVGAElement.idl', | |
310 'svg/SVGAltGlyphDefElement.idl', | |
311 'svg/SVGAltGlyphElement.idl', | |
312 'svg/SVGAltGlyphItemElement.idl', | |
313 'svg/SVGAngle.idl', | |
314 'svg/SVGAnimateElement.idl', | |
315 'svg/SVGAnimateMotionElement.idl', | |
316 'svg/SVGAnimateTransformElement.idl', | |
317 'svg/SVGAnimatedAngle.idl', | |
318 'svg/SVGAnimatedBoolean.idl', | |
319 'svg/SVGAnimatedEnumeration.idl', | |
320 'svg/SVGAnimatedInteger.idl', | |
321 'svg/SVGAnimatedLength.idl', | |
322 'svg/SVGAnimatedLengthList.idl', | |
323 'svg/SVGAnimatedNumber.idl', | |
324 'svg/SVGAnimatedNumberList.idl', | |
325 'svg/SVGAnimatedPreserveAspectRatio.idl', | |
326 'svg/SVGAnimatedRect.idl', | |
327 'svg/SVGAnimatedString.idl', | |
328 'svg/SVGAnimatedTransformList.idl', | |
329 'svg/SVGAnimationElement.idl', | |
330 'svg/SVGCircleElement.idl', | |
331 'svg/SVGClipPathElement.idl', | |
332 'svg/SVGComponentTransferFunctionElement.idl', | |
333 'svg/SVGCursorElement.idl', | |
334 'svg/SVGDefsElement.idl', | |
335 'svg/SVGDescElement.idl', | |
336 'svg/SVGDiscardElement.idl', | |
337 'svg/SVGElement.idl', | |
338 'svg/SVGEllipseElement.idl', | |
339 'svg/SVGFEBlendElement.idl', | |
340 'svg/SVGFEColorMatrixElement.idl', | |
341 'svg/SVGFEComponentTransferElement.idl', | |
342 'svg/SVGFECompositeElement.idl', | |
343 'svg/SVGFEConvolveMatrixElement.idl', | |
344 'svg/SVGFEDiffuseLightingElement.idl', | |
345 'svg/SVGFEDisplacementMapElement.idl', | |
346 'svg/SVGFEDistantLightElement.idl', | |
347 'svg/SVGFEDropShadowElement.idl', | |
348 'svg/SVGFEFloodElement.idl', | |
349 'svg/SVGFEFuncAElement.idl', | |
350 'svg/SVGFEFuncBElement.idl', | |
351 'svg/SVGFEFuncGElement.idl', | |
352 'svg/SVGFEFuncRElement.idl', | |
353 'svg/SVGFEGaussianBlurElement.idl', | |
354 'svg/SVGFEImageElement.idl', | |
355 'svg/SVGFEMergeElement.idl', | |
356 'svg/SVGFEMergeNodeElement.idl', | |
357 'svg/SVGFEMorphologyElement.idl', | |
358 'svg/SVGFEOffsetElement.idl', | |
359 'svg/SVGFEPointLightElement.idl', | |
360 'svg/SVGFESpecularLightingElement.idl', | |
361 'svg/SVGFESpotLightElement.idl', | |
362 'svg/SVGFETileElement.idl', | |
363 'svg/SVGFETurbulenceElement.idl', | |
364 'svg/SVGFilterElement.idl', | |
365 'svg/SVGFontElement.idl', | |
366 'svg/SVGFontFaceElement.idl', | |
367 'svg/SVGFontFaceFormatElement.idl', | |
368 'svg/SVGFontFaceNameElement.idl', | |
369 'svg/SVGFontFaceSrcElement.idl', | |
370 'svg/SVGFontFaceUriElement.idl', | |
371 'svg/SVGForeignObjectElement.idl', | |
372 'svg/SVGGElement.idl', | |
373 'svg/SVGGeometryElement.idl', | |
374 'svg/SVGGlyphElement.idl', | |
375 'svg/SVGGlyphRefElement.idl', | |
376 'svg/SVGGradientElement.idl', | |
377 'svg/SVGGraphicsElement.idl', | |
378 'svg/SVGHKernElement.idl', | |
379 'svg/SVGImageElement.idl', | |
380 'svg/SVGLength.idl', | |
381 'svg/SVGLengthList.idl', | |
382 'svg/SVGLineElement.idl', | |
383 'svg/SVGLinearGradientElement.idl', | |
384 'svg/SVGMPathElement.idl', | |
385 'svg/SVGMarkerElement.idl', | |
386 'svg/SVGMaskElement.idl', | |
387 'svg/SVGMatrix.idl', | |
388 'svg/SVGMetadataElement.idl', | |
389 'svg/SVGMissingGlyphElement.idl', | |
390 'svg/SVGNumber.idl', | |
391 'svg/SVGNumberList.idl', | |
392 'svg/SVGPathElement.idl', | |
393 'svg/SVGPathSeg.idl', | |
394 'svg/SVGPathSegArcAbs.idl', | |
395 'svg/SVGPathSegArcRel.idl', | |
396 'svg/SVGPathSegClosePath.idl', | |
397 'svg/SVGPathSegCurvetoCubicAbs.idl', | |
398 'svg/SVGPathSegCurvetoCubicRel.idl', | |
399 'svg/SVGPathSegCurvetoCubicSmoothAbs.idl', | |
400 'svg/SVGPathSegCurvetoCubicSmoothRel.idl', | |
401 'svg/SVGPathSegCurvetoQuadraticAbs.idl', | |
402 'svg/SVGPathSegCurvetoQuadraticRel.idl', | |
403 'svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl', | |
404 'svg/SVGPathSegCurvetoQuadraticSmoothRel.idl', | |
405 'svg/SVGPathSegLinetoAbs.idl', | |
406 'svg/SVGPathSegLinetoHorizontalAbs.idl', | |
407 'svg/SVGPathSegLinetoHorizontalRel.idl', | |
408 'svg/SVGPathSegLinetoRel.idl', | |
409 'svg/SVGPathSegLinetoVerticalAbs.idl', | |
410 'svg/SVGPathSegLinetoVerticalRel.idl', | |
411 'svg/SVGPathSegList.idl', | |
412 'svg/SVGPathSegMovetoAbs.idl', | |
413 'svg/SVGPathSegMovetoRel.idl', | |
414 'svg/SVGPatternElement.idl', | |
415 'svg/SVGPoint.idl', | |
416 'svg/SVGPointList.idl', | |
417 'svg/SVGPolygonElement.idl', | |
418 'svg/SVGPolylineElement.idl', | |
419 'svg/SVGPreserveAspectRatio.idl', | |
420 'svg/SVGRadialGradientElement.idl', | |
421 'svg/SVGRect.idl', | |
422 'svg/SVGRectElement.idl', | |
423 'svg/SVGRenderingIntent.idl', | |
424 'svg/SVGSVGElement.idl', | |
425 'svg/SVGScriptElement.idl', | |
426 'svg/SVGSetElement.idl', | |
427 'svg/SVGStopElement.idl', | |
428 'svg/SVGStringList.idl', | |
429 'svg/SVGStyleElement.idl', | |
430 'svg/SVGSwitchElement.idl', | |
431 'svg/SVGSymbolElement.idl', | |
432 'svg/SVGTSpanElement.idl', | |
433 'svg/SVGTextContentElement.idl', | |
434 'svg/SVGTextElement.idl', | |
435 'svg/SVGTextPathElement.idl', | |
436 'svg/SVGTextPositioningElement.idl', | |
437 'svg/SVGTitleElement.idl', | |
438 'svg/SVGTransform.idl', | |
439 'svg/SVGTransformList.idl', | |
440 'svg/SVGUnitTypes.idl', | |
441 'svg/SVGUseElement.idl', | |
442 'svg/SVGVKernElement.idl', | |
443 'svg/SVGViewElement.idl', | |
444 'svg/SVGViewSpec.idl', | |
445 'svg/SVGZoomEvent.idl', | |
446 'timing/MemoryInfo.idl', | |
447 'timing/Performance.idl', | |
448 'timing/PerformanceEntry.idl', | |
449 'timing/PerformanceMark.idl', | |
450 'timing/PerformanceMeasure.idl', | |
451 'timing/PerformanceNavigation.idl', | |
452 'timing/PerformanceResourceTiming.idl', | |
453 'timing/PerformanceTiming.idl', | |
454 'workers/DedicatedWorkerGlobalScope.idl', | |
455 'workers/SharedWorker.idl', | |
456 'workers/SharedWorkerGlobalScope.idl', | |
457 'workers/Worker.idl', | |
458 'workers/WorkerConsole.idl', | |
459 'workers/WorkerGlobalScope.idl', | |
460 'workers/WorkerLocation.idl', | |
461 'workers/WorkerNavigator.idl', | |
462 'xml/DOMParser.idl', | |
463 'xml/XMLHttpRequest.idl', | |
464 'xml/XMLHttpRequestEventTarget.idl', | |
465 'xml/XMLHttpRequestProgressEvent.idl', | |
466 'xml/XMLHttpRequestUpload.idl', | |
467 'xml/XMLSerializer.idl', | |
468 'xml/XPathEvaluator.idl', | |
469 'xml/XPathExpression.idl', | |
470 'xml/XPathNSResolver.idl', | |
471 'xml/XPathResult.idl', | |
472 'xml/XSLTProcessor.idl', | |
473 ] | |
474 | |
475 | |
476 def full_path_core_idl_files(): | |
477 return full_path(['Source', 'core'], core_idl_files) | |
478 | |
479 | |
480 # This list is copied from Source/core/core.gypi 'core_dependency_idl_files' | |
481 # 'partial interface' or target (right side of) 'implements' | |
482 core_dependency_idl_files = [ | |
483 'animation/DocumentAnimation.idl', | |
484 'animation/ElementAnimation.idl', | |
485 'css/DocumentFontFaceSet.idl', | |
486 'dom/ChildNode.idl', | |
487 'dom/DocumentFullscreen.idl', | |
488 'dom/ElementFullscreen.idl', | |
489 'dom/GlobalEventHandlers.idl', | |
490 'dom/ParentNode.idl', | |
491 'dom/URLUtils.idl', | |
492 'dom/URLUtilsReadOnly.idl', | |
493 'events/EventListener.idl', | |
494 'events/NavigatorEvents.idl', | |
495 'frame/NavigatorCPU.idl', | |
496 'frame/NavigatorID.idl', | |
497 'frame/NavigatorLanguage.idl', | |
498 'frame/NavigatorOnLine.idl', | |
499 'frame/WindowBase64.idl', | |
500 'frame/WindowEventHandlers.idl', | |
501 'frame/WindowTimers.idl', | |
502 'html/canvas/CanvasPathMethods.idl', | |
503 'html/canvas/MouseEventHitRegion.idl', | |
504 'html/canvas/WebGLRenderingContextBase.idl', | |
505 'imagebitmap/ImageBitmapFactories.idl', | |
506 'imagebitmap/WindowImageBitmapFactories.idl', | |
507 'page/WindowPagePopup.idl', | |
508 'svg/SVGDocument.idl', | |
509 'svg/SVGFilterPrimitiveStandardAttributes.idl', | |
510 'svg/SVGFitToViewBox.idl', | |
511 'svg/SVGTests.idl', | |
512 'svg/SVGURIReference.idl', | |
513 'svg/SVGZoomAndPan.idl', | |
514 'workers/AbstractWorker.idl', | |
515 'xml/DocumentXMLTreeViewer.idl', | |
516 'xml/DocumentXPathEvaluator.idl', | |
517 ] | |
518 | |
519 | |
520 def full_path_core_dependency_idl_files(): | |
521 return full_path(['Source', 'core'], core_dependency_idl_files) | |
522 | |
523 | |
524 # This list is copied from Source/modules/modules.gypi 'modules_idl_files' | |
525 # Modules IDL files bindings (.dart, .cpp and .h files) will be generated | |
526 modules_idl_files = [ | |
527 'battery/BatteryManager.idl', | |
528 'credentialmanager/Credential.idl', | |
529 'credentialmanager/CredentialsContainer.idl', | |
530 'credentialmanager/FederatedCredential.idl', | |
531 'credentialmanager/LocalCredential.idl', | |
532 'crypto/Crypto.idl', | |
533 'crypto/CryptoKey.idl', | |
534 'crypto/SubtleCrypto.idl', | |
535 'device_light/DeviceLightEvent.idl', | |
536 'device_orientation/DeviceAcceleration.idl', | |
537 'device_orientation/DeviceMotionEvent.idl', | |
538 'device_orientation/DeviceOrientationEvent.idl', | |
539 'device_orientation/DeviceRotationRate.idl', | |
540 'encoding/TextDecoder.idl', | |
541 'encoding/TextEncoder.idl', | |
542 'encryptedmedia/MediaKeyMessageEvent.idl', | |
543 'encryptedmedia/MediaKeyNeededEvent.idl', | |
544 'encryptedmedia/MediaKeySession.idl', | |
545 'encryptedmedia/MediaKeys.idl', | |
546 'filesystem/DOMFileSystem.idl', | |
547 'filesystem/DOMFileSystemSync.idl', | |
548 'filesystem/DirectoryEntry.idl', | |
549 'filesystem/DirectoryEntrySync.idl', | |
550 'filesystem/DirectoryReader.idl', | |
551 'filesystem/DirectoryReaderSync.idl', | |
552 'filesystem/EntriesCallback.idl', | |
553 'filesystem/Entry.idl', | |
554 'filesystem/EntryCallback.idl', | |
555 'filesystem/EntrySync.idl', | |
556 'filesystem/ErrorCallback.idl', | |
557 'filesystem/FileCallback.idl', | |
558 'filesystem/FileEntry.idl', | |
559 'filesystem/FileEntrySync.idl', | |
560 'filesystem/FileSystemCallback.idl', | |
561 'filesystem/FileWriter.idl', | |
562 'filesystem/FileWriterCallback.idl', | |
563 'filesystem/FileWriterSync.idl', | |
564 'filesystem/Metadata.idl', | |
565 'filesystem/MetadataCallback.idl', | |
566 'gamepad/Gamepad.idl', | |
567 'gamepad/GamepadButton.idl', | |
568 'gamepad/GamepadEvent.idl', | |
569 'gamepad/GamepadList.idl', | |
570 'gamepad/WebKitGamepad.idl', | |
571 'gamepad/WebKitGamepadList.idl', | |
572 'geofencing/CircularGeofencingRegion.idl', | |
573 'geofencing/Geofencing.idl', | |
574 'geofencing/GeofencingRegion.idl', | |
575 'geolocation/Coordinates.idl', | |
576 'geolocation/Geolocation.idl', | |
577 'geolocation/Geoposition.idl', | |
578 'geolocation/PositionCallback.idl', | |
579 'geolocation/PositionError.idl', | |
580 'geolocation/PositionErrorCallback.idl', | |
581 'indexeddb/IDBCursor.idl', | |
582 'indexeddb/IDBCursorWithValue.idl', | |
583 'indexeddb/IDBDatabase.idl', | |
584 'indexeddb/IDBFactory.idl', | |
585 'indexeddb/IDBIndex.idl', | |
586 'indexeddb/IDBKeyRange.idl', | |
587 'indexeddb/IDBObjectStore.idl', | |
588 'indexeddb/IDBOpenDBRequest.idl', | |
589 'indexeddb/IDBRequest.idl', | |
590 'indexeddb/IDBTransaction.idl', | |
591 'indexeddb/IDBVersionChangeEvent.idl', | |
592 'mediasource/MediaSource.idl', | |
593 'mediasource/SourceBuffer.idl', | |
594 'mediasource/SourceBufferList.idl', | |
595 'mediasource/VideoPlaybackQuality.idl', | |
596 'mediastream/MediaDeviceInfo.idl', | |
597 'mediastream/MediaDeviceInfoCallback.idl', | |
598 'mediastream/MediaStream.idl', | |
599 'mediastream/MediaStreamEvent.idl', | |
600 'mediastream/MediaStreamTrack.idl', | |
601 'mediastream/MediaStreamTrackEvent.idl', | |
602 'mediastream/MediaStreamTrackSourcesCallback.idl', | |
603 'mediastream/NavigatorUserMediaError.idl', | |
604 'mediastream/NavigatorUserMediaErrorCallback.idl', | |
605 'mediastream/NavigatorUserMediaSuccessCallback.idl', | |
606 'mediastream/RTCDTMFSender.idl', | |
607 'mediastream/RTCDTMFToneChangeEvent.idl', | |
608 'mediastream/RTCDataChannel.idl', | |
609 'mediastream/RTCDataChannelEvent.idl', | |
610 'mediastream/RTCErrorCallback.idl', | |
611 'mediastream/RTCIceCandidate.idl', | |
612 'mediastream/RTCIceCandidateEvent.idl', | |
613 'mediastream/RTCPeerConnection.idl', | |
614 'mediastream/RTCSessionDescription.idl', | |
615 'mediastream/RTCSessionDescriptionCallback.idl', | |
616 'mediastream/RTCStatsCallback.idl', | |
617 'mediastream/RTCStatsReport.idl', | |
618 'mediastream/RTCStatsResponse.idl', | |
619 'mediastream/SourceInfo.idl', | |
620 'netinfo/NetworkInformation.idl', | |
621 'notifications/Notification.idl', | |
622 'notifications/NotificationPermissionCallback.idl', | |
623 'performance/WorkerPerformance.idl', | |
624 'presentation/Presentation.idl', | |
625 'push_messaging/PushEvent.idl', | |
626 'push_messaging/PushManager.idl', | |
627 'push_messaging/PushRegistration.idl', | |
628 'quota/DeprecatedStorageInfo.idl', | |
629 'quota/DeprecatedStorageQuota.idl', | |
630 'quota/StorageErrorCallback.idl', | |
631 'quota/StorageInfo.idl', | |
632 'quota/StorageQuota.idl', | |
633 'quota/StorageQuotaCallback.idl', | |
634 'quota/StorageUsageCallback.idl', | |
635 'screen_orientation/ScreenOrientation.idl', | |
636 'serviceworkers/Body.idl', | |
637 'serviceworkers/Cache.idl', | |
638 'serviceworkers/CacheStorage.idl', | |
639 'serviceworkers/ExtendableEvent.idl', | |
640 'serviceworkers/FetchEvent.idl', | |
641 'serviceworkers/Headers.idl', | |
642 'serviceworkers/HeadersForEachCallback.idl', | |
643 'serviceworkers/InstallEvent.idl', | |
644 'serviceworkers/Request.idl', | |
645 'serviceworkers/Response.idl', | |
646 'serviceworkers/ServiceWorker.idl', | |
647 'serviceworkers/ServiceWorkerClient.idl', | |
648 'serviceworkers/ServiceWorkerClients.idl', | |
649 'serviceworkers/ServiceWorkerContainer.idl', | |
650 'serviceworkers/ServiceWorkerGlobalScope.idl', | |
651 'serviceworkers/ServiceWorkerRegistration.idl', | |
652 'speech/SpeechGrammar.idl', | |
653 'speech/SpeechGrammarList.idl', | |
654 'speech/SpeechRecognition.idl', | |
655 'speech/SpeechRecognitionAlternative.idl', | |
656 'speech/SpeechRecognitionError.idl', | |
657 'speech/SpeechRecognitionEvent.idl', | |
658 'speech/SpeechRecognitionResult.idl', | |
659 'speech/SpeechRecognitionResultList.idl', | |
660 'speech/SpeechSynthesis.idl', | |
661 'speech/SpeechSynthesisEvent.idl', | |
662 'speech/SpeechSynthesisUtterance.idl', | |
663 'speech/SpeechSynthesisVoice.idl', | |
664 'webaudio/AnalyserNode.idl', | |
665 'webaudio/AudioBuffer.idl', | |
666 'webaudio/AudioBufferCallback.idl', | |
667 'webaudio/AudioBufferSourceNode.idl', | |
668 'webaudio/AudioContext.idl', | |
669 'webaudio/AudioDestinationNode.idl', | |
670 'webaudio/AudioListener.idl', | |
671 'webaudio/AudioNode.idl', | |
672 'webaudio/AudioParam.idl', | |
673 'webaudio/AudioProcessingEvent.idl', | |
674 'webaudio/AudioSourceNode.idl', | |
675 'webaudio/BiquadFilterNode.idl', | |
676 'webaudio/ChannelMergerNode.idl', | |
677 'webaudio/ChannelSplitterNode.idl', | |
678 'webaudio/ConvolverNode.idl', | |
679 'webaudio/DelayNode.idl', | |
680 'webaudio/DynamicsCompressorNode.idl', | |
681 'webaudio/GainNode.idl', | |
682 'webaudio/MediaElementAudioSourceNode.idl', | |
683 'webaudio/MediaStreamAudioDestinationNode.idl', | |
684 'webaudio/MediaStreamAudioSourceNode.idl', | |
685 'webaudio/OfflineAudioCompletionEvent.idl', | |
686 'webaudio/OfflineAudioContext.idl', | |
687 'webaudio/OscillatorNode.idl', | |
688 'webaudio/PannerNode.idl', | |
689 'webaudio/PeriodicWave.idl', | |
690 'webaudio/ScriptProcessorNode.idl', | |
691 'webaudio/WaveShaperNode.idl', | |
692 'webdatabase/Database.idl', | |
693 'webdatabase/DatabaseCallback.idl', | |
694 'webdatabase/SQLError.idl', | |
695 'webdatabase/SQLResultSet.idl', | |
696 'webdatabase/SQLResultSetRowList.idl', | |
697 'webdatabase/SQLStatementCallback.idl', | |
698 'webdatabase/SQLStatementErrorCallback.idl', | |
699 'webdatabase/SQLTransaction.idl', | |
700 'webdatabase/SQLTransactionCallback.idl', | |
701 'webdatabase/SQLTransactionErrorCallback.idl', | |
702 'webmidi/MIDIAccess.idl', | |
703 'webmidi/MIDIConnectionEvent.idl', | |
704 'webmidi/MIDIErrorCallback.idl', | |
705 'webmidi/MIDIInput.idl', | |
706 'webmidi/MIDIInputMap.idl', | |
707 'webmidi/MIDIMessageEvent.idl', | |
708 'webmidi/MIDIOutput.idl', | |
709 'webmidi/MIDIOutputMap.idl', | |
710 'webmidi/MIDIPort.idl', | |
711 'webmidi/MIDISuccessCallback.idl', | |
712 'websockets/CloseEvent.idl', | |
713 'websockets/WebSocket.idl', | |
714 ] | |
715 | |
716 | |
717 def full_path_modules_idl_files(): | |
718 return full_path(['Source', 'modules'], modules_idl_files) | |
719 | |
720 | |
721 # This list is copied from Source/modules/modules.gypi | |
722 # 'modules_dependency_idl_files'. | |
723 # 'partial interface' or target (right side of) 'implements' | |
724 modules_dependency_idl_files = [ | |
725 'battery/NavigatorBattery.idl', | |
726 'beacon/NavigatorBeacon.idl', | |
727 'credentialmanager/NavigatorCredentials.idl', | |
728 'crypto/WindowCrypto.idl', | |
729 'crypto/WorkerGlobalScopeCrypto.idl', | |
730 'device_light/WindowDeviceLight.idl', | |
731 'device_orientation/WindowDeviceMotion.idl', | |
732 'device_orientation/WindowDeviceOrientation.idl', | |
733 'donottrack/NavigatorDoNotTrack.idl', | |
734 'encryptedmedia/HTMLMediaElementEncryptedMedia.idl', | |
735 'filesystem/DataTransferItemFileSystem.idl', | |
736 'filesystem/HTMLInputElementFileSystem.idl', | |
737 'filesystem/InspectorFrontendHostFileSystem.idl', | |
738 'filesystem/WindowFileSystem.idl', | |
739 'filesystem/WorkerGlobalScopeFileSystem.idl', | |
740 'gamepad/NavigatorGamepad.idl', | |
741 'geofencing/NavigatorGeofencing.idl', | |
742 'geofencing/WorkerNavigatorGeofencing.idl', | |
743 'geolocation/NavigatorGeolocation.idl', | |
744 'indexeddb/WindowIndexedDatabase.idl', | |
745 'indexeddb/WorkerGlobalScopeIndexedDatabase.idl', | |
746 'mediasource/HTMLVideoElementMediaSource.idl', | |
747 'mediasource/URLMediaSource.idl', | |
748 'mediastream/NavigatorMediaStream.idl', | |
749 'mediastream/URLMediaStream.idl', | |
750 'mediastream/WindowMediaStream.idl', | |
751 'navigatorcontentutils/NavigatorContentUtils.idl', | |
752 'netinfo/NavigatorNetworkInformation.idl', | |
753 'netinfo/WorkerNavigatorNetworkInformation.idl', | |
754 'performance/SharedWorkerPerformance.idl', | |
755 'performance/WorkerGlobalScopePerformance.idl', | |
756 'presentation/NavigatorPresentation.idl', | |
757 'push_messaging/NavigatorPushManager.idl', | |
758 'push_messaging/ServiceWorkerGlobalScopePush.idl', | |
759 'quota/NavigatorStorageQuota.idl', | |
760 'quota/WindowQuota.idl', | |
761 'quota/WorkerNavigatorStorageQuota.idl', | |
762 'screen_orientation/ScreenScreenOrientation.idl', | |
763 'serviceworkers/NavigatorServiceWorker.idl', | |
764 'speech/WindowSpeech.idl', | |
765 'speech/WindowSpeechSynthesis.idl', | |
766 'vibration/NavigatorVibration.idl', | |
767 'webaudio/WindowWebAudio.idl', | |
768 'webdatabase/WindowWebDatabase.idl', | |
769 'webmidi/NavigatorWebMIDI.idl', | |
770 ] | |
771 | |
772 def full_path_modules_dependency_idl_files(): | |
773 return full_path(['Source', 'modules'], modules_dependency_idl_files) | |
774 | |
775 | |
776 core_dictionary_idl_files = [ | |
777 'css/FontFaceDescriptors.idl', | |
778 'dom/DOMPointInit.idl', | |
779 'dom/MutationObserverInit.idl', | |
780 'frame/ScrollOptions.idl', | |
781 'html/canvas/HitRegionOptions.idl', | |
782 'page/EventSourceInit.idl', | |
783 ] | |
784 def full_path_core_dictionary_idl_files(): | |
785 return full_path(['Source', 'core'], core_dictionary_idl_files) | |
786 | |
787 | |
788 modules_dictionary_idl_files = [ | |
789 'encoding/TextDecodeOptions.idl', | |
790 'encoding/TextDecoderOptions.idl', | |
791 'indexeddb/IDBIndexParameters.idl', | |
792 'notifications/NotificationOptions.idl', | |
793 'serviceworkers/QueryParams.idl', | |
794 'serviceworkers/RegistrationOptionList.idl', | |
795 'serviceworkers/ServiceWorkerClientQueryParams.idl', | |
796 'webmidi/MIDIOptions.idl', | |
797 ] | |
798 | |
799 def full_path_modules_dictionary_idl_files(): | |
800 return full_path(['Source', 'modules'], modules_dictionary_idl_files) | |
OLD | NEW |