blob: 318c76f4b677101095c58f8af9e480e5d0550ed2 [file] [log] [blame]
licenses(["notice"])
exports_files(["LICENSE"])
cc_library(
name = "gtest",
srcs = [
"googlemock/src/gmock-all.cc",
"googletest/src/gtest-all.cc",
],
hdrs = glob([
"**/*.h",
"googletest/src/*.cc",
"googlemock/src/*.cc",
]),
includes = [
"googlemock",
"googlemock/include",
"googletest",
"googletest/include",
],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
)
cc_library(
name = "gtest_main",
srcs = ["googlemock/src/gmock_main.cc"],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
deps = [":gtest"],
)