1add_library(
2  test_support_lib
3
4  STATIC
5
6  abi_test.cc
7  file_test.cc
8  malloc.cc
9  test_util.cc
10  wycheproof_util.cc
11)
12
13if (LIBUNWIND_FOUND)
14  target_compile_options(test_support_lib PRIVATE ${LIBUNWIND_CFLAGS_OTHER})
15  target_include_directories(test_support_lib PRIVATE ${LIBUNWIND_INCLUDE_DIRS})
16  target_link_libraries(test_support_lib ${LIBUNWIND_LDFLAGS})
17endif()
18if(WIN32)
19  target_link_libraries(test_support_lib dbghelp)
20endif()
21add_dependencies(test_support_lib global_target)
22
23add_library(
24  boringssl_gtest_main
25
26  OBJECT
27
28  gtest_main.cc
29)
30
31add_dependencies(boringssl_gtest_main global_target)
32