diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-02-10 20:58:39 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-21 20:14:50 +0300 |
commit | c3559b24eba76052deb9d4ce79e4704815d902a5 (patch) | |
tree | 900dd0a5b8039e5e7bdd9ad609d9b3ae45d9dbde /staging/adblock/meson.build | |
parent | Add libfuzzer test to libconfiguration (diff) | |
download | smolbote-c3559b24eba76052deb9d4ce79e4704815d902a5.tar.xz |
staging: rewrite AdblockPlus parser yet again
Diffstat (limited to 'staging/adblock/meson.build')
-rw-r--r-- | staging/adblock/meson.build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/staging/adblock/meson.build b/staging/adblock/meson.build new file mode 100644 index 0000000..1fc4c65 --- /dev/null +++ b/staging/adblock/meson.build @@ -0,0 +1,16 @@ +dep_adblockfilter = declare_dependency( + include_directories: include_directories('.'), + link_with: static_library('adblockfilter', + [ 'filterlist.cpp', 'rule.cpp', 'options.cpp' ], + dependencies: dep_qt5 + ) +) + +test('adblockfilter: parser', + executable('adblockfilter-parsefilter', dependencies: [ dep_qt5, dep_gtest, dep_adblockfilter ], + sources: [ 'test/parser.cpp' ] + ), + workdir: meson.current_source_dir() / 'test', + should_fail: true +) + |