| 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 \ | 
| Jeff Davidson | a9650f0 | 2015-01-12 20:07:43 +0000 | [diff] [blame] | 13 | src/gltrace_transport.cpp \ | 
|  | 14 | $(call all-proto-files-under, proto) | 
| 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)/../ \ | 
| Jeff Davidson | a9650f0 | 2015-01-12 20:07:43 +0000 | [diff] [blame] | 19 | external | 
| David Li | 2f5a655 | 2011-03-01 16:08:10 -0800 | [diff] [blame] | 20 |  | 
| Dan Albert | 6d72063 | 2014-11-15 18:18:17 -0800 | [diff] [blame] | 21 | LOCAL_STATIC_LIBRARIES := liblzf | 
| Jeff Davidson | a9650f0 | 2015-01-12 20:07:43 +0000 | [diff] [blame] | 22 | LOCAL_SHARED_LIBRARIES := libcutils libutils liblog | 
|  | 23 |  | 
|  | 24 | LOCAL_PROTOC_OPTIMIZE_TYPE := lite | 
| 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 |  | 
| David Li | 864f839 | 2011-03-28 10:39:28 -0700 | [diff] [blame] | 34 | include $(BUILD_SHARED_LIBRARY) |