Subash Abhinov Kasiviswanathan | 2745d13 | 2019-12-11 16:53:08 -0700 | [diff] [blame] | 1 | cc_library_headers { |
| 2 | name: "librmnetctl_headers", |
| 3 | export_include_dirs: ["inc"], |
| 4 | vendor: true, |
| 5 | } |
| 6 | |
| 7 | cc_defaults { |
| 8 | name: "librmnetctl_defaults", |
| 9 | cflags: [ |
| 10 | "-Wall", |
| 11 | "-Werror", |
| 12 | ], |
| 13 | header_libs: ["librmnetctl_headers"], |
| 14 | vendor: true, |
| 15 | } |
| 16 | |
| 17 | cc_library_shared { |
| 18 | name: "librmnetctl", |
Han Wang | b30e122 | 2018-11-02 13:02:38 +0200 | [diff] [blame] | 19 | header_libs: ["generated_kernel_headers"], |
Bruno Martins | 75fa55a | 2020-10-15 00:05:35 +0100 | [diff] [blame^] | 20 | defaults: [ |
| 21 | "librmnetctl_defaults", |
| 22 | "librmnetctl_pre_uplink_defaults", |
| 23 | ], |
Subash Abhinov Kasiviswanathan | 2745d13 | 2019-12-11 16:53:08 -0700 | [diff] [blame] | 24 | srcs: ["src/librmnetctl.c"], |
| 25 | } |
| 26 | |
| 27 | cc_binary { |
| 28 | name: "rmnetcli", |
| 29 | shared_libs: ["librmnetctl"], |
| 30 | defaults: ["librmnetctl_defaults"], |
| 31 | srcs: ["cli/rmnetcli.c"], |
| 32 | } |