diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-02-17 10:47:07 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-02-18 18:42:07 +0100 |
commit | 08ce394465b5f2e1741145bf653e0da64fd73f07 (patch) | |
tree | 958b6c2ccb52f9a25f3341626e422f5b1ca8ce6d | |
parent | 5aff27a20d718b05d20b9ce63d8b02a0b3bf9cb9 (diff) |
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>
-rw-r--r-- | include/libcamera/ipa/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
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, |