You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
545 B
24 lines
545 B
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
|
|
|
|
else
|
|
LOCAL_SRC_FILES := \
|
|
profiler_stub.cpp
|
|
|
|
endif
|
|
|
|
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
|
|
|
|
$(call emugl-end-module) |