blob: a37e68dadd87c52d7635b94d5ce5e65f0439d01b [file] [log] [blame]
Subash Abhinov Kasiviswanathan2745d132019-12-11 16:53:08 -07001cc_library_headers {
2 name: "librmnetctl_headers",
3 export_include_dirs: ["inc"],
4 vendor: true,
5}
6
7cc_defaults {
8 name: "librmnetctl_defaults",
9 cflags: [
10 "-Wall",
11 "-Werror",
12 ],
13 header_libs: ["librmnetctl_headers"],
14 vendor: true,
15}
16
17cc_library_shared {
18 name: "librmnetctl",
Han Wangb30e1222018-11-02 13:02:38 +020019 header_libs: ["generated_kernel_headers"],
Bruno Martins75fa55a2020-10-15 00:05:35 +010020 defaults: [
21 "librmnetctl_defaults",
22 "librmnetctl_pre_uplink_defaults",
23 ],
Subash Abhinov Kasiviswanathan2745d132019-12-11 16:53:08 -070024 srcs: ["src/librmnetctl.c"],
25}
26
27cc_binary {
28 name: "rmnetcli",
29 shared_libs: ["librmnetctl"],
30 defaults: ["librmnetctl_defaults"],
31 srcs: ["cli/rmnetcli.c"],
32}