[Mesa-dev] [RFC][PATCH 5/5] Android.mk: Fix checkbuild on Mac builders.

John Stultz john.stultz at linaro.org
Tue Jul 24 23:21:42 UTC 2018


From: Alistair Strachan <astrachan at google.com>

This is a forward port of a patch in the AOSP/master tree:
https://android.googlesource.com/platform/external/mesa3d/+/d7f894a7d39e66ca5a832c19edaf175400041aff%5E%21/

The libmesa_dri_common target depends on xgettext unconditionally, but
this is not a documented dependency of AOSP and is not installed on the
Mac builders, so we must not build any part of mesa3d on these
platforms.

Cc: Rob Herring <rob.herring at linaro.org>
Cc: Alistair Strachan <astrachan at google.com>
Cc: Marissa Wall <marissaw at google.com>
Cc: Sumit Semwal <sumit.semwal at linaro.org>
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Cc: Rob Clark <robdclark at gmail.com>
Signed-off-by: Alistair Strachan <astrachan at google.com>
Signed-off-by: John Stultz <john.stultz at linaro.org>
---
 Android.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Android.mk b/Android.mk
index 494b4b9..128db4d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -30,6 +30,8 @@
 # module will also be built.  DRI modules will be loaded by libGLES_mesa.
 
 ifneq ($(BOARD_USE_CUSTOMIZED_MESA), true)
+ifneq ($(BOARD_GPU_DRIVERS),)
+
 MESA_TOP := $(call my-dir)
 
 MESA_ANDROID_MAJOR_VERSION := $(word 1, $(subst ., , $(PLATFORM_VERSION)))
@@ -127,4 +129,5 @@ INC_DIRS := $(call all-named-subdir-makefiles,$(SUBDIRS))
 INC_DIRS += $(call all-named-subdir-makefiles,src/gallium)
 include $(INC_DIRS)
 
-endif
+endif # BOARD_GPU_DRIVERS != ""
+endif # BOARD_USE_CUSTOMIZED_MESA != true
-- 
2.7.4



More information about the mesa-dev mailing list