On Sat, Aug 27, 2011 at 9:53 AM, Chad Versace <c...@chad-versace.us> wrote: > libmesa_dricore is analogous to the libdricore built by the Autoconf > build. > > Signed-off-by: Chad Versace <c...@chad-versace.us> With the visibility change, this patch is
Reviewed-by: Chia-I Wu <o...@lunarg.com> > --- > src/mesa/Android.mk | 35 +++++++++++++++++++++++++++++++++++ > 1 files changed, 35 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/Android.mk b/src/mesa/Android.mk > index 67808d4..ff7d808 100644 > --- a/src/mesa/Android.mk > +++ b/src/mesa/Android.mk > @@ -83,6 +83,41 @@ include $(BUILD_STATIC_LIBRARY) > endif # MESA_BUILD_GALLIUM > > # --------------------------------------- > +# Build libmesa_dricore for DRI modules > +# --------------------------------------- > + > +ifeq ($(strip $(MESA_BUILD_CLASSIC)),true) > + > +include $(CLEAR_VARS) > + > +LOCAL_MODULE := libmesa_dricore > +LOCAL_MODULE_CLASS := SHARED_LIBRARIES > + > +LOCAL_CFLAGS := \ > + $(common_CFLAGS) \ > + -DFEATURE_GL=1 > + > +LOCAL_C_INCLUDES := \ > + $(common_C_INCLUDES) > + > +LOCAL_SRC_FILES := \ > + $(MESA_SOURCES) \ > + $(MESA_CXX_SOURCES) \ > + $(common_ASM) > + > +LOCAL_WHOLE_STATIC_LIBRARIES := \ > + libmesa_glsl > + > +LOCAL_SHARED_LIBRARIES := \ > + libglapi > + > +include $(LOCAL_PATH)/Android.gen.mk > +include $(MESA_COMMON_MK) > +include $(BUILD_SHARED_LIBRARY) > + > +endif # MESA_BUILD_CLASSIC > + > +# --------------------------------------- > # Build libmesa_glsl_utils > # > # It is used to avoid circular dependency between core mesa and glsl. > -- > 1.7.6 > > -- o...@lunarg.com _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev