virgl: move protocol headers to a common place
[mesa.git] / src / gallium / drivers / virgl / meson.build
index e3c67a29a1048723e47eb5078391cad26a5afa6b..00cde5f3fe1e07952d03a50cc18893b29cfea9eb 100644 (file)
@@ -46,8 +46,8 @@ virgl_driinfo_h = custom_target(
 libvirgl = static_library(
   'virgl',
   [ files_libvirgl, virgl_driinfo_h ],
-  c_args : c_vis_args,
-  include_directories : inc_common,
+  gnu_symbol_visibility : 'hidden',
+  include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_virtio],
   dependencies : dep_libdrm
 )
 
@@ -56,3 +56,7 @@ driver_virgl = declare_dependency(
   compile_args : '-DGALLIUM_VIRGL',
   link_with : [libvirgl, libvirgldrm, libvirglvtest],
 )
+
+if with_tests
+  subdir('tests')
+endif