From 05fbe3c5185c8ba487041862496c41c304ff4c03 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 17 Feb 2017 13:27:21 -0800 Subject: Get gtest building with Bazel, add first test in test/cpp/common/BUILD --- third_party/gtest.BUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 third_party/gtest.BUILD (limited to 'third_party/gtest.BUILD') diff --git a/third_party/gtest.BUILD b/third_party/gtest.BUILD new file mode 100644 index 0000000000..bf980754ca --- /dev/null +++ b/third_party/gtest.BUILD @@ -0,0 +1,14 @@ +cc_library( + name = "gtest", + srcs = [ + "src/gtest-all.cc", + ], + hdrs = glob(["include/**/*.h", "src/*.cc", "src/*.h"]), + includes = [ + "include", "." + ], + linkstatic = 1, + visibility = [ + "//visibility:public", + ], +) -- cgit v1.2.3