Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 1 | add_library( |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame^] | 2 | test_support_lib |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 3 | |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame^] | 4 | STATIC |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 5 | |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame^] | 6 | abi_test.cc |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 7 | file_test.cc |
Adam Langley | f4e4272 | 2015-06-04 17:45:09 -0700 | [diff] [blame] | 8 | malloc.cc |
Kenny Root | b849459 | 2015-09-25 02:29:14 +0000 | [diff] [blame] | 9 | test_util.cc |
Robert Sloan | c6ebb28 | 2018-04-30 10:10:26 -0700 | [diff] [blame] | 10 | wycheproof_util.cc |
Adam Langley | e9ada86 | 2015-05-11 17:20:37 -0700 | [diff] [blame] | 11 | ) |
David Benjamin | f31229b | 2017-01-25 14:08:15 -0500 | [diff] [blame] | 12 | |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame^] | 13 | if (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}) | ||||
17 | endif() | ||||
18 | if(WIN32) | ||||
19 | target_link_libraries(test_support_lib dbghelp) | ||||
20 | endif() | ||||
21 | add_dependencies(test_support_lib global_target) | ||||
Robert Sloan | 726e9d1 | 2018-09-11 11:45:04 -0700 | [diff] [blame] | 22 | |
David Benjamin | f31229b | 2017-01-25 14:08:15 -0500 | [diff] [blame] | 23 | add_library( |
Robert Sloan | a450c92 | 2018-01-08 10:35:32 -0800 | [diff] [blame] | 24 | boringssl_gtest_main |
David Benjamin | f31229b | 2017-01-25 14:08:15 -0500 | [diff] [blame] | 25 | |
26 | OBJECT | ||||
27 | |||||
28 | gtest_main.cc | ||||
29 | ) | ||||
Robert Sloan | 726e9d1 | 2018-09-11 11:45:04 -0700 | [diff] [blame] | 30 | |
31 | add_dependencies(boringssl_gtest_main global_target) |