[perf] Enable ttf-parser build just with experimental_api
ttf-parser API is subject to breaking change and we are interested on its hb-draw like API so let's hide it more.
This commit is contained in:
parent
cdb7d2b9bc
commit
903d6a1f14
|
@ -2,7 +2,7 @@ google_benchmark = subproject('google-benchmark')
|
|||
google_benchmark_dep = google_benchmark.get_variable('google_benchmark_dep')
|
||||
|
||||
ttf_parser_dep = null_dep
|
||||
if add_languages('rust', required: false, native: true)
|
||||
if get_option('experimental_api') and add_languages('rust', required: false, native: true)
|
||||
ttf_parser_dep = subproject('ttf-parser').get_variable('ttf_parser_dep')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue