1LOCAL_PATH := $(call my-dir) 2 3### profiler ########################################### 4$(call emugl-begin-shared-library,libGoldfishProfiler) 5 6ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 30 && echo isApi30OrHigher),isApi30OrHigher) 7 LOCAL_CFLAGS += -DLOG_TAG=\"emuglProfiler\" 8 9 LOCAL_SHARED_LIBRARIES := liblog \ 10 libbase 11 12 LOCAL_SRC_FILES := \ 13 profiler.cpp \ 14 perfetto.cpp 15 16 LOCAL_TIDY_DISABLED_SRCS := perfetto.cpp 17else 18 LOCAL_SRC_FILES := \ 19 profiler_stub.cpp 20 21endif 22 23$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 24 25$(call emugl-end-module)