David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 4 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 5 | |
| 6 | LOCAL_SRC_FILES := \ |
Siva Velusamy | 0469dd6 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 7 | src/gltrace_api.cpp \ |
| 8 | src/gltrace_context.cpp \ |
| 9 | src/gltrace_egl.cpp \ |
| 10 | src/gltrace_eglapi.cpp \ |
| 11 | src/gltrace_fixup.cpp \ |
| 12 | src/gltrace_hooks.cpp \ |
| 13 | src/gltrace.pb.cpp \ |
| 14 | src/gltrace_transport.cpp |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 15 | |
David Li | 864f839 | 2011-03-28 10:39:28 -0700 | [diff] [blame] | 16 | LOCAL_C_INCLUDES := \ |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 17 | $(LOCAL_PATH) \ |
| 18 | $(LOCAL_PATH)/../ \ |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 19 | external/protobuf/src \ |
David Li | c615816 | 2011-03-21 10:02:30 -0700 | [diff] [blame] | 20 | external \ |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 21 | |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 22 | LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI |
David Li | 864f839 | 2011-03-28 10:39:28 -0700 | [diff] [blame] | 23 | LOCAL_STATIC_LIBRARIES := libprotobuf-cpp-2.3.0-lite liblzf |
Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 24 | LOCAL_SHARED_LIBRARIES := libcutils libutils liblog |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 25 | |
Siva Velusamy | 0469dd6 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 26 | LOCAL_CFLAGS += -DLOG_TAG=\"libGLES_trace\" |
Mathias Agopian | 1ac8b72 | 2011-09-13 18:15:50 -0700 | [diff] [blame] | 27 | |
Jeff Brown | baa44b8 | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 28 | # we need to access the private Bionic header <bionic_tls.h> |
Jeff Brown | baa44b8 | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 29 | LOCAL_C_INCLUDES += bionic/libc/private |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 30 | |
Siva Velusamy | 0469dd6 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 31 | LOCAL_MODULE:= libGLES_trace |
David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 32 | LOCAL_MODULE_TAGS := optional |
| 33 | |
Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 34 | include external/stlport/libstlport.mk |
David Li | 864f839 | 2011-03-28 10:39:28 -0700 | [diff] [blame] | 35 | include $(BUILD_SHARED_LIBRARY) |