Bob Badour | 37cbae4 | 2021-02-12 14:46:18 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: [ |
| 3 | "device_linaro_dragonboard_qcom_qrtr_license", |
| 4 | ], |
| 5 | } |
| 6 | |
| 7 | // Added automatically by a large-scale-change |
| 8 | // See: http://go/android-license-faq |
| 9 | license { |
| 10 | name: "device_linaro_dragonboard_qcom_qrtr_license", |
| 11 | visibility: [":__subpackages__"], |
| 12 | license_kinds: [ |
| 13 | "SPDX-license-identifier-BSD", |
| 14 | ], |
| 15 | license_text: [ |
| 16 | "LICENSE", |
| 17 | ], |
| 18 | } |
| 19 | |
Amit Pundir | d477f82 | 2020-02-07 22:26:08 +0530 | [diff] [blame] | 20 | cc_library { |
| 21 | name: "libqrtr", |
| 22 | vendor: true, |
| 23 | srcs: [ |
| 24 | "lib/logging.c", |
| 25 | "lib/qrtr.c", |
| 26 | "lib/qmi.c", |
| 27 | ], |
| 28 | cflags: ["-fPIC"], |
| 29 | export_include_dirs: ["lib"], |
| 30 | local_include_dirs: ["src"], |
| 31 | } |
| 32 | |
| 33 | cc_binary { |
| 34 | name: "qrtr-ns", |
| 35 | vendor: true, |
| 36 | srcs: [ |
| 37 | "lib/logging.c", |
| 38 | "src/addr.c", |
| 39 | "src/ns.c", |
| 40 | "src/map.c", |
| 41 | "src/hash.c", |
| 42 | "src/waiter.c", |
| 43 | "src/util.c", |
| 44 | ], |
| 45 | local_include_dirs: ["lib"], |
| 46 | } |
| 47 | |
| 48 | cc_binary { |
| 49 | name: "qrtr-cfg", |
| 50 | vendor: true, |
| 51 | srcs: [ |
| 52 | "lib/logging.c", |
| 53 | "src/addr.c", |
| 54 | "src/cfg.c", |
| 55 | ], |
| 56 | local_include_dirs: ["lib"], |
| 57 | } |
| 58 | |
| 59 | cc_binary { |
| 60 | name: "qrtr-lookup", |
| 61 | vendor: true, |
| 62 | srcs: [ |
| 63 | "lib/logging.c", |
| 64 | "src/lookup.c", |
| 65 | "src/util.c", |
| 66 | ], |
| 67 | local_include_dirs: ["lib"], |
| 68 | } |