|
|
IDL: Defer typedef resolution
This is a preparation for typedefs visibility change.
Since some typedefs are used by more than one interface
(e.g. BufferSource), they should be visible from all
interfaces when they satisfy the dependencies.
Currently, typedef resolution takes place when an IDL
file is parsed (in idl_definitions.py). However, not all
typedefs are available at that point. This CL defers
the typedef resolution at the point the code generator
generates bindings code. All typedefs are stored in
component_info so that the code generator can refer them.
This CL doesn't change the generated code.
BUG= 425916
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185769
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+75 lines, -47 lines) |
Patch |
 |
M |
Source/bindings/core/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/BUILD.gn
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/generated.gyp
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/modules/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/modules/v8/BUILD.gn
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/modules/v8/generated.gyp
|
View
|
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/code_generator_v8.py
|
View
|
1
|
4 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/compute_interfaces_info_individual.py
|
View
|
|
4 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/idl_compiler.py
|
View
|
|
4 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/idl_definitions.py
|
View
|
|
4 chunks |
+8 lines, -15 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/scripts.gni
|
View
|
|
7 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Tools/Scripts/webkitpy/bindings/main.py
|
View
|
|
7 chunks |
+12 lines, -14 lines |
0 comments
|
Download
|
Total messages: 13 (4 generated)
|