diff options
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/scripts/Xcode/lldbbuild.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lldb/scripts/Xcode/lldbbuild.py b/lldb/scripts/Xcode/lldbbuild.py index bfe8951461c..2924c0ec857 100644 --- a/lldb/scripts/Xcode/lldbbuild.py +++ b/lldb/scripts/Xcode/lldbbuild.py @@ -33,11 +33,17 @@ def archives_txt(): def expected_package_build_path(): return os.path.abspath(os.path.join(expected_llvm_build_path(), "..")) - -def architecture(): +def is_host_build(): rc_project_name = os.environ.get('RC_ProjectName') if rc_project_name: - if rc_project_name == 'lldb_host': return 'macosx' + if rc_project_name == 'lldb_host': return True + return False + +def rc_release_target(): + return os.environ.get('RC_RELEASE', '') + +def architecture(): + if is_host_build(): return 'macosx' platform_name = os.environ.get('RC_PLATFORM_NAME') if not platform_name: platform_name = os.environ.get('PLATFORM_NAME') |