android: ac: add missing libdrm_amdgpu shared dependency
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 20 May 2017 15:31:36 +0000 (17:31 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 17 Jun 2017 17:38:31 +0000 (18:38 +0100)
Fixes building errors in amd/common:

target  C: libmesa_amd_common <= external/mesa/src/amd/common/ac_gpu_info.c
...
target  C: libmesa_amd_common <= external/mesa/src/amd/common/ac_surface.c
...

external/mesa/src/amd/common/ac_gpu_info.h:31:10: fatal error: 'amdgpu.h' file not found
         ^
2 errors

Fixes: 98a2492 ("ac_surface: use radeon_info from ac_gpu_info")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/amd/Android.common.mk

index e3915b45bfe71bd7442030441b0386ded6f4582a..39d2732fd994ab4c38ba1b16006bbc79e1c7c5e4 100644 (file)
@@ -61,6 +61,9 @@ LOCAL_C_INCLUDES := \
 LOCAL_EXPORT_C_INCLUDE_DIRS := \
        $(LOCAL_PATH)/common
 
+LOCAL_SHARED_LIBRARIES := \
+       libdrm_amdgpu
+
 LOCAL_STATIC_LIBRARIES := \
        libmesa_nir