libcamera/include/libcamera
Naushir Patuck 2ec7f2fede build: ipa: Fix bug in building multiple IPA interfaces with the same mojom file
In the existing meson scripts, an IPA mojom interface file may not be
built if:

- There are duplicate entries for the mojom file shared by different
  pipeline handlers in pipeline_ipa_mojom_mapping, and
- The IPA is not listed first in pipeline_ipa_mojom_mapping, and
- The first listed IPA for the given mojom file is not selected in the
  build.

Fix this by using a separate list of already built mojom files
(mojoms_built) instead of overloading use of the existing
ipa_mojom_files list.  Now, ipa_mojom_files gets filled in outside of
the IPA list enumeration loop, this also guarantees the IPA
documentation gets built even if the pipeline is not selected.

Fixes: 312e9910ba ("meson: ipa: Add mapping for pipeline handler to mojom interface file")
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2023-10-18 11:01:23 +01:00
..
base meson: Fix space around colon issues 2023-07-07 11:39:19 +03:00
internal libcamera: camera_sensor: Support SensorConfiguration 2023-09-27 14:39:22 +03:00
ipa build: ipa: Fix bug in building multiple IPA interfaces with the same mojom file 2023-10-18 11:01:23 +01:00
camera.h libcamera: camera: Introduce SensorConfiguration 2023-09-27 14:35:42 +03:00
camera_manager.h libcamera: CameraManager: Remove ::get(dev_t) 2023-07-11 15:19:13 +01:00
color_space.h libcamera: color_space: Move color space adjustment to ColorSpace class 2022-09-01 16:49:59 +05:30
control_ids.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00
controls.h libcamera: controls: Construct Span with size for array controls 2022-10-07 18:28:13 +03:00
fence.h libcamera: fence: Introduce Fence 2021-12-11 17:53:40 +01:00
formats.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00
framebuffer.h libcamera: framebuffer: Allow inheritance of FrameBuffer 2023-02-10 00:47:41 +02:00
framebuffer_allocator.h libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00
geometry.h libcamera: geometry: Add missing ostream header in geometry.h 2022-05-04 14:11:29 +03:00
logging.h libcamera: base: log: Add coloring to the log output 2022-06-06 15:09:42 +03:00
meson.build libcamera: Add ColorSpace class 2021-12-13 11:29:01 +02:00
pixel_format.h libcamera: Add operator<<() for pixel format classes 2022-05-04 14:11:30 +03:00
property_ids.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00
request.h libcamera: request: Add operator<<() 2022-06-05 14:48:08 +02:00
stream.h libcamera: Remove StreamRoles alias 2023-07-04 22:56:38 +01:00
transform.h raspberrypi: Update Copyright statement in all Raspberry Pi source files 2022-07-27 18:12:15 +03:00
version.h.in libcamera: Convert to pragma once 2021-11-24 12:17:35 +00:00