Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
616 B
28 lines
616 B
cc_library( |
|
name = "gtest", |
|
srcs = [ |
|
"googletest/src/gtest-all.cc", |
|
"googlemock/src/gmock-all.cc", |
|
], |
|
hdrs = glob([ |
|
"**/*.h", |
|
"googletest/src/*.cc", |
|
"googlemock/src/*.cc", |
|
]), |
|
includes = [ |
|
"googlemock", |
|
"googletest", |
|
"googletest/include", |
|
"googlemock/include", |
|
], |
|
linkopts = ["-pthread"], |
|
visibility = ["//visibility:public"], |
|
) |
|
|
|
cc_library( |
|
name = "gtest_main", |
|
srcs = ["googlemock/src/gmock_main.cc"], |
|
linkopts = ["-pthread"], |
|
visibility = ["//visibility:public"], |
|
deps = [":gtest"], |
|
)
|
|
|