summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-08-15 14:38:02 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-16 15:29:34 +0200
commit63a2f896ccfcbba8e311812e221c9553533f10da (patch)
tree3650f05acf419e0a3f4f9479667876c3a85e8402 /scripts
parent51391740bf324fd7131f069d1d2d106113560df3 (diff)
downloadqtlocation-mapboxgl-63a2f896ccfcbba8e311812e221c9553533f10da.tar.gz
[build] remove unused script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/export-xcconfig.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/export-xcconfig.py b/scripts/export-xcconfig.py
deleted file mode 100755
index 75fe933e24..0000000000
--- a/scripts/export-xcconfig.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python
-
-import sys, ast, re
-
-ILLEGAL_CHAR_RE = re.compile(r"\W")
-
-def main():
- with open(sys.argv[1], "r") as in_file, open(sys.argv[2], "w") as out_file:
- config = ast.literal_eval(in_file.read())
- variables = ["// Do not edit -- generated by export-xcconfig.py\n"]
- assert(type(config) is dict)
- assert(type(config["variables"]) is dict)
- for variable, flags in config["variables"].iteritems():
- variable = ILLEGAL_CHAR_RE.sub("_", variable.rstrip("%"))
- flags = " ".join('"%s"' % flag for flag in flags)
- variables.append("%s = %s\n" % (variable, flags))
- out_file.writelines(variables)
-
-if __name__ == '__main__':
- main()