aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-17 11:38:00 +0800
committerChia-I Wu <[email protected]>2011-08-21 02:01:48 +0800
commit688db6e8dc1507021cd84733ea379e97f0265351 (patch)
treef9436afee3eb383c57db659aa1500c430ea659ae /Android.mk
parentc9b21d986e6421d57c429f5ba8ca1fc8868e76dc (diff)
android: build gallium auxiliaries
This builds the static library libmesa_gallium from gallium auxiliaries.
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index b03196ae3c5..c1ee38102e9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -70,6 +70,12 @@ endif
ifneq ($(strip $(MESA_GPU_DRIVERS)),)
+SUBDIRS :=
+
+ifeq ($(strip $(MESA_BUILD_GALLIUM)),true)
+SUBDIRS += src/gallium
+endif
+
# ---------------------------------------
# Build libGLES_mesa
# ---------------------------------------
@@ -88,4 +94,7 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl
include $(MESA_COMMON_MK)
include $(BUILD_SHARED_LIBRARY)
+mkfiles := $(patsubst %,$(MESA_TOP)/%/Android.mk,$(SUBDIRS))
+-include $(mkfiles)
+
endif # MESA_GPU_DRIVERS