summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-05-09 13:10:18 +0300
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-05-10 13:53:43 +0200
commit1ddda31f14e0aa89057203b61793d75275e8cf34 (patch)
treedc289624c026e55dde24f7682950becf50e91c7d /test
parent68fd4b3c9137ddf2416f9dc82d3e1964fcbd5bfd (diff)
meson: Use new project_*_root() functions
meson.source_root() and meson.build_root() are deprecated. Use meson.project_source_root() and meson.project_build_root() instead. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r--test/serialization/generated_serializer/include/libcamera/ipa/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/serialization/generated_serializer/include/libcamera/ipa/meson.build b/test/serialization/generated_serializer/include/libcamera/ipa/meson.build
index ba198f7a..6f8794c1 100644
--- a/test/serialization/generated_serializer/include/libcamera/ipa/meson.build
+++ b/test/serialization/generated_serializer/include/libcamera/ipa/meson.build
@@ -6,8 +6,8 @@ mojom = custom_target('test_mojom_module',
output : 'test.mojom-module',
command : [
mojom_parser,
- '--output-root', meson.build_root(),
- '--input-root', meson.source_root(),
+ '--output-root', meson.project_build_root(),
+ '--input-root', meson.project_source_root(),
'--mojoms', '@INPUT@'
])