summaryrefslogtreecommitdiff
path: root/src/tests/ecore/meson.build
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-25 15:32:53 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-26 11:42:12 +0100
commit015fbac20da75fa944573c8f359b0785c7ffedbd (patch)
treebba605f072b44139b151077407fa1335170a048f /src/tests/ecore/meson.build
parentdb13fbc4940ee619b1edf47e6bbb745b769a7dcb (diff)
ecore: make ecore_audio_out abstract
ecore_audio does define format and source, those are then used in some leave classes, ecore_audio is only used in the tests, and should not be used externally. Therefore make it abstract. The other missing implementations are in the leave classes, They are resolved with providing empty implementations, since no format switching is supported. ref T5719 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7782
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tests/ecore/meson.build b/src/tests/ecore/meson.build
index 98104146be..4b46814bbe 100644
--- a/src/tests/ecore/meson.build
+++ b/src/tests/ecore/meson.build
@@ -23,9 +23,28 @@ ecore_suite_deps += ecore_evas
23ecore_suite_deps += ecore_input 23ecore_suite_deps += ecore_input
24ecore_suite_deps += ecore_imf 24ecore_suite_deps += ecore_imf
25 25
26test_eo_files = [
27 'ecore_audio_out_test.eo',
28]
29test_eo_file_target = []
30
31foreach eo_file : test_eo_files
32 test_eo_file_target += custom_target('eolian_gen_' + eo_file,
33 input : eo_file,
34 output : [eo_file + '.h'],
35 depfile : eo_file + '.d',
36 install : false,
37 command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
38 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
39 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
40 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
41 '-gchd', '@INPUT@'])
42endforeach
43
26if get_option('audio') 44if get_option('audio')
27 ecore_suite_deps += ecore_audio 45 ecore_suite_deps += ecore_audio
28 ecore_suite_src += 'ecore_test_ecore_audio.c' 46 ecore_suite_src += 'ecore_test_ecore_audio.c'
47 ecore_suite_src += test_eo_file_target
29endif 48endif
30 49
31if get_option('fb') 50if get_option('fb')