mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
5d523ea06a
This allows fairly easy profiling on Android without rooting.
16 lines
741 B
Makefile
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)
|