| OLD | NEW |
| 1 project('adblockpluscore', 'cpp', license: ['GPL3'], meson_version: '>0.40.0') | 1 project('adblockpluscore', 'cpp', license: ['GPL3'], meson_version: '>0.40.0') |
| 2 | 2 |
| 3 native = get_option('native') | 3 native = get_option('native') |
| 4 if native | 4 if native |
| 5 target_type='native' | 5 target_type='native' |
| 6 else | 6 else |
| 7 target_type='js' | 7 target_type='js' |
| 8 endif | 8 endif |
| 9 asan = get_option('asan') | 9 asan = get_option('asan') |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 ['NO_EXIT_RUNTIME', 1], | 80 ['NO_EXIT_RUNTIME', 1], |
| 81 ['NO_DYNAMIC_EXECUTION', 1], | 81 ['NO_DYNAMIC_EXECUTION', 1], |
| 82 ['NO_FILESYSTEM', 1], | 82 ['NO_FILESYSTEM', 1], |
| 83 ['INVOKE_RUN', 0], | 83 ['INVOKE_RUN', 0], |
| 84 ['TEXTDECODER', 0], | 84 ['TEXTDECODER', 0], |
| 85 ['EXPORTED_RUNTIME_METHODS', '["cwrap", "ccall", "stringToAscii"]'] | 85 ['EXPORTED_RUNTIME_METHODS', '["cwrap", "ccall", "stringToAscii"]'] |
| 86 ] | 86 ] |
| 87 | 87 |
| 88 | 88 |
| 89 shared_sources = [ | 89 shared_sources = [ |
| 90 'compiled/String.cpp', |
| 90 'compiled/bindings/runtime_utils.cpp', | 91 'compiled/bindings/runtime_utils.cpp', |
| 91 'compiled/filter/ActiveFilter.cpp', | 92 'compiled/filter/ActiveFilter.cpp', |
| 92 'compiled/filter/BlockingFilter.cpp', | 93 'compiled/filter/BlockingFilter.cpp', |
| 93 'compiled/filter/CommentFilter.cpp', | 94 'compiled/filter/CommentFilter.cpp', |
| 94 'compiled/filter/ElemHideBase.cpp', | 95 'compiled/filter/ElemHideBase.cpp', |
| 95 'compiled/filter/ElemHideEmulationFilter.cpp', | 96 'compiled/filter/ElemHideEmulationFilter.cpp', |
| 96 'compiled/filter/ElemHideException.cpp', | 97 'compiled/filter/ElemHideException.cpp', |
| 97 'compiled/filter/ElemHideFilter.cpp', | 98 'compiled/filter/ElemHideFilter.cpp', |
| 98 'compiled/filter/Filter.cpp', | 99 'compiled/filter/Filter.cpp', |
| 99 'compiled/filter/InvalidFilter.cpp', | 100 'compiled/filter/InvalidFilter.cpp', |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 ], | 244 ], |
| 244 cpp_args: GTEST_PARAMS) | 245 cpp_args: GTEST_PARAMS) |
| 245 abptest = executable('abptest', test_sources, | 246 abptest = executable('abptest', test_sources, |
| 246 cpp_args: compiler_args + ['-DINSIDE_TESTS'], | 247 cpp_args: compiler_args + ['-DINSIDE_TESTS'], |
| 247 include_directories: include_directories(join_paths(GTEST
_DIR, 'include')), | 248 include_directories: include_directories(join_paths(GTEST
_DIR, 'include')), |
| 248 link_args: LINK_PARAMS, | 249 link_args: LINK_PARAMS, |
| 249 link_with: [ adblockpluscore, gtest ]) | 250 link_with: [ adblockpluscore, gtest ]) |
| 250 test('abptest', abptest) | 251 test('abptest', abptest) |
| 251 endif | 252 endif |
| 252 | 253 |
| OLD | NEW |