[totem/wip/hadess/backend-fixes: 4/4] backend: Always build test application




commit 725b53fa80746497bf47c845ae21e6bd0fb31110
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 28 18:18:24 2021 +0200

    backend: Always build test application

 src/backend/meson.build | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/src/backend/meson.build b/src/backend/meson.build
index fbf74258b..0a47fbd9f 100644
--- a/src/backend/meson.build
+++ b/src/backend/meson.build
@@ -95,17 +95,15 @@ libbacon_video_widget_dep = declare_dependency(
   sources: enum_sources
 )
 
-if have_easy_codec
-  backend_test = 'bvw-test'
-
-  executable(
-    backend_test,
-    backend_test + '.c',
-    include_directories: libbacon_video_widget_incs,
-    dependencies: libbacon_video_widget_dep,
-    c_args: libbacon_video_widget_cflags + [
-      '-DLOGO_PATH="@0@"'.format(join_paths(totem_pkgdatadir, meson.project_name(), 'totem_logo.png')),
-      '-DG_LOG_DOMAIN="@0@"'.format(backend_test)
-    ]
-  )
-endif
+backend_test = 'bvw-test'
+
+executable(
+  backend_test,
+  backend_test + '.c',
+  include_directories: libbacon_video_widget_incs,
+  dependencies: libbacon_video_widget_dep,
+  c_args: libbacon_video_widget_cflags + [
+    '-DLOGO_PATH="@0@"'.format(join_paths(totem_pkgdatadir, meson.project_name(), 'totem_logo.png')),
+    '-DG_LOG_DOMAIN="@0@"'.format(backend_test)
+  ]
+)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]