blob: 3383c0d7d3fad820c64f0fca8c3d8cf633028e2d [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
### profiler ###########################################
$(call emugl-begin-shared-library,libGoldfishProfiler)
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 30 && echo isApi30OrHigher),isApi30OrHigher)
LOCAL_CFLAGS += -DLOG_TAG=\"emuglProfiler\"
LOCAL_SHARED_LIBRARIES := liblog \
libbase
LOCAL_SRC_FILES := \
profiler.cpp \
perfetto.cpp
LOCAL_TIDY_DISABLED_SRCS := perfetto.cpp
else
LOCAL_SRC_FILES := \
profiler_stub.cpp
endif
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
$(call emugl-end-module)