From 08ce394465b5f2e1741145bf653e0da64fd73f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Wed, 17 Feb 2021 10:47:07 +0100 Subject: meson: ipa, proxy: Only build proxies for enabled pipelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All the IPA proxies are build unconditionally consuming unneeded build time and disk space on target. Fix this by only building the proxies for the enabled pipelines. Signed-off-by: Niklas Söderlund Reviewed-by: Paul Elder Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- include/libcamera/ipa/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libcamera/ipa/meson.build b/include/libcamera/ipa/meson.build index fe8aa65b..a4d3f868 100644 --- a/include/libcamera/ipa/meson.build +++ b/include/libcamera/ipa/meson.build @@ -72,6 +72,10 @@ ipa_mojoms = [] foreach file : ipa_mojom_files name = file.split('.')[0] + if not get_option('pipelines').contains(name) + continue + endif + # {pipeline}.mojom-module mojom = custom_target(file.split('.')[0] + '_mojom_module', input : file, -- cgit v1.2.1