1*2d1272b8SAndroid Build Coastguard Worker# HarfBuzz feature options 2*2d1272b8SAndroid Build Coastguard Workeroption('glib', type: 'feature', value: 'auto', 3*2d1272b8SAndroid Build Coastguard Worker description: 'Enable GLib unicode functions') 4*2d1272b8SAndroid Build Coastguard Workeroption('gobject', type: 'feature', value: 'auto', 5*2d1272b8SAndroid Build Coastguard Worker description: 'Enable GObject bindings') 6*2d1272b8SAndroid Build Coastguard Workeroption('cairo', type: 'feature', value: 'auto', 7*2d1272b8SAndroid Build Coastguard Worker description: 'Use Cairo graphics library') 8*2d1272b8SAndroid Build Coastguard Workeroption('chafa', type: 'feature', value: 'auto', 9*2d1272b8SAndroid Build Coastguard Worker description: 'Use Chafa terminal graphics library') 10*2d1272b8SAndroid Build Coastguard Workeroption('icu', type: 'feature', value: 'auto', 11*2d1272b8SAndroid Build Coastguard Worker description: 'Enable ICU library unicode functions') 12*2d1272b8SAndroid Build Coastguard Workeroption('graphite', type: 'feature', value: 'disabled', 13*2d1272b8SAndroid Build Coastguard Worker description: 'Deprecated use graphite2 option instead') 14*2d1272b8SAndroid Build Coastguard Workeroption('graphite2', type: 'feature', value: 'disabled', 15*2d1272b8SAndroid Build Coastguard Worker description: 'Enable Graphite2 complementary shaper') 16*2d1272b8SAndroid Build Coastguard Workeroption('freetype', type: 'feature', value: 'auto', 17*2d1272b8SAndroid Build Coastguard Worker description: 'Enable freetype interop helpers') 18*2d1272b8SAndroid Build Coastguard Workeroption('gdi', type: 'feature', value: 'disabled', 19*2d1272b8SAndroid Build Coastguard Worker description: 'Enable GDI helpers and Uniscribe shaper backend (Windows only)') 20*2d1272b8SAndroid Build Coastguard Workeroption('directwrite', type: 'feature', value: 'disabled', 21*2d1272b8SAndroid Build Coastguard Worker description: 'Enable DirectWrite shaper backend on Windows (experimental)') 22*2d1272b8SAndroid Build Coastguard Workeroption('coretext', type: 'feature', value: 'disabled', 23*2d1272b8SAndroid Build Coastguard Worker description: 'Enable CoreText shaper backend on macOS') 24*2d1272b8SAndroid Build Coastguard Workeroption('wasm', type: 'feature', value: 'disabled', 25*2d1272b8SAndroid Build Coastguard Worker description: 'Enable WebAssembly shaper backend (experimental)') 26*2d1272b8SAndroid Build Coastguard Worker 27*2d1272b8SAndroid Build Coastguard Worker# Common feature options 28*2d1272b8SAndroid Build Coastguard Workeroption('tests', type: 'feature', value: 'enabled', yield: true, 29*2d1272b8SAndroid Build Coastguard Worker description: 'Enable or disable unit tests') 30*2d1272b8SAndroid Build Coastguard Workeroption('introspection', type: 'feature', value: 'auto', yield: true, 31*2d1272b8SAndroid Build Coastguard Worker description: 'Generate gobject-introspection bindings (.gir/.typelib files)') 32*2d1272b8SAndroid Build Coastguard Workeroption('docs', type: 'feature', value: 'auto', yield: true, 33*2d1272b8SAndroid Build Coastguard Worker description: 'Generate documentation with gtk-doc') 34*2d1272b8SAndroid Build Coastguard Workeroption('doc_tests', type: 'boolean', value: false, 35*2d1272b8SAndroid Build Coastguard Worker description: 'Run gtkdoc-check tests') 36*2d1272b8SAndroid Build Coastguard Workeroption('utilities', type: 'feature', value: 'enabled', yield: true, 37*2d1272b8SAndroid Build Coastguard Worker description: 'Build harfbuzz utils') 38*2d1272b8SAndroid Build Coastguard Worker 39*2d1272b8SAndroid Build Coastguard Workeroption('benchmark', type: 'feature', value: 'disabled', 40*2d1272b8SAndroid Build Coastguard Worker description: 'Enable benchmark tests') 41*2d1272b8SAndroid Build Coastguard Workeroption('icu_builtin', type: 'boolean', value: false, 42*2d1272b8SAndroid Build Coastguard Worker description: 'Don\'t separate ICU support as harfbuzz-icu module') 43*2d1272b8SAndroid Build Coastguard Workeroption('with_libstdcxx', type: 'boolean', value: false, 44*2d1272b8SAndroid Build Coastguard Worker description: 'Allow linking with libstdc++') 45*2d1272b8SAndroid Build Coastguard Workeroption('experimental_api', type: 'boolean', value: false, 46*2d1272b8SAndroid Build Coastguard Worker description: 'Enable experimental APIs') 47*2d1272b8SAndroid Build Coastguard Workeroption('ragel_subproject', type: 'boolean', value: false, 48*2d1272b8SAndroid Build Coastguard Worker description: 'Build Ragel subproject if no suitable version is found') 49*2d1272b8SAndroid Build Coastguard Workeroption('fuzzer_ldflags', type: 'string', 50*2d1272b8SAndroid Build Coastguard Worker description: 'Extra LDFLAGS used during linking of fuzzing binaries') 51*2d1272b8SAndroid Build Coastguard Worker 52*2d1272b8SAndroid Build Coastguard Worker# Install directory options 53*2d1272b8SAndroid Build Coastguard Workeroption('cmakepackagedir', type: 'string', 54*2d1272b8SAndroid Build Coastguard Worker description: 'CMake package configuration install directory') 55