From 195ac67c9dec2b6075ce23e755885f5f2e5f9b01 Mon Sep 17 00:00:00 2001 From: Wiktor Garbacz Date: Wed, 6 Jan 2021 02:34:28 -0800 Subject: [PATCH] Fix dependencies in CMake build PiperOrigin-RevId: 350313683 Change-Id: I133594e930cd3a710b6053de64bc94894d872241 --- sandboxed_api/sandbox2/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sandboxed_api/sandbox2/CMakeLists.txt b/sandboxed_api/sandbox2/CMakeLists.txt index 954b9a4..57f9d53 100644 --- a/sandboxed_api/sandbox2/CMakeLists.txt +++ b/sandboxed_api/sandbox2/CMakeLists.txt @@ -127,11 +127,11 @@ add_library(sandbox2_logsink ${SAPI_LIB_TYPE} add_library(sandbox2::logsink ALIAS sandbox2_logsink) target_link_libraries(sandbox2_logsink PRIVATE absl::strings - absl::synchronization sandbox2::comms sandbox2::logserver_proto sapi::base - PUBLIC glog::glog + PUBLIC absl::synchronization + glog::glog ) # sandboxed_api/sandbox2:ipc @@ -352,17 +352,16 @@ add_library(sandbox2_client ${SAPI_LIB_TYPE} add_library(sandbox2::client ALIAS sandbox2_client) target_link_libraries(sandbox2_client PRIVATE absl::core_headers - absl::flat_hash_map absl::memory absl::strings - sandbox2::logsink - sandbox2::network_proxy_client sandbox2::sanitizer sandbox2::strerror sapi::base sapi::raw_logging - PUBLIC glog::glog + PUBLIC absl::flat_hash_map sandbox2::comms + sandbox2::logsink + sandbox2::network_proxy_client ) # sandboxed_api/sandbox2:sanitizer @@ -379,7 +378,6 @@ target_link_libraries(sandbox2_sanitizer sandbox2::strerror sapi::base sapi::raw_logging - PUBLIC glog::glog ) # sandboxed_api/sandbox2:forkserver @@ -483,10 +481,12 @@ add_library(sandbox2_forkingclient ${SAPI_LIB_TYPE} add_library(sandbox2::forkingclient ALIAS sandbox2_forkingclient) target_link_libraries(sandbox2_forkingclient PRIVATE absl::memory - sandbox2::forkserver + glog::glog sandbox2::sanitizer sapi::base PUBLIC sandbox2::client + sandbox2::comms + sandbox2::forkserver ) # sandboxed_api/sandbox2:util