Directly assign PrimitiveConversions.h to the generated binding...

master
Fedor 2020-03-12 20:42:20 +03:00
parent c2662594d0
commit 052cbebbef
1 changed files with 6 additions and 0 deletions

View File

@ -1109,6 +1109,12 @@ class CGHeaders(CGWrapper):
# Now find all the things we'll need as arguments because we
# need to wrap or unwrap them.
bindingHeaders = set()
# KeyframeAnimationOptions.webidl is doing something VERY screwy and
# Unified Building really sucks so directly include this
if prefix == "KeyframeAnimationOptionsBinding":
bindingHeaders.add("mozilla/dom/PrimitiveConversions.h")
declareIncludes = set(declareIncludes)
def addHeadersForType((t, dictionary)):