Jack He | 9a3015d | 2017-01-10 15:51:04 -0800 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libldacBT_enc", |
| 3 | arch: { |
| 4 | arm: { |
| 5 | instruction_set: "arm", |
| 6 | }, |
| 7 | }, |
| 8 | export_include_dirs: ["inc"], |
| 9 | srcs: [ |
| 10 | "src/ldaclib.c", |
| 11 | "src/ldacBT.c", |
| 12 | ], |
| 13 | // -D_32BIT_FIXED_POINT should be added to cflags for devices without a FPU |
| 14 | // unit such as ARM Cortex-R series or external 32-bit DSPs. |
Pavlin Radoslavov | 9ae924d | 2017-02-23 20:54:41 -0800 | [diff] [blame^] | 15 | cflags: ["-O2", "-Werror", "-Wall", "-Wextra"], |
Jack He | 9a3015d | 2017-01-10 15:51:04 -0800 | [diff] [blame] | 16 | } |