summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-05 02:01:05 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-07 17:57:20 +0300
commit186d75b10ccbfd3ae00a00040c701aacf724c91e (patch)
treeeb51c5def7cd12b0029e58881bfc49d512bafac3 /src
parent29316a66932ecd5c933994a1ab4385eb3f4ecbdd (diff)
libcamera: Consolidate all IPA headers in libcamera_ipa_headers
The IPA headers are listed in two different meson variables, one for generated headers, and one for the other headers. There's no real reason for this split, consolidate all of them in the libcamera_ipa_headers variable. While at it, don't add the IPA headers to the libcamera_internal_sources variable, but list libcamera_ipa_headers in the sources for the shared library. This moves the libcamera_internal_sources variable towards holding source files, not header files, to improve clarity of the build system. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 61a97c73..86e8b88c 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -55,7 +55,6 @@ libcamera_internal_sources = files([
])
libcamera_public_sources += libcamera_public_headers
-libcamera_internal_sources += libcamera_generated_ipa_headers
libcamera_internal_sources += libcamera_tracepoint_header
includes = [
@@ -196,6 +195,7 @@ libcamera_deps += [
libcamera = shared_library('libcamera',
[
libcamera_public_sources,
+ libcamera_ipa_headers,
libcamera_internal_sources,
],
version : libcamera_version,
@@ -216,7 +216,6 @@ libcamera_public = declare_dependency(sources : [
# Internal dependency for components and plugins which can use private APIs
libcamera_private = declare_dependency(sources : [
libcamera_ipa_headers,
- libcamera_generated_ipa_headers,
],
dependencies : [
libcamera_public,