replicant-frameworks_native/opengl/libs/GLES2_dbg/test/Android.mk
David Li 7b271eba88 GLES2Dbg: initial tests
Change-Id: Ibf07eff68d39267fd5c9bec2870f59a5ae2f51e3
2011-04-19 14:42:14 -07:00

40 lines
896 B
Makefile

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_C_INCLUDES := \
$(LOCAL_PATH) \
$(LOCAL_PATH)/../src \
$(LOCAL_PATH)/../../ \
external/gtest/include \
external/stlport/stlport \
external/protobuf/src \
bionic \
external \
#
LOCAL_SRC_FILES:= \
test_main.cpp \
test_server.cpp \
test_socket.cpp \
#
LOCAL_SHARED_LIBRARIES := libcutils libutils libGLESv2_dbg libstlport
LOCAL_STATIC_LIBRARIES := libgtest libprotobuf-cpp-2.3.0-lite liblzf
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE:= libGLESv2_dbg_test
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
endif
ifneq ($(TARGET_SIMULATOR),true)
LOCAL_C_INCLUDES += bionic/libc/private
endif
LOCAL_CFLAGS += -DLOG_TAG=\"libEGL\"
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
LOCAL_CFLAGS += -fvisibility=hidden
include $(BUILD_EXECUTABLE)