firefox: add patch to fix GenerateCSS{PropsGenerated,2PropertiesWebIDL}.py

This commit is contained in:
Duncaen 2017-01-24 03:15:35 +01:00
parent ecf75b7527
commit f0722b1292
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
reverted from https://hg.mozilla.org/mozilla-central/rev/aa63a2a40325
--- dom/bindings/GenerateCSS2PropertiesWebIDL.py.orig
+++ dom/bindings/GenerateCSS2PropertiesWebIDL.py
@@ -16,7 +16,7 @@
return " [%s] attribute DOMString %s;\n" % (", ".join(extendedAttrs),
propName)
def generate(output, idlFilename, preprocessorHeader):
- cpp = list(buildconfig.substs['CPP'])
+ cpp = shellutil.split(buildconfig.substs['CPP'])
cpp += shellutil.split(buildconfig.substs['ACDEFINES'])
cpp.append(preprocessorHeader)
preprocessed = subprocess.check_output(cpp)
--- layout/style/GenerateCSSPropsGenerated.py.orig
+++ layout/style/GenerateCSSPropsGenerated.py
@@ -10,7 +10,7 @@
from mozbuild import shellutil
def get_properties(preprocessorHeader):
- cpp = list(buildconfig.substs['CPP'])
+ cpp = shellutil.split(buildconfig.substs['CPP'])
cpp += shellutil.split(buildconfig.substs['ACDEFINES'])
cpp.append(preprocessorHeader)
preprocessed = subprocess.check_output(cpp)