Update regen.py for recent mozilla-central and rust-bindgen.

This commit is contained in:
Cameron McCormack 2016-12-08 00:29:08 -10:00
parent e09bc36347
commit 8310962b90

View file

@ -106,6 +106,7 @@ COMPILATION_TARGETS = {
"AnonymousContent", "AnonymousContent",
"AudioContext", "AudioContext",
"CapturingContentInfo", "CapturingContentInfo",
"ConsumeStyleBehavior",
"DefaultDelete", "DefaultDelete",
"DOMIntersectionObserverEntry", "DOMIntersectionObserverEntry",
"Element", "Element",
@ -121,6 +122,7 @@ COMPILATION_TARGETS = {
"GridNamedArea", "GridNamedArea",
"Image", "Image",
"ImageURL", "ImageURL",
"LazyComputeBehavior",
"nsAttrName", "nsAttrName",
"nsAttrValue", "nsAttrValue",
"nsBorderColors", "nsBorderColors",
@ -195,7 +197,7 @@ COMPILATION_TARGETS = {
"ServoAttrSnapshot", "ServoAttrSnapshot",
"ServoElementSnapshot", "ServoElementSnapshot",
"SheetParsingMode", "SheetParsingMode",
"mozilla::Side", "Side",
"StaticRefPtr", "StaticRefPtr",
"StyleAnimation", "StyleAnimation",
"StyleBasicShape", "StyleBasicShape",
@ -237,6 +239,7 @@ COMPILATION_TARGETS = {
"mozilla::Maybe", "mozilla::Maybe",
"gfxSize", # <- union { struct { T width; T height; }; T components[2] }; "gfxSize", # <- union { struct { T width; T height; }; T components[2] };
"gfxSize_Super", # Ditto. "gfxSize_Super", # Ditto.
"mozilla::ErrorResult", # Causes JSWhyMagic to be included & handled incorrectly.
], ],
"manual_fixups": [ "manual_fixups": [
["root::nsString", "::nsstring::nsStringRepr"] ["root::nsString", "::nsstring::nsStringRepr"]