android: r600: fix libmesa_amd_common dependency
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 5 Mar 2017 21:23:24 +0000 (22:23 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 8 Mar 2017 16:27:23 +0000 (16:27 +0000)
Adding libmesa_amd_common dependency and exporting its headers,
avoids the following building error:

external/mesa/src/gallium/drivers/r600/evergreen_compute.c:29:10: fatal error: 'ac_binary.h' file not found
         ^
1 error generated.

Fixes: 3bbbb63 "automake: r600: radeonsi: correctly manage libamd_common.la linking"
Fixes: 503fb13 "radeon/ac: switch to ac_shader_binary_config_start()"
v2 [Emil Velikov: drop unneeded LOCAL_EXPORT_C_INCLUDE_DIRS]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/r600/Android.mk

index eac31162456917430a1a98739f95206ff9269033..76ec3d048f50dddd2c5c67adf274ef46f00945a2 100644 (file)
@@ -32,6 +32,7 @@ LOCAL_SRC_FILES := $(C_SOURCES) $(CXX_SOURCES)
 
 LOCAL_C_INCLUDES := $(MESA_TOP)/src/amd/common
 
+LOCAL_STATIC_LIBRARIES := libmesa_amd_common
 LOCAL_SHARED_LIBRARIES := libdrm_radeon
 LOCAL_MODULE := libmesa_pipe_r600