From 903d6a1f1418a20094af53200a9da45214c1b6af Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sun, 2 Aug 2020 11:40:47 +0430 Subject: [PATCH] [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. --- perf/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/meson.build b/perf/meson.build index 56a399540..e12744c4d 100644 --- a/perf/meson.build +++ b/perf/meson.build @@ -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