Jack He | 9a3015d | 2017-01-10 15:51:04 -0800 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libldacBT_enc", |
Vijay Venkatraman | 7f348fe | 2017-05-17 14:19:58 -0700 | [diff] [blame] | 3 | vendor_available: true, |
Justin Yun | 80947e8 | 2020-11-11 18:09:56 +0900 | [diff] [blame^] | 4 | product_available: true, |
Justin Yun | aa89fab | 2017-07-24 15:19:44 +0900 | [diff] [blame] | 5 | vndk: { |
| 6 | enabled: true, |
| 7 | }, |
Jack He | 9a3015d | 2017-01-10 15:51:04 -0800 | [diff] [blame] | 8 | 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 Radoslavov | 9ae924d | 2017-02-23 20:54:41 -0800 | [diff] [blame] | 20 | cflags: ["-O2", "-Werror", "-Wall", "-Wextra"], |
Jack He | 9a3015d | 2017-01-10 15:51:04 -0800 | [diff] [blame] | 21 | } |
Chisato Kenmochi | 878aad2 | 2017-02-28 13:55:31 +0900 | [diff] [blame] | 22 | |
| 23 | cc_library_shared { |
| 24 | name: "libldacBT_abr", |
Vijay Venkatraman | 7f348fe | 2017-05-17 14:19:58 -0700 | [diff] [blame] | 25 | vendor_available: true, |
Justin Yun | 80947e8 | 2020-11-11 18:09:56 +0900 | [diff] [blame^] | 26 | product_available: true, |
Justin Yun | aa89fab | 2017-07-24 15:19:44 +0900 | [diff] [blame] | 27 | vndk: { |
| 28 | enabled: true, |
| 29 | }, |
Chisato Kenmochi | 878aad2 | 2017-02-28 13:55:31 +0900 | [diff] [blame] | 30 | 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 | } |