1# 2# Audio Stress Test Nanoapp Makefile 3# 4 5# Environment Checks ########################################################### 6 7ifeq ($(CHRE_PREFIX),) 8ifneq ($(ANDROID_BUILD_TOP),) 9CHRE_PREFIX = $(ANDROID_BUILD_TOP)/system/chre 10else 11$(error "You must run 'lunch' to setup ANDROID_BUILD_TOP, or explicitly define \ 12 the CHRE_PREFIX environment variable to point to the CHRE root \ 13 directory.") 14endif 15endif 16 17# Nanoapp Configuration ######################################################## 18 19NANOAPP_NAME_STRING = \"Audio\ Stress\ Test\" 20NANOAPP_NAME = audio_stress_test 21NANOAPP_ID = 0x012345678900000e 22NANOAPP_VERSION = 0x00000001 23 24# Common Compiler Flags ######################################################## 25 26# Defines. 27COMMON_CFLAGS += -DCHRE_NANOAPP_DISABLE_BACKCOMPAT 28COMMON_CFLAGS += -DNANOAPP_MINIMUM_LOG_LEVEL=CHRE_LOG_LEVEL_DEBUG 29 30# Common Source Files ########################################################## 31 32COMMON_SRCS += audio_stress_test.cc 33COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/audio.cc 34 35# Permission declarations ###################################################### 36 37CHRE_NANOAPP_USES_AUDIO = true 38 39# Makefile Includes ############################################################ 40 41include $(CHRE_PREFIX)/build/nanoapp/app.mk 42