From: Rob Herring Date: Wed, 3 May 2017 19:35:15 +0000 (-0500) Subject: Android: remove remaining explicit libcxx includes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4eec1cfa8ef250609699c8fc658e8fe58d6fab61;p=mesa.git Android: remove remaining explicit libcxx includes Explicitly including libcxx includes is not necessary at least on Android M and later. It appears that libc++ was made the default in commit "Make libc++ the default STL." in Android build system post L. However, if L support is still needed, using "LOCAL_CXX_STL=libc++" is the preferred way. Signed-off-by: Rob Herring Reviewed-by: Emil Velikov --- diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk index 8be38dd3f41..aa0b1742b6b 100644 --- a/src/amd/Android.common.mk +++ b/src/amd/Android.common.mk @@ -56,7 +56,6 @@ LOCAL_C_INCLUDES := \ $(intermediates)/common \ external/llvm/include \ external/llvm/device/include \ - external/libcxx/include \ $(ELF_INCLUDES) LOCAL_STATIC_LIBRARIES := libLLVMCore diff --git a/src/gallium/Android.common.mk b/src/gallium/Android.common.mk index 8559b5bce79..ff4c30dabd6 100644 --- a/src/gallium/Android.common.mk +++ b/src/gallium/Android.common.mk @@ -33,7 +33,6 @@ ifeq ($(MESA_ENABLE_LLVM),true) LOCAL_C_INCLUDES += \ external/llvm/include \ external/llvm/device/include \ - external/libcxx/include \ $(ELF_INCLUDES) endif diff --git a/src/gallium/drivers/nouveau/Android.mk b/src/gallium/drivers/nouveau/Android.mk index 3b26b592cdd..d499d9918d8 100644 --- a/src/gallium/drivers/nouveau/Android.mk +++ b/src/gallium/drivers/nouveau/Android.mk @@ -39,6 +39,5 @@ LOCAL_SRC_FILES := \ LOCAL_SHARED_LIBRARIES := libdrm_nouveau LOCAL_MODULE := libmesa_pipe_nouveau -LOCAL_C_INCLUDES := external/libcxx/include include $(GALLIUM_COMMON_MK) include $(BUILD_STATIC_LIBRARY) diff --git a/src/gallium/drivers/r600/Android.mk b/src/gallium/drivers/r600/Android.mk index 7be3614c03e..a2fa6236088 100644 --- a/src/gallium/drivers/r600/Android.mk +++ b/src/gallium/drivers/r600/Android.mk @@ -30,8 +30,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) $(CXX_SOURCES) -LOCAL_C_INCLUDES := $(MESA_TOP)/src/amd/common \ - external/libcxx/include +LOCAL_C_INCLUDES := $(MESA_TOP)/src/amd/common LOCAL_STATIC_LIBRARIES := libmesa_amd_common LOCAL_SHARED_LIBRARIES := libdrm_radeon