1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_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 15 LOCAL_C_INCLUDES := \ 16 $(LOCAL_PATH) \ 17 $(LOCAL_PATH)/../ \ 18 external/stlport/stlport \ 19 external/protobuf/src \ 20 external \ 21 bionic 22 23 LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI 24 LOCAL_STATIC_LIBRARIES := libprotobuf-cpp-2.3.0-lite liblzf 25 LOCAL_SHARED_LIBRARIES := libcutils libutils liblog libstlport 26 27 LOCAL_CFLAGS += -DLOG_TAG=\"libGLES_trace\" 28 29 # we need to access the private Bionic header <bionic_tls.h> 30 LOCAL_C_INCLUDES += bionic/libc/private 31 32 LOCAL_MODULE:= libGLES_trace 33 LOCAL_MODULE_TAGS := optional 34 35 include $(BUILD_SHARED_LIBRARY) 36