Fixes the correct build of android paths for any future case,
by moving definition to top Android.common.mk
(v2) definition in src/egl/Android.mk is removed
(v3) changes due to
a0f6a11944 ("egl: drop unused _EGL_BUILT_IN_DRIVER_DRI2")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
-Wno-mismatched-tags \
-DVERSION=\"$(MESA_VERSION)\" \
-DPACKAGE_VERSION=\"$(MESA_VERSION)\" \
- -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"
+ -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \
+ -DHAVE_ANDROID_PLATFORM
# XXX: The following __STDC_*_MACROS defines should not be needed.
# It's likely due to a bug elsewhere, but let's temporarily add them
drivers/dri2/platform_android.c
LOCAL_CFLAGS := \
- -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID \
- -DHAVE_ANDROID_PLATFORM
+ -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID
LOCAL_C_INCLUDES := \
$(MESA_TOP)/include/drm-uapi \