2011-03-02 00:08:10 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2014-09-12 01:45:33 +00:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
2011-03-02 00:08:10 +00:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2011-11-30 23:05:37 +00:00
|
|
|
src/gltrace_api.cpp \
|
|
|
|
src/gltrace_context.cpp \
|
|
|
|
src/gltrace_egl.cpp \
|
|
|
|
src/gltrace_eglapi.cpp \
|
|
|
|
src/gltrace_fixup.cpp \
|
|
|
|
src/gltrace_hooks.cpp \
|
2015-01-12 20:07:43 +00:00
|
|
|
src/gltrace_transport.cpp \
|
|
|
|
$(call all-proto-files-under, proto)
|
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)/../ \
|
2015-01-12 20:07:43 +00:00
|
|
|
external
|
2011-03-02 00:08:10 +00:00
|
|
|
|
2014-11-16 02:18:17 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := liblzf
|
2015-01-12 20:07:43 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils liblog
|
|
|
|
|
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE := lite
|
2011-03-02 00:08:10 +00:00
|
|
|
|
2011-11-30 23:05:37 +00:00
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=\"libGLES_trace\"
|
2011-09-14 01:15:50 +00:00
|
|
|
|
2011-07-12 05:12:16 +00:00
|
|
|
# we need to access the private Bionic header <bionic_tls.h>
|
|
|
|
LOCAL_C_INCLUDES += bionic/libc/private
|
2011-03-02 00:08:10 +00:00
|
|
|
|
2011-11-30 23:05:37 +00:00
|
|
|
LOCAL_MODULE:= libGLES_trace
|
2011-03-02 00:08:10 +00:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
2011-03-28 17:39:28 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|