[Coverage] source path for coverage report
authorJaeyun <jy1210.jung@samsung.com>
Thu, 24 Oct 2019 08:23:56 +0000 (17:23 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 28 Oct 2019 02:32:52 +0000 (11:32 +0900)
fix the cpp filter-subplugin path for test coverage report.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
ext/nnstreamer/tensor_filter/meson.build

index 29d8393..e362a61 100644 (file)
@@ -270,8 +270,15 @@ if get_option('enable-movidius-ncsdk2')
 endif
 
 if get_option('enable-cppfilter')
+  filter_sub_cpp_sources = ['tensor_filter_cpp.cc']
+
+  nnstreamer_filter_cpp_sources = []
+  foreach s : filter_sub_cpp_sources
+    nnstreamer_filter_cpp_sources += join_paths(meson.current_source_dir(), s)
+  endforeach
+
   shared_library('nnstreamer_filter_cpp',
-    ['tensor_filter_cpp.cc'],
+    nnstreamer_filter_cpp_sources,
     dependencies: [glib_dep, gst_dep, nnstreamer_dep],
     install: true,
     install_dir: filter_subplugin_install_dir