blob: 5ab063dd3e9908118e4f54e1833e57443d9a19be [file] [log] [blame]
Jack He9a3015d2017-01-10 15:51:04 -08001cc_library_shared {
2 name: "libldacBT_enc",
Vijay Venkatraman7f348fe2017-05-17 14:19:58 -07003 vendor_available: true,
Justin Yun80947e82020-11-11 18:09:56 +09004 product_available: true,
Justin Yunaa89fab2017-07-24 15:19:44 +09005 vndk: {
6 enabled: true,
7 },
Jack He9a3015d2017-01-10 15:51:04 -08008 arch: {
9 arm: {
10 instruction_set: "arm",
11 },
12 },
13 export_include_dirs: ["inc"],
14 srcs: [
15 "src/ldaclib.c",
16 "src/ldacBT.c",
17 ],
18 // -D_32BIT_FIXED_POINT should be added to cflags for devices without a FPU
19 // unit such as ARM Cortex-R series or external 32-bit DSPs.
Pavlin Radoslavov9ae924d2017-02-23 20:54:41 -080020 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"],
Jack He9a3015d2017-01-10 15:51:04 -080021}
Chisato Kenmochi878aad22017-02-28 13:55:31 +090022
23cc_library_shared {
24 name: "libldacBT_abr",
Vijay Venkatraman7f348fe2017-05-17 14:19:58 -070025 vendor_available: true,
Justin Yun80947e82020-11-11 18:09:56 +090026 product_available: true,
Justin Yunaa89fab2017-07-24 15:19:44 +090027 vndk: {
28 enabled: true,
29 },
Chisato Kenmochi878aad22017-02-28 13:55:31 +090030 arch: {
31 arm: {
32 instruction_set: "arm",
33 },
34 },
35 export_include_dirs: ["abr/inc"],
36 srcs: ["abr/src/ldacBT_abr.c"],
37 shared_libs: ["libldacBT_enc"],
38 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"]
39}