1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE_TAGS := examples 5 LOCAL_C_INCLUDES := \ 6 $(call include-path-for, audio-utils) \ 7 frameworks/av/media/libaaudio/include \ 8 frameworks/av/media/libaaudio/examples/utils 9 10 # TODO reorganize folders to avoid using ../ 11 LOCAL_SRC_FILES:= ../src/input_monitor.cpp 12 13 LOCAL_SHARED_LIBRARIES := libaudioutils libmedia \ 14 libbinder libcutils libutils \ 15 libaudioclient liblog libtinyalsa libaudiomanager 16 LOCAL_STATIC_LIBRARIES := libaaudio 17 18 LOCAL_MODULE := input_monitor 19 include $(BUILD_EXECUTABLE) 20 21 22 include $(CLEAR_VARS) 23 LOCAL_MODULE_TAGS := tests 24 LOCAL_C_INCLUDES := \ 25 $(call include-path-for, audio-utils) \ 26 frameworks/av/media/libaaudio/include \ 27 frameworks/av/media/libaaudio/examples/utils 28 29 LOCAL_SRC_FILES:= ../src/input_monitor_callback.cpp 30 31 LOCAL_SHARED_LIBRARIES := libaudioutils libmedia \ 32 libbinder libcutils libutils \ 33 libaudioclient liblog libaudiomanager 34 LOCAL_STATIC_LIBRARIES := libaaudio 35 36 LOCAL_MODULE := input_monitor_callback 37 include $(BUILD_EXECUTABLE) 38