1 cc_library_shared { 2 name: "libloopback", 3 srcs: [ 4 "sles.cpp", 5 "byte_buffer.c", 6 "jni_native.c", 7 "loopback.c", 8 "audio_utils/atomic.c", 9 "audio_utils/fifo.c", 10 "audio_utils/roundup.c", 11 "lb2/loopback_test.cpp", 12 "lb2/sound_system_echo.cpp", 13 "lb2/test_context.cpp", 14 "lb2/loopback2.cpp", 15 "lb2/sound_system_aaudio.cpp", 16 "lb2/oboe/src/aaudio/AAudioLoader.cpp", 17 ], 18 include_dirs: [ 19 "frameworks/wilhelm/include", 20 "frameworks/av/media/libaaudio/include", 21 ], 22 shared_libs: [ 23 "libOpenSLES", 24 "libdl", 25 "liblog", 26 "libandroid", 27 ], 28 //LOCAL_LDFLAGS += -Wl,--hash-style=sysv 29 //LOCAL_CFLAGS := -DSTDC_HEADERS 30 cppflags: [ 31 "-fexceptions", 32 ], 33 cpp_std: "c++11", 34 c_std: "c11", 35 } 36