summaryrefslogtreecommitdiff
path: root/Source/WebCore/make-file-arrays.py
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-07-30 11:37:48 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-07-30 11:38:52 +0200
commit89e2486a48b739f8d771d69ede5a6a1b244a10fc (patch)
tree503b1a7812cf97d93704c32437eb5f62dc1a1ff9 /Source/WebCore/make-file-arrays.py
parent625f028249cb37c55bbbd153f3902afd0b0756d9 (diff)
downloadqtwebkit-89e2486a48b739f8d771d69ede5a6a1b244a10fc.tar.gz
Imported WebKit commit 0282df8ca7c11d8c8a66ea18543695c69f545a27 (http://svn.webkit.org/repository/webkit/trunk@124002)
New snapshot with prospective Mountain Lion build fix
Diffstat (limited to 'Source/WebCore/make-file-arrays.py')
-rwxr-xr-xSource/WebCore/make-file-arrays.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/make-file-arrays.py b/Source/WebCore/make-file-arrays.py
index ece706b86..2007cc52d 100755
--- a/Source/WebCore/make-file-arrays.py
+++ b/Source/WebCore/make-file-arrays.py
@@ -88,6 +88,9 @@ def main():
if not options.out_cpp:
parser.error("Need to specify --out-cpp=filename")
+ if options.flag:
+ options.flag = options.flag.replace(" AND ", " && ")
+
header_file = open(options.out_header, "w")
if options.flag:
header_file.write("#if " + options.flag + "\n")