summaryrefslogtreecommitdiffstats
path: root/lldb/test/API
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/test/API
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/test/API')
-rw-r--r--lldb/test/API/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/test/API/CMakeLists.txt b/lldb/test/API/CMakeLists.txt
index 1866e31be32..9aec808073e 100644
--- a/lldb/test/API/CMakeLists.txt
+++ b/lldb/test/API/CMakeLists.txt
@@ -107,8 +107,7 @@ endif()
if(CMAKE_HOST_APPLE)
if(LLDB_BUILD_FRAMEWORK)
- get_target_property(framework_build_dir liblldb LIBRARY_OUTPUT_DIRECTORY)
- list(APPEND LLDB_TEST_COMMON_ARGS --framework ${framework_build_dir}/LLDB.framework)
+ list(APPEND LLDB_TEST_COMMON_ARGS --framework ${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/LLDB.framework)
endif()
# Use the same identity for testing
OpenPOWER on IntegriCloud