b79dfe6721
Cleans up manual uses of stlport and bionic (and removes uses of private bionic headers). Change-Id: I157309d702e59152adfa3450939082248ae4c043
36 lines
897 B
Makefile
36 lines
897 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
|
|
|
LOCAL_SRC_FILES := \
|
|
src/gltrace_api.cpp \
|
|
src/gltrace_context.cpp \
|
|
src/gltrace_egl.cpp \
|
|
src/gltrace_eglapi.cpp \
|
|
src/gltrace_fixup.cpp \
|
|
src/gltrace_hooks.cpp \
|
|
src/gltrace.pb.cpp \
|
|
src/gltrace_transport.cpp
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
$(LOCAL_PATH) \
|
|
$(LOCAL_PATH)/../ \
|
|
external/protobuf/src \
|
|
external \
|
|
|
|
LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI
|
|
LOCAL_STATIC_LIBRARIES := libprotobuf-cpp-2.3.0-lite liblzf
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils liblog
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=\"libGLES_trace\"
|
|
|
|
# we need to access the private Bionic header <bionic_tls.h>
|
|
LOCAL_C_INCLUDES += bionic/libc/private
|
|
|
|
LOCAL_MODULE:= libGLES_trace
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include external/stlport/libstlport.mk
|
|
include $(BUILD_SHARED_LIBRARY)
|