summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/package-clang-headers.py
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-11-05 23:42:18 +0000
committerJason Molenda <jmolenda@apple.com>2015-11-05 23:42:18 +0000
commit8ee4bff5edbfe8bc11e74237e0a55a4b88234175 (patch)
tree854eee0901b36dec76d22d336b6aa0deea524d6a /lldb/scripts/package-clang-headers.py
parent519dc14603bb4222ef2a7514af8f1776baffba36 (diff)
downloadbcm5719-llvm-8ee4bff5edbfe8bc11e74237e0a55a4b88234175.tar.gz
bcm5719-llvm-8ee4bff5edbfe8bc11e74237e0a55a4b88234175.zip
Update for tvos or watchos builds.
llvm-svn: 252234
Diffstat (limited to 'lldb/scripts/package-clang-headers.py')
-rw-r--r--lldb/scripts/package-clang-headers.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/package-clang-headers.py b/lldb/scripts/package-clang-headers.py
index e1209559e03..b28ad0d343e 100644
--- a/lldb/scripts/package-clang-headers.py
+++ b/lldb/scripts/package-clang-headers.py
@@ -29,6 +29,12 @@ if not os.path.isdir(llvm_build_dir):
llvm_build_dir = re.sub ("-macosx-", "-iphoneos-", llvm_build_dir)
if not os.path.isdir(llvm_build_dir):
+ llvm_build_dir = re.sub ("-iphoneos-", "-appletvos-", llvm_build_dir)
+
+if not os.path.isdir(llvm_build_dir):
+ llvm_build_dir = re.sub ("-appletvos-", "-watchos-", llvm_build_dir)
+
+if not os.path.isdir(llvm_build_dir):
print llvm_build_dir + " doesn't exist"
sys.exit(1)
OpenPOWER on IntegriCloud