1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_SRC_FILES := \ 6 AudioBufferProviderSource.cpp \ 7 AudioStreamOutSink.cpp \ 8 AudioStreamInSource.cpp \ 9 NBAIO.cpp \ 10 MonoPipe.cpp \ 11 MonoPipeReader.cpp \ 12 Pipe.cpp \ 13 PipeReader.cpp \ 14 roundup.c \ 15 SourceAudioBufferProvider.cpp 16 17 LOCAL_SRC_FILES += NBLog.cpp 18 19 # libsndfile license is incompatible; uncomment to use for local debug only 20 #LOCAL_SRC_FILES += LibsndfileSink.cpp LibsndfileSource.cpp 21 #LOCAL_C_INCLUDES += path/to/libsndfile/src 22 #LOCAL_STATIC_LIBRARIES += libsndfile 23 24 # uncomment for systrace 25 # LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_AUDIO 26 27 LOCAL_MODULE := libnbaio 28 29 LOCAL_SHARED_LIBRARIES := \ 30 libbinder \ 31 libcommon_time_client \ 32 libcutils \ 33 libutils \ 34 liblog \ 35 libmedia 36 # This dependency on libmedia is for SingleStateQueueInstantiations. 37 # Consider a separate a library for SingleStateQueueInstantiations. 38 39 include $(BUILD_SHARED_LIBRARY) 40