Amit Pundir | d477f82 | 2020-02-07 22:26:08 +0530 | [diff] [blame] | 1 | cc_library { |
| 2 | name: "libqrtr", |
| 3 | vendor: true, |
| 4 | srcs: [ |
| 5 | "lib/logging.c", |
| 6 | "lib/qrtr.c", |
| 7 | "lib/qmi.c", |
| 8 | ], |
| 9 | cflags: ["-fPIC"], |
| 10 | export_include_dirs: ["lib"], |
| 11 | local_include_dirs: ["src"], |
| 12 | } |
| 13 | |
| 14 | cc_binary { |
| 15 | name: "qrtr-ns", |
| 16 | vendor: true, |
| 17 | srcs: [ |
| 18 | "lib/logging.c", |
| 19 | "src/addr.c", |
| 20 | "src/ns.c", |
| 21 | "src/map.c", |
| 22 | "src/hash.c", |
| 23 | "src/waiter.c", |
| 24 | "src/util.c", |
| 25 | ], |
| 26 | local_include_dirs: ["lib"], |
| 27 | } |
| 28 | |
| 29 | cc_binary { |
| 30 | name: "qrtr-cfg", |
| 31 | vendor: true, |
| 32 | srcs: [ |
| 33 | "lib/logging.c", |
| 34 | "src/addr.c", |
| 35 | "src/cfg.c", |
| 36 | ], |
| 37 | local_include_dirs: ["lib"], |
| 38 | } |
| 39 | |
| 40 | cc_binary { |
| 41 | name: "qrtr-lookup", |
| 42 | vendor: true, |
| 43 | srcs: [ |
| 44 | "lib/logging.c", |
| 45 | "src/lookup.c", |
| 46 | "src/util.c", |
| 47 | ], |
| 48 | local_include_dirs: ["lib"], |
| 49 | } |