projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c6dae
)
Add an accessor to get the value of RC_PLATFORM_NAME at build time
author
Enrico Granata
<egranata@apple.com>
Fri, 23 Sep 2016 22:30:08 +0000
(22:30 +0000)
committer
Enrico Granata
<egranata@apple.com>
Fri, 23 Sep 2016 22:30:08 +0000
(22:30 +0000)
llvm-svn: 282310
lldb/scripts/Xcode/lldbbuild.py
patch
|
blob
|
history
diff --git
a/lldb/scripts/Xcode/lldbbuild.py
b/lldb/scripts/Xcode/lldbbuild.py
index
2924c0e
..
8496cfa
100644
(file)
--- a/
lldb/scripts/Xcode/lldbbuild.py
+++ b/
lldb/scripts/Xcode/lldbbuild.py
@@
-42,6
+42,9
@@
def is_host_build():
def rc_release_target():
return os.environ.get('RC_RELEASE', '')
+def rc_platform_name():
+ return os.environ.get('RC_PLATFORM_NAME', 'macOS')
+
def architecture():
if is_host_build(): return 'macosx'
platform_name = os.environ.get('RC_PLATFORM_NAME')