This is an automated email from the ASF dual-hosted git repository.

jvanderzee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new bdb866055d Remove inkevent dependency from records (#11453)
bdb866055d is described below

commit bdb866055d932edbbf3f8c0b1bd0aacb88df8392
Author: JosiahWI <[email protected]>
AuthorDate: Mon Jun 17 10:25:21 2024 -0500

    Remove inkevent dependency from records (#11453)
    
    There is no real dependency anymore - we do not need to link inkevent
    into records.
---
 src/proxy/logging/CMakeLists.txt | 4 ++--
 src/records/CMakeLists.txt       | 8 +++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/proxy/logging/CMakeLists.txt b/src/proxy/logging/CMakeLists.txt
index 83d5c68502..8c94043b0b 100644
--- a/src/proxy/logging/CMakeLists.txt
+++ b/src/proxy/logging/CMakeLists.txt
@@ -41,12 +41,12 @@ target_link_libraries(logging PUBLIC ts::inkevent 
ts::inkutils ts::http ts::hdrs
 if(BUILD_TESTING)
   add_executable(test_LogUtils LogUtils.cc unit-tests/test_LogUtils.cc)
   target_compile_definitions(test_LogUtils PRIVATE TEST_LOG_UTILS)
-  target_link_libraries(test_LogUtils tscore records catch2::catch2)
+  target_link_libraries(test_LogUtils tscore ts::inkevent records 
catch2::catch2)
   add_test(NAME test_LogUtils COMMAND test_LogUtils)
 
   add_executable(test_RolledLogDeleter LogUtils.cc RolledLogDeleter.cc 
unit-tests/test_LogUtils.cc)
   target_compile_definitions(test_RolledLogDeleter PRIVATE TEST_LOG_UTILS)
-  target_link_libraries(test_RolledLogDeleter tscore records catch2::catch2)
+  target_link_libraries(test_RolledLogDeleter tscore ts::inkevent records 
catch2::catch2)
   add_test(NAME test_RolledLogDeleter COMMAND test_RolledLogDeleter)
 endif()
 
diff --git a/src/records/CMakeLists.txt b/src/records/CMakeLists.txt
index 17ea54e79f..a06cdf74df 100644
--- a/src/records/CMakeLists.txt
+++ b/src/records/CMakeLists.txt
@@ -35,17 +35,19 @@ add_library(ts::records ALIAS records)
 
 target_link_libraries(
   records
-  PUBLIC ts::inkevent ts::tscore yaml-cpp::yaml-cpp
+  PUBLIC ts::tscore yaml-cpp::yaml-cpp
   PRIVATE ts::tsutil
 )
 
 if(BUILD_TESTING)
   add_executable(test_records unit_tests/unit_test_main.cc 
unit_tests/test_RecHttp.cc)
-  target_link_libraries(test_records PRIVATE records catch2::catch2 tscore 
libswoc::libswoc)
+  target_link_libraries(test_records PRIVATE records catch2::catch2 ts::tscore 
libswoc::libswoc)
   add_test(NAME test_records COMMAND test_records)
 
   add_executable(test_records_on_eventsystem 
unit_tests/unit_test_main_on_eventsystem.cc)
-  target_link_libraries(test_records_on_eventsystem PRIVATE records 
catch2::catch2 tscore libswoc::libswoc)
+  target_link_libraries(
+    test_records_on_eventsystem PRIVATE records catch2::catch2 ts::inkevent 
ts::tscore libswoc::libswoc
+  )
   add_test(NAME test_records_on_eventsystem COMMAND 
test_records_on_eventsystem)
 endif()
 

Reply via email to