protobuf/gmock.BUILD

29 lines
616 B
Plaintext
Raw Normal View History

cc_library(
name = "gtest",
srcs = [
2016-09-09 16:45:37 +00:00
"googletest/src/gtest-all.cc",
"googlemock/src/gmock-all.cc",
],
hdrs = glob([
2016-09-09 16:45:37 +00:00
"**/*.h",
"googletest/src/*.cc",
"googlemock/src/*.cc",
]),
includes = [
2016-09-09 16:45:37 +00:00
"googlemock",
"googletest",
"googletest/include",
"googlemock/include",
],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
)
cc_library(
name = "gtest_main",
2016-09-09 16:45:37 +00:00
srcs = ["googlemock/src/gmock_main.cc"],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
deps = [":gtest"],
)