Index: meson.build |
=================================================================== |
--- a/meson.build |
+++ b/meson.build |
@@ -214,15 +214,15 @@ |
link_args: LINK_PARAMS) |
gtest = static_library('gtest', files(join_paths(GTEST_DIR, 'src', 'gtest-all.cc')), |
include_directories: [ |
include_directories(join_paths(GTEST_DIR, 'include'), is_system: true), |
include_directories(GTEST_DIR) |
], |
cpp_args: GTEST_PARAMS) |
abptest = executable('abptest', test_sources, |
- cpp_args: ADDITIONAL_PARAMS + CORE_PARAMS, |
+ cpp_args: ADDITIONAL_PARAMS + CORE_PARAMS + ['-DINSIDE_TESTS'], |
include_directories: include_directories(join_paths(GTEST_DIR, 'include')), |
link_args: LINK_PARAMS, |
link_with: [ adblockpluscore, gtest ]) |
test('abptest', abptest) |
endif |