blob: a37e68dadd87c52d7635b94d5ce5e65f0439d01b [file] [log] [blame]
cc_library_headers {
name: "librmnetctl_headers",
export_include_dirs: ["inc"],
vendor: true,
}
cc_defaults {
name: "librmnetctl_defaults",
cflags: [
"-Wall",
"-Werror",
],
header_libs: ["librmnetctl_headers"],
vendor: true,
}
cc_library_shared {
name: "librmnetctl",
header_libs: ["generated_kernel_headers"],
defaults: [
"librmnetctl_defaults",
"librmnetctl_pre_uplink_defaults",
],
srcs: ["src/librmnetctl.c"],
}
cc_binary {
name: "rmnetcli",
shared_libs: ["librmnetctl"],
defaults: ["librmnetctl_defaults"],
srcs: ["cli/rmnetcli.c"],
}