scons: rework the EGL build
[mesa.git] / src / egl / drivers / dri2 / Android.mk
index d4d809bc3de96f6662447c7ec3cca984386bf945..76be3b246ba70e362acade686f6586e496e36c39 100644 (file)
@@ -32,10 +32,10 @@ LOCAL_SRC_FILES := \
        platform_android.c
 
 LOCAL_CFLAGS := \
-       -DHAVE_SHARED_GLAPI \
        -DHAVE_ANDROID_PLATFORM
 
 ifeq ($(MESA_LOLLIPOP_BUILD),true)
+LOCAL_CFLAGS_arm := -DDEFAULT_DRIVER_DIR=\"/system/lib/dri\"
 LOCAL_CFLAGS_x86 := -DDEFAULT_DRIVER_DIR=\"/system/lib/dri\"
 LOCAL_CFLAGS_x86_64 := -DDEFAULT_DRIVER_DIR=\"/system/lib64/dri\"
 else