mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move PropertyDeclarationBlock into its own module.
This commit is contained in:
parent
6bd898626f
commit
540ba90bab
3 changed files with 394 additions and 377 deletions
|
@ -29,7 +29,8 @@ def main():
|
|||
abort(usage)
|
||||
|
||||
properties = data.PropertiesData(product=product, testing=testing)
|
||||
rust = render(os.path.join(BASE, "properties.mako.rs"), product=product, data=properties)
|
||||
template = os.path.join(BASE, "properties.mako.rs")
|
||||
rust = render(template, product=product, data=properties, __file__=template)
|
||||
if output == "style-crate":
|
||||
write(os.environ["OUT_DIR"], "properties.rs", rust)
|
||||
if product == "gecko":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue