Bug 1284169 - include ACDEFINES flags in CSS properties PyGen r=mshal

MozReview-Commit-ID: 6fBTizGkBqG
This commit is contained in:
Astley Chen
2016-07-04 13:48:54 +08:00
parent c7ce5078db
commit ab516e6373
2 changed files with 2 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ from mozbuild import shellutil
def get_properties(preprocessorHeader):
cpp = shellutil.split(buildconfig.substs['CPP'])
cpp += shellutil.split(buildconfig.substs['ACDEFINES'])
cpp.append(preprocessorHeader)
preprocessed = subprocess.check_output(cpp)
properties = [{"name":p[0], "prop":p[1], "id":p[2],