aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2015-07-28 16:28:22 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-07-29 16:00:02 +0000
commit83c3b6668919c6723dd3ac4a1efd623fa066a669 (patch)
tree170fc5ebeac336e92391361802bfb6bb3ffaa57d /third_party
parentfaf7841c632256b9408042edc4946642507eb634 (diff)
Add md5_test.cc to Bazel.
-- MOS_MIGRATED_REVID=99284904
Diffstat (limited to 'third_party')
-rw-r--r--third_party/BUILD14
-rw-r--r--third_party/README.md7
2 files changed, 21 insertions, 0 deletions
diff --git a/third_party/BUILD b/third_party/BUILD
index 5a1fff7380..fd44a9cc1a 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -317,6 +317,20 @@ java_import(
jars = ["truth/truth-0.27.jar"],
)
+cc_library(
+ name = "gtest",
+ srcs = [
+ "gtest/gtest-all.cc",
+ "gtest/gtest_main.cc",
+ ],
+ hdrs = [
+ "gtest/gtest.h",
+ ],
+ includes = ["."],
+ # gtest detects pthread, and the linker fails without it.
+ linkopts = ["-lpthread"],
+)
+
# To be used by the skylark example.
filegroup(
name = "junit4-jars",
diff --git a/third_party/README.md b/third_party/README.md
index e5ce4268be..bf4ccdbd2e 100644
--- a/third_party/README.md
+++ b/third_party/README.md
@@ -126,6 +126,13 @@ a minimal set of extra dependencies.
* License: New BSD License
+[gtest](https://code.google.com/p/googletest/)
+------
+
+* Version: 1.7.0
+* License: New BSD License
+
+
[gson](https://code.google.com/p/google-gson/)
------