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>
This commit is contained in:
committed by
Kieran Bingham
parent
68fd4b3c91
commit
1ddda31f14
@@ -25,8 +25,8 @@ ipa_mojom_core = custom_target(core_mojom_file.split('.')[0] + '_mojom_module',
|
||||
output : core_mojom_file + '-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@'
|
||||
])
|
||||
|
||||
@@ -89,8 +89,8 @@ foreach file : ipa_mojom_files
|
||||
depends : ipa_mojom_core,
|
||||
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@'
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user