From e36a6f40433ce661610f34ed2db31e82e22c579d Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 8 Feb 2021 23:14:05 +0200 Subject: libcamera: Drop unneeded depend_files from meson custom targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The meson custom_target() function accepts a 'depend_files' argument to list additional dependency files. Files already listed in the 'command' argument are handled automatically, and don't need to be added manually. Drop them. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund Reviewed-by: Kieran Bingham --- include/libcamera/meson.build | 1 - src/libcamera/meson.build | 1 - 2 files changed, 2 deletions(-) diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build index 13e9eeb6..eb787d44 100644 --- a/include/libcamera/meson.build +++ b/include/libcamera/meson.build @@ -46,7 +46,6 @@ foreach header : control_source_files control_headers += custom_target(header + '_h', input : input_files, output : header + '.h', - depend_files : gen_controls, command : [gen_controls, '-o', '@OUTPUT@', '@INPUT@'], install : true, install_dir : join_paths('include', include_dir)) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 2b185089..ebce19d9 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -94,7 +94,6 @@ foreach source : control_source_files control_sources += custom_target(source + '_cpp', input : input_files, output : source + '.cpp', - depend_files : gen_controls, command : [gen_controls, '-o', '@OUTPUT@', '@INPUT@']) endforeach -- cgit v1.2.1