diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 9 |
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 |