summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-10-30 10:33:05 -0700
committerHaibo Huang <hhb@google.com>2019-11-06 14:05:35 -0800
commit77a60f0df673074a2c9276498f95a9eaadeece56 (patch)
treedd0ffd1a33f89e2feb08f8652699615eaca1e931 /lldb/tools/debugserver
parent9bfa5ab3d1982a7cef60ee00b935f4ddc89fc98e (diff)
downloadbcm5719-llvm-77a60f0df673074a2c9276498f95a9eaadeece56.tar.gz
bcm5719-llvm-77a60f0df673074a2c9276498f95a9eaadeece56.zip
[lldb] Record framework build path and use it everywhere
This avoids config time dependencies on liblldb. And enables other refactoring.
Diffstat (limited to 'lldb/tools/debugserver')
-rw-r--r--lldb/tools/debugserver/source/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/CMakeLists.txt b/lldb/tools/debugserver/source/CMakeLists.txt
index 9c592215587..a7d789dd9e1 100644
--- a/lldb/tools/debugserver/source/CMakeLists.txt
+++ b/lldb/tools/debugserver/source/CMakeLists.txt
@@ -219,8 +219,7 @@ if (debugserver_codesign_identity AND LLDB_BUILD_FRAMEWORK AND
set(pass_entitlements --entitlements ${entitlements})
endif()
- get_target_property(framework_build_dir liblldb LIBRARY_OUTPUT_DIRECTORY)
- set(copy_location ${framework_build_dir}/LLDB.framework/Versions/${LLDB_FRAMEWORK_VERSION}/Resources/debugserver)
+ set(copy_location ${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/LLDB.framework/Versions/${LLDB_FRAMEWORK_VERSION}/Resources/debugserver)
add_custom_command(TARGET debugserver POST_BUILD
COMMAND ${CMAKE_COMMAND} -E
OpenPOWER on IntegriCloud