diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2022-06-24 06:44:30 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2022-12-28 13:22:00 +1030 |
commit | 8233c6362bbe2ca2ac4d3ef3cfc79f15ee79bc40 (patch) | |
tree | f2779a6d844d210af9b1b306a800d497150a1ad9 /test/meson.build | |
parent | 252ff60f1ee62c5b36d650b91ac2536d03656bea (diff) | |
download | cairo-8233c6362bbe2ca2ac4d3ef3cfc79f15ee79bc40.tar.gz |
ft-svg-render test
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build index 3071ac6ca..3606bfc27 100644 --- a/test/meson.build +++ b/test/meson.build @@ -431,6 +431,7 @@ test_ft_svg_font_sources = [ test_ft_svg_ttx_font_sources = [ 'ft-svg-cairo-logo.c', + 'ft-svg-render.c' ] test_gl_sources = [ @@ -525,6 +526,13 @@ ps2png_sources = [ test_ttx_fonts = [ 'cairo-logo-font.ttx', + 'cairo-svg-test-doc.ttx', + 'cairo-svg-test-fill.ttx', + 'cairo-svg-test-gradient.ttx', + 'cairo-svg-test-path.ttx', + 'cairo-svg-test-shapes.ttx', + 'cairo-svg-test-stroke.ttx', + 'cairo-svg-test-transform.ttx', ] build_any2ppm = false @@ -681,3 +689,9 @@ test('cairo', exe, suite: ['cairo-test-suite', 'slow'], workdir: meson.current_build_dir(), depends: test_depends) + +# The SVG renderer debug tools can only be built if the _cairo_debug_svg_render() +# function has been exposed by defining DEBUG_SVG_RENDER +if conf.get('HAVE_FT_SVG_DOCUMENT', 0) == 1 and cc.get_define('DEBUG_SVG_RENDER') != '' + subdir('svg') +endif |