diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2017-10-16 14:47:07 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-10-19 16:44:06 +0200 |
commit | 4f91b6f8739adbf96e9f9129603e2cedde99d43a (patch) | |
tree | c985f9b6464e0397f4331e930f4327fe28080c05 /config | |
parent | b3d63d613a64227390cee7aff921872e6b475b6c (diff) |
add test support
Most of the boilerplate and the states test has been copied from
gst-plugins-good.
https://bugzilla.gnome.org/show_bug.cgi?id=789094
Diffstat (limited to 'config')
-rw-r--r-- | config/meson.build | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/config/meson.build b/config/meson.build index 9e5d1441ce..1068c6d9c6 100644 --- a/config/meson.build +++ b/config/meson.build @@ -1,9 +1,20 @@ if omx_target == 'rpi' - subdir ('rpi') + sub = 'rpi' elif omx_target == 'bellagio' - subdir ('bellagio') + sub = 'bellagio' elif omx_target == 'zynqultrascaleplus' - subdir ('zynqultrascaleplus') + sub = 'zynqultrascaleplus' elif omx_target == 'tizonia' - subdir ('tizonia') + sub = 'tizonia' +else + # No config file defined for the 'generic' target + sub = '' +endif + +if sub != '' + subdir (sub) + # Used by tests to load the proper conf file + omx_config_dir = join_paths (meson.current_source_dir(), sub) +else + omx_config_dir = '' endif |