aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/3.4.0/gmock.BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/3.4.0/gmock.BUILD')
-rw-r--r--third_party/protobuf/3.4.0/gmock.BUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/third_party/protobuf/3.4.0/gmock.BUILD b/third_party/protobuf/3.4.0/gmock.BUILD
new file mode 100644
index 0000000000..b1ae15a919
--- /dev/null
+++ b/third_party/protobuf/3.4.0/gmock.BUILD
@@ -0,0 +1,28 @@
+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"],
+)