omx: use VISIBILITY_CFLAGS to control exported symbols
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 8 Feb 2014 03:56:38 +0000 (03:56 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Feb 2014 21:36:16 +0000 (21:36 +0000)
Initial step of cleaning the exported symbols from targets/omx

 - Mark omx_component_library_Setup as public

v2: Keep export-symbols-regex

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com> (v1)
src/gallium/state_trackers/omx/Makefile.am
src/gallium/state_trackers/omx/entrypoint.h
src/gallium/targets/r600/omx/Makefile.am
src/gallium/targets/radeonsi/omx/Makefile.am

index 1983248749a94826fb67bade609bd7ccb2bec799..7972d798d6bab6217557370ab3a650bbc2183ef2 100644 (file)
@@ -24,6 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        $(GALLIUM_CFLAGS) \
+       $(VISIBILITY_CFLAGS) \
        $(OMX_CFLAGS)
 
 noinst_LTLIBRARIES = libomxtracker.la
index af7c33763c202ae8cb5c82d09ad9b15f2a48e111..7625d7a5b031d35ed1e758b14eee76137e485373 100644 (file)
@@ -38,7 +38,7 @@
 
 #include "vl/vl_winsys.h"
 
-extern int omx_component_library_Setup(stLoaderComponentType **stComponents);
+PUBLIC extern int omx_component_library_Setup(stLoaderComponentType **stComponents);
 
 struct vl_screen *omx_get_screen(void);
 void omx_put_screen(void);
index 7660a8d27401292de30f1346b9c7071fb91e8f87..3aef9e19bba71c7dfeb2e862790cceea787aeb71 100644 (file)
@@ -24,6 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        $(GALLIUM_CFLAGS) \
+       $(VISIBILITY_CFLAGS) \
        $(PTHREAD_CFLAGS) \
        $(LIBDRM_CFLAGS)
 AM_CPPFLAGS = \
index a502c659587c391a32af254ab636259d9b628bef..0d479122e2881e080bb6a1cb6147bd63a251b14e 100644 (file)
@@ -24,6 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        $(GALLIUM_CFLAGS) \
+       $(VISIBILITY_CFLAGS) \
        $(PTHREAD_CFLAGS) \
        $(LIBDRM_CFLAGS)
 AM_CPPFLAGS = \