1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_MODULE_TAGS := tests 5LOCAL_C_INCLUDES := \ 6 $(call include-path-for, audio-utils) \ 7 frameworks/av/media/libaaudio/include \ 8 frameworks/av/media/libaaudio/src \ 9 frameworks/av/media/libaaudio/examples/utils 10 11# NDK recommends using this kind of relative path instead of an absolute path. 12LOCAL_SRC_FILES:= ../src/input_monitor.cpp 13LOCAL_SHARED_LIBRARIES := libaaudio 14LOCAL_MODULE := input_monitor_ndk 15include $(BUILD_EXECUTABLE) 16 17include $(CLEAR_VARS) 18LOCAL_MODULE_TAGS := tests 19LOCAL_C_INCLUDES := \ 20 $(call include-path-for, audio-utils) \ 21 frameworks/av/media/libaaudio/include \ 22 frameworks/av/media/libaaudio/examples/utils 23 24LOCAL_SRC_FILES:= ../src/input_monitor_callback.cpp 25LOCAL_SHARED_LIBRARIES := libaaudio 26LOCAL_MODULE := input_monitor_callback_ndk 27include $(BUILD_EXECUTABLE) 28 29include $(CLEAR_VARS) 30LOCAL_MODULE := libaaudio_prebuilt 31LOCAL_SRC_FILES := libaaudio.so 32LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include 33include $(PREBUILT_SHARED_LIBRARY)