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