mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the style crate
This commit is contained in:
parent
447ae1eae6
commit
f1300bb98b
7 changed files with 83 additions and 485 deletions
|
@ -41,13 +41,11 @@ set(globalgen_deps
|
|||
${bindings_src}/Configuration.py
|
||||
${bindings_src}/CodegenRust.py
|
||||
${bindings_src}/parser/WebIDL.py
|
||||
${PROJECT_BINARY_DIR}/css_properties.json
|
||||
)
|
||||
set(bindinggen_deps
|
||||
${globalgen_deps}
|
||||
${bindings_src}/BindingGen.py
|
||||
${bindings_src}/Bindings.conf
|
||||
${bindings_src}/Configuration.py
|
||||
${bindings_src}/CodegenRust.py
|
||||
${bindings_src}/parser/WebIDL.py
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
|
@ -71,6 +69,7 @@ add_custom_command(
|
|||
${bindings_src}/Bindings.conf
|
||||
.
|
||||
${PROJECT_SOURCE_DIR}
|
||||
${PROJECT_BINARY_DIR}/css_properties.json
|
||||
DEPENDS Bindings _cache ${globalgen_deps} ${webidls}
|
||||
VERBATIM
|
||||
)
|
||||
|
@ -85,6 +84,7 @@ add_custom_command(
|
|||
${bindings_src}/Bindings.conf
|
||||
.
|
||||
${PROJECT_SOURCE_DIR}
|
||||
${PROJECT_BINARY_DIR}/css_properties.json
|
||||
DEPENDS _cache ${globalgen_deps} ${webidls}
|
||||
VERBATIM
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue