diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-08 23:37:52 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-06-22 13:54:01 -0400 |
commit | 8d4119b01c3615506b2ae70c8a182d06b0868ca9 (patch) | |
tree | 9321e452f63f61d67d7db74f24997e4e4b4dd0a7 /tests | |
parent | 037e74f9600352dc6795eb9e0231c588a496ffcf (diff) | |
download | pango-8d4119b01c3615506b2ae70c8a182d06b0868ca9.tar.gz |
Clean up build machinery
Drop a lot of the madness.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/meson.build | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/tests/meson.build b/tests/meson.build index 162d55f2..c63113b7 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -24,12 +24,7 @@ tests = [ [ 'testtabs' ], ] -if build_pangoft2 - test_cflags += '-DHAVE_FREETYPE' -endif - if cairo_dep.found() - test_cflags += '-DHAVE_CAIRO' tests += [ [ 'test-bidi', [ 'test-bidi.c' ] ], [ 'testcontext', [ 'testcontext.c' ] ], @@ -45,11 +40,10 @@ if cairo_dep.found() [ 'testmisc', [ 'testmisc.c' ] ], ] - if build_pangoft2 - tests += [ - [ 'testserialize', [ 'testserialize.c' ] ], - [ 'testhbfont', [ 'testhbfont.c' ] ], - ] + tests += [ + [ 'testserialize', [ 'testserialize.c' ] ], + [ 'testhbfont', [ 'testhbfont.c' ] ], + ] if host_system != 'darwin' tests += [ @@ -57,7 +51,6 @@ if cairo_dep.found() [ 'test-fonts', [ 'test-fonts.c', 'test-common.c' ] ], ] endif - endif if host_system != 'darwin' tests += [ @@ -65,7 +58,7 @@ if cairo_dep.found() ] endif - if pango_cairo_backends.contains('png') + if cairo_dep.found() tests += [ [ 'test-pangocairo-threads', [ 'test-pangocairo-threads.c' ] ], ] |