X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=Android.common.mk;h=3e6d4c398911a3747a5e048f2d82a3c1c3f46e74;hb=a29ae0b3ddce0f4cda633d3be3f7380178522bbf;hp=d0a5f1aa413164fc03aa156c71bb2c0888afca4f;hpb=56c6cdc9e71771d0fcdecabbe62d45a36f2d03b4;p=mesa.git diff --git a/Android.common.mk b/Android.common.mk index d0a5f1aa413..3e6d4c39891 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -33,8 +33,11 @@ endif LOCAL_C_INCLUDES += \ $(MESA_TOP)/include +MESA_VERSION=$(shell cat $(MESA_TOP)/VERSION) # define ANDROID_VERSION (e.g., 4.0.x => 0x0400) LOCAL_CFLAGS += \ + -DPACKAGE_VERSION=\"$(MESA_VERSION)\" \ + -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 += \