OSDN Git Service

amdgpu: add navi family id
[android-x86/external-libdrm.git] / Android.common.mk
index b45ca10..d0e5d55 100644 (file)
@@ -2,9 +2,11 @@
 LOCAL_CFLAGS += \
        -DMAJOR_IN_SYSMACROS=1 \
        -DHAVE_VISIBILITY=1 \
+       -fvisibility=hidden \
        -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
 
 LOCAL_CFLAGS += \
+       -Wno-error \
        -Wno-unused-parameter \
        -Wno-missing-field-initializers \
        -Wno-pointer-arith \
@@ -13,3 +15,5 @@ LOCAL_CFLAGS += \
 # Quiet down the build system and remove any .h files from the sources
 LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
 LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
+
+LOCAL_PROPRIETARY_MODULE := true