Android: remove host libmesa_util
authorRob Herring <robh@kernel.org>
Tue, 21 Mar 2017 18:51:17 +0000 (13:51 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 17:52:23 +0000 (17:52 +0000)
The host libmesa_util is never used for Android builds, so remove it.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/Android.mk

index a39185ae49e0913c959bc6c78d729078b617ffeb..64aafbe2ee15d2d5a0786d6e3f40a40705dbffd9 100644 (file)
@@ -55,38 +55,3 @@ $(LOCAL_GENERATED_SOURCES): $(intermediates)/%.c: $(LOCAL_PATH)/%.py
 
 include $(MESA_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)
-
-# ---------------------------------------
-# Build host libmesa_util
-# ---------------------------------------
-
-include $(CLEAR_VARS)
-
-LOCAL_IS_HOST_MODULE := true
-LOCAL_CFLAGS := -D_POSIX_C_SOURCE=199309L
-
-LOCAL_SRC_FILES := \
-       $(MESA_UTIL_FILES)
-
-LOCAL_C_INCLUDES := \
-       $(MESA_TOP)/src/mesa \
-       $(MESA_TOP)/src/mapi \
-       $(MESA_TOP)/src/gallium/include \
-       $(MESA_TOP)/src/gallium/auxiliary
-
-LOCAL_MODULE := libmesa_util
-
-# Generated sources
-
-LOCAL_MODULE_CLASS := STATIC_LIBRARIES
-
-intermediates := $(call local-generated-sources-dir)
-LOCAL_GENERATED_SOURCES := $(addprefix $(intermediates)/,$(MESA_UTIL_GENERATED_FILES))
-
-$(LOCAL_GENERATED_SOURCES): PRIVATE_PYTHON := $(MESA_PYTHON2)
-$(LOCAL_GENERATED_SOURCES): PRIVATE_CUSTOM_TOOL = $(PRIVATE_PYTHON) $^ > $@
-$(LOCAL_GENERATED_SOURCES): $(intermediates)/%.c: $(LOCAL_PATH)/%.py
-       $(transform-generated-source)
-
-include $(MESA_COMMON_MK)
-include $(BUILD_HOST_STATIC_LIBRARY)