blob: 27194cee1044ad5a88e3d58eb6e9ca30e11e1445 [file] [log] [blame]
package(default_visibility = ["//visibility:public"])
cc_library(
name = "basics-cxx",
srcs = [
"basics.cpp",
"execmeta.cpp",
"fileutils.cpp",
"iputils.cpp",
"modinit.cpp",
"processutils.cpp",
"randutils.cpp",
"ridgen.cpp",
"sockutils.cpp",
"strutils.cpp",
"mempool.cpp",
"callback.h",
"callback1.h",
"classcallback.h",
"classcallback1.h",
"execmeta.h",
"fileutils.h",
"iputils.h",
"modinit.h",
"processutils.h",
"randutils.h",
"ridgen.h",
"sockutils.h",
"spconsts.h",
"spfuncs.h",
"sphash.h",
"sprcodes.h",
"sptest.h",
"sptypes.h",
"strutils.h",
"mempool.h",
],
hdrs = [
"basics.h",
],
copts = [
"-Ithird_party",
"-Iheron/common/src/cpp",
"-I.",
],
deps = [
"//config:config-cxx",
"//third_party/glog:glog-cxx",
"//third_party/gperftools:tcmalloc-cxx",
"//third_party/jansson:jansson-cxx",
"//third_party/kashmir:kashmir-cxx",
"//third_party/protobuf:protobuf-cxx",
] + select({
"//tools/platform:darwin": [],
"//conditions:default": ["//third_party/libunwind:libunwind-cxx"],
}),
linkstatic = 1,
)