ppsspp/android/android-ndk-profiler/Android.mk
Unknown W. Brackets 5d523ea06a Add android-ndk-profiler v3.2.
This allows fairly easy profiling on Android without rooting.
2013-11-02 21:54:45 -07:00

16 lines
741 B
Makefile

TARGET_thumb_release_CFLAGS := $(filter-out -ffunction-sections,$(TARGET_thumb_release_CFLAGS))
TARGET_thumb_release_CFLAGS := $(filter-out -fomit-frame-pointer,$(TARGET_thumb_release_CFLAGS))
TARGET_arm_release_CFLAGS := $(filter-out -ffunction-sections,$(TARGET_arm_release_CFLAGS))
TARGET_arm_release_CFLAGS := $(filter-out -fomit-frame-pointer,$(TARGET_arm_release_CFLAGS))
TARGET_CFLAGS := $(filter-out -ffunction-sections,$(TARGET_CFLAGS))
LOCAL_PATH := $(call my-dir)
# include libandprof.a in the build
include $(CLEAR_VARS)
LOCAL_MODULE := android-ndk-profiler
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libandroid-ndk-profiler.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_LDLIBS := -llog
include $(PREBUILT_STATIC_LIBRARY)