mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
This reverts commit 7fce850cff
.
This commit is contained in:
parent
45f2433d76
commit
8bc49299c8
86 changed files with 1193 additions and 517 deletions
|
@ -52,9 +52,8 @@ def main():
|
|||
|
||||
for webidl in webidls:
|
||||
filename = os.path.join(webidls_dir, webidl)
|
||||
name = webidl[:-len(".webidl")]
|
||||
prefix = "Bindings/%sBinding" % name
|
||||
module = CGBindingRoot(config, prefix, filename, name).define()
|
||||
prefix = "Bindings/%sBinding" % webidl[:-len(".webidl")]
|
||||
module = CGBindingRoot(config, prefix, filename).define()
|
||||
if module:
|
||||
with open(os.path.join(out_dir, prefix + ".rs"), "wb") as f:
|
||||
f.write(module.encode("utf-8"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue