1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "external_drrickorang_LoopbackApp_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["external_drrickorang_LoopbackApp_license"], 8} 9 10cc_library_shared { 11 name: "libloopback", 12 srcs: [ 13 "sles.cpp", 14 "byte_buffer.c", 15 "jni_native.c", 16 "loopback.c", 17 "audio_utils/atomic.c", 18 "audio_utils/fifo.c", 19 "audio_utils/roundup.c", 20 "lb2/loopback_test.cpp", 21 "lb2/sound_system_echo.cpp", 22 "lb2/test_context.cpp", 23 "lb2/loopback2.cpp", 24 "lb2/sound_system_aaudio.cpp", 25 "lb2/oboe/src/aaudio/AAudioLoader.cpp", 26 ], 27 include_dirs: [ 28 "frameworks/wilhelm/include", 29 "frameworks/av/media/libaaudio/include", 30 ], 31 shared_libs: [ 32 "libOpenSLES", 33 "libdl", 34 "liblog", 35 "libandroid", 36 ], 37 //LOCAL_LDFLAGS += -Wl,--hash-style=sysv 38 //LOCAL_CFLAGS := -DSTDC_HEADERS 39 cflags: [ 40 "-Wno-deprecated-declarations", 41 ], 42 cppflags: [ 43 "-fexceptions", 44 ], 45 cpp_std: "c++11", 46 c_std: "c11", 47} 48