2011-03-02 00:08:10 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
src/api.cpp \
|
2011-03-22 00:42:50 +00:00
|
|
|
src/caller.cpp \
|
2011-03-11 00:40:37 +00:00
|
|
|
src/dbgcontext.cpp \
|
2011-03-05 01:50:48 +00:00
|
|
|
src/debugger_message.pb.cpp \
|
|
|
|
src/egl.cpp \
|
2011-03-02 00:08:10 +00:00
|
|
|
src/server.cpp \
|
2011-03-05 01:50:48 +00:00
|
|
|
src/vertex.cpp
|
2011-03-02 00:08:10 +00:00
|
|
|
|
2011-03-28 17:39:28 +00:00
|
|
|
LOCAL_C_INCLUDES := \
|
2011-03-02 00:08:10 +00:00
|
|
|
$(LOCAL_PATH) \
|
|
|
|
$(LOCAL_PATH)/../ \
|
|
|
|
external/stlport/stlport \
|
|
|
|
external/protobuf/src \
|
2011-03-21 17:02:30 +00:00
|
|
|
external \
|
2011-03-02 00:08:10 +00:00
|
|
|
bionic
|
|
|
|
|
|
|
|
#LOCAL_CFLAGS += -O0 -g -DDEBUG -UNDEBUG
|
|
|
|
LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI
|
2011-03-28 17:39:28 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := libprotobuf-cpp-2.3.0-lite liblzf
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils libstlport
|
2011-03-02 00:08:10 +00:00
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
LOCAL_CFLAGS += -fstrict-aliasing
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
|
|
|
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(TARGET_SIMULATOR),true)
|
|
|
|
# we need to access the private Bionic header <bionic_tls.h>
|
|
|
|
# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
|
|
|
|
# behavior from the bionic Android.mk file
|
|
|
|
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
|
|
|
|
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
|
|
|
endif
|
|
|
|
LOCAL_C_INCLUDES += bionic/libc/private
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libGLESv2_dbg
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
2011-03-28 17:39:28 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2011-04-14 18:20:22 +00:00
|
|
|
|
|
|
|
include $(LOCAL_PATH)/test/Android.mk
|