diff --git a/meson.build b/meson.build index 345b591a8c5c0..716bce7059733 100644 --- a/meson.build +++ b/meson.build @@ -568,6 +568,7 @@ tools_directory = join_paths(source_root, 'TOOLS') docutils_wrapper = find_program(join_paths(tools_directory, 'docutils-wrapper.py')) file2string = find_program(join_paths(tools_directory, 'file2string.py')) matroska = find_program(join_paths(tools_directory, 'matroska.py')) +testing_python = find_program('testing_python.py') ebml_defs = custom_target('ebml_defs.inc', output: 'ebml_defs.inc', @@ -579,7 +580,12 @@ ebml_types = custom_target('ebml_types.h', command: [matroska, '--generate-header', '@OUTPUT@'], ) -sources += [ebml_defs, ebml_types] +fake = custom_target('fake.h', + output: 'fake.h', + command: [python, testing_python, '@OUTPUT@'], +) + +sources += [ebml_defs, ebml_types, fake] subdir('common') subdir('etc') diff --git a/testing_python.py b/testing_python.py new file mode 100755 index 0000000000000..50f5f537e518e --- /dev/null +++ b/testing_python.py @@ -0,0 +1,3 @@ +#!/usr/bin/env python3 +if __name__ == "__main__": + print('hi')