加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD 733 Bytes
一键复制 编辑 原始数据 按行查看 历史
package(default_visibility = ["//visibility:public"])
exports_files(["LICENSE"])
cc_library(
name = "common",
srcs = glob(["common/*.cpp"], exclude=["common/loglevel.cpp"]),
hdrs = glob([
"common/*.h",
"common/*.hpp",
]),
copts = [
"-I/usr/include/libnl3", # Expected location in the SONiC build container"
],
includes = [
"common",
],
linkopts = ["-lpthread -lhiredis -lnl-genl-3 -lnl-nf-3 -lnl-route-3 -lnl-3"],
visibility = ["//visibility:public"],
)
cc_library(
name = "libswsscommon",
hdrs = glob([
"common/*.h",
"common/*.hpp",
]),
include_prefix = "swss",
strip_include_prefix = "common",
deps = [":common"],
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化