1 cc_library_shared { 2 name: "libldacBT_enc", 3 vendor_available: true, 4 arch: { 5 arm: { 6 instruction_set: "arm", 7 }, 8 }, 9 export_include_dirs: ["inc"], 10 srcs: [ 11 "src/ldaclib.c", 12 "src/ldacBT.c", 13 ], 14 // -D_32BIT_FIXED_POINT should be added to cflags for devices without a FPU 15 // unit such as ARM Cortex-R series or external 32-bit DSPs. 16 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"], 17 } 18 19 cc_library_shared { 20 name: "libldacBT_abr", 21 vendor_available: true, 22 arch: { 23 arm: { 24 instruction_set: "arm", 25 }, 26 }, 27 export_include_dirs: ["abr/inc"], 28 srcs: ["abr/src/ldacBT_abr.c"], 29 shared_libs: ["libldacBT_enc"], 30 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"] 31 } 32