aboutsummaryrefslogtreecommitdiffhomepage
path: root/gmock.BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gmock.BUILD')
-rw-r--r--gmock.BUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/gmock.BUILD b/gmock.BUILD
new file mode 100644
index 0000000000..66cddea9f4
--- /dev/null
+++ b/gmock.BUILD
@@ -0,0 +1,23 @@
+cc_library(
+ name = "gtest",
+ srcs = [
+ "gmock-1.7.0/gtest/src/gtest-all.cc",
+ "gmock-1.7.0/src/gmock-all.cc",
+ ],
+ includes = [
+ "gmock-1.7.0",
+ "gmock-1.7.0/gtest",
+ "gmock-1.7.0/gtest/include",
+ "gmock-1.7.0/include",
+ ],
+ linkopts = ["-pthread"],
+ visibility = ["//visibility:public"],
+)
+
+cc_library(
+ name = "gtest_main",
+ srcs = ["gmock-1.7.0/src/gmock_main.cc"],
+ linkopts = ["-pthread"],
+ visibility = ["//visibility:public"],
+ deps = [":gtest"],
+)