1hb_view_sources = [ 2 'hb-view.cc', 3 'options.cc', 4 'ansi-print.cc', 5 'helper-cairo.cc', 6 'helper-cairo-ansi.cc', 7 'view-cairo.cc', 8] 9 10hb_shape_sources = [ 11 'hb-shape.cc', 12 'options.cc', 13] 14 15hb_ot_shape_closure_sources = [ 16 'hb-ot-shape-closure.cc', 17 'options.cc', 18] 19 20hb_subset_cli_sources = [ 21 'hb-subset.cc', 22 'options.cc', 23 'options-subset.cc', 24] 25 26util_deps = [freetype_dep, cairo_dep, cairo_ft_dep, glib_dep] 27 28if conf.get('HAVE_GLIB', 0) == 1 29 if conf.get('HAVE_FREETYPE', 0) == 1 and conf.get('HAVE_CAIRO_FT', 0) == 1 30 31 hb_view = executable('hb-view', hb_view_sources, 32 cpp_args: cpp_args, 33 include_directories: [incconfig, incsrc], 34 dependencies: [util_deps, chafa_dep], 35 link_with: [libharfbuzz], 36 install: true, 37 ) 38 endif 39 40 hb_shape = executable('hb-shape', hb_shape_sources, 41 cpp_args: cpp_args, 42 include_directories: [incconfig, incsrc], 43 dependencies: util_deps, 44 link_with: [libharfbuzz], 45 install: true, 46 ) 47 48 hb_subset = executable('hb-subset', hb_subset_cli_sources, 49 cpp_args: cpp_args, 50 include_directories: [incconfig, incsrc], 51 dependencies: util_deps, 52 link_with: [libharfbuzz, libharfbuzz_subset], 53 install: true, 54 ) 55 56 hb_ot_shape_closure = executable('hb-ot-shape-closure', hb_ot_shape_closure_sources, 57 cpp_args: cpp_args, 58 include_directories: [incconfig, incsrc], 59 dependencies: util_deps, 60 link_with: [libharfbuzz], 61 install: true, 62 ) 63else 64 # Disable tests that use this 65 hb_shape = disabler() 66 hb_subset = disabler() 67endif 68