[Mesa-dev] [PATCH v2 2/5] Android: remove host libmesa_util

Rob Herring robh at kernel.org
Tue Mar 21 18:51:17 UTC 2017


The host libmesa_util is never used for Android builds, so remove it.

Signed-off-by: Rob Herring <robh at kernel.org>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
---
v2:
- no change

 src/util/Android.mk | 35 -----------------------------------
 1 file changed, 35 deletions(-)

diff --git a/src/util/Android.mk b/src/util/Android.mk
index a39185ae49e0..64aafbe2ee15 100644
--- a/src/util/Android.mk
+++ b/src/util/Android.mk
@@ -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)
--
2.10.1



More information about the mesa-dev mailing list