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 16else 17 LOCAL_SRC_FILES := \ 18 profiler_stub.cpp 19 20endif 21 22$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 23 24$(call emugl-end-module)