r600: android: amdgpu_common is only required when building OpenCL
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 2 Jun 2017 16:37:06 +0000 (12:37 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 16 Jun 2017 11:41:44 +0000 (12:41 +0100)
v2: split off Android changes

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/r600/Android.mk

index fa62613d1deaad63b3ef1751f906c5041d9ff6a5..2d89f49cd5a4790e6f3e8340cb33a3c573dd66b0 100644 (file)
@@ -30,11 +30,7 @@ include $(CLEAR_VARS)
 
 LOCAL_SRC_FILES := $(C_SOURCES) $(CXX_SOURCES)
 
-ifeq ($(MESA_ENABLE_LLVM),true)
-LOCAL_STATIC_LIBRARIES := libmesa_amd_common
-else
 LOCAL_C_INCLUDES += $(MESA_TOP)/src/amd/common
-endif
 
 LOCAL_SHARED_LIBRARIES := libdrm_radeon
 LOCAL_MODULE := libmesa_pipe_r600
@@ -55,7 +51,6 @@ include $(BUILD_STATIC_LIBRARY)
 ifneq ($(HAVE_GALLIUM_R600),)
 $(eval GALLIUM_LIBS += \
        $(LOCAL_MODULE) \
-       $(LOCAL_STATIC_LIBRARIES) \
        libmesa_winsys_radeon)
 $(eval GALLIUM_SHARED_LIBS += $(LOCAL_SHARED_LIBRARIES))
 endif