Android: remove remaining explicit libcxx includes
authorRob Herring <robh@kernel.org>
Wed, 3 May 2017 19:35:15 +0000 (14:35 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 11 May 2017 12:52:20 +0000 (13:52 +0100)
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 <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/amd/Android.common.mk
src/gallium/Android.common.mk
src/gallium/drivers/nouveau/Android.mk
src/gallium/drivers/r600/Android.mk

index 8be38dd3f4143d3c3050b53a1c246fd1fb6fd138..aa0b1742b6be498e25c2bc92dfd39162775a343a 100644 (file)
@@ -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
index 8559b5bce794d95ce789a29edc80c3ff232a92c6..ff4c30dabd6e645db9c0659a902fadaf9fb3326c 100644 (file)
@@ -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
 
index 3b26b592cdd61c450db939cd5bb02ed7d97cf245..d499d9918d86c2c836ebe3340ee2f48cb47271ae 100644 (file)
@@ -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)
index 7be3614c03ebe8e3a29cb046fb7999bc6f17d545..a2fa62360880316d7115d6158d2f53edfb553165 100644 (file)
@@ -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