meson: ipa, proxy: Only build proxies for enabled pipelines

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 <niklas.soderlund@ragnatech.se>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Niklas Söderlund 2021-02-17 10:47:07 +01:00
parent 5aff27a20d
commit 08ce394465

View file

@ -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,