Enrico Granata | 6a8782c | 2019-05-09 15:13:34 -0700 | [diff] [blame] | 1 | // Copyright 2019 The Android Open Source Project |
| 2 | |
| 3 | cc_library_headers { |
| 4 | name: "libiio_headers", |
| 5 | export_include_dirs: ["include"], |
| 6 | } |
| 7 | |
| 8 | cc_library_shared { |
| 9 | name: "libiio", |
| 10 | srcs: [ |
| 11 | "src/backend.c", |
| 12 | "src/buffer.c", |
| 13 | "src/channel.c", |
| 14 | "src/context.c", |
| 15 | "src/device.c", |
| 16 | "src/local.c", |
| 17 | "src/scan.c", |
Ryo Hashimoto | 8fcb4fb | 2020-02-03 18:17:14 +0900 | [diff] [blame] | 18 | "src/sort.c", |
Enrico Granata | 6a8782c | 2019-05-09 15:13:34 -0700 | [diff] [blame] | 19 | "src/utilities.c", |
| 20 | ], |
| 21 | |
| 22 | cflags: [ |
| 23 | "-Wall", |
| 24 | "-Werror", |
Ryo Hashimoto | 8fcb4fb | 2020-02-03 18:17:14 +0900 | [diff] [blame] | 25 | "-Wno-sign-compare", |
Enrico Granata | 6a8782c | 2019-05-09 15:13:34 -0700 | [diff] [blame] | 26 | "-Wno-unused-parameter", |
| 27 | ], |
| 28 | } |