mesa: Fix error checking for getters consisting of only API versions.
[mesa.git] / Android.common.mk
index 18e5726fa0ae78d999f6cf67db38d21d9d846592..215c640fbc03cc4b001583e0fff44b18b602d6b1 100644 (file)
@@ -34,10 +34,10 @@ LOCAL_C_INCLUDES += \
        $(MESA_TOP)/include
 
 # define ANDROID_VERSION (e.g., 4.0.x => 0x0400)
-major := $(word 1, $(subst ., , $(PLATFORM_VERSION)))
-minor := $(word 2, $(subst ., , $(PLATFORM_VERSION)))
 LOCAL_CFLAGS += \
-       -DANDROID_VERSION=0x0$(major)0$(minor)
+       -DPACKAGE_VERSION=\"9.2-devel\" \
+       -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \
+       -DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION)
 
 LOCAL_CFLAGS += \
        -DHAVE_PTHREAD=1 \