1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES := \ 6 src/gltrace_api.cpp \ 7 src/gltrace_context.cpp \ 8 src/gltrace_egl.cpp \ 9 src/gltrace_eglapi.cpp \ 10 src/gltrace_fixup.cpp \ 11 src/gltrace_hooks.cpp \ 12 src/gltrace.pb.cpp \ 13 src/gltrace_transport.cpp 14 15LOCAL_C_INCLUDES := \ 16 $(LOCAL_PATH) \ 17 $(LOCAL_PATH)/../ \ 18 external/stlport/stlport \ 19 external/protobuf/src \ 20 external \ 21 bionic 22 23LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI 24LOCAL_STATIC_LIBRARIES := libprotobuf-cpp-2.3.0-lite liblzf 25LOCAL_SHARED_LIBRARIES := libcutils libutils liblog libstlport 26 27LOCAL_CFLAGS += -DLOG_TAG=\"libGLES_trace\" 28 29# we need to access the private Bionic header <bionic_tls.h> 30LOCAL_C_INCLUDES += bionic/libc/private 31 32LOCAL_MODULE:= libGLES_trace 33LOCAL_MODULE_TAGS := optional 34 35include $(BUILD_SHARED_LIBRARY) 36