summaryrefslogtreecommitdiffstats
path: root/components/precache/content
diff options
context:
space:
mode:
Diffstat (limited to 'components/precache/content')
-rw-r--r--components/precache/content/BUILD.gn14
1 files changed, 13 insertions, 1 deletions
diff --git a/components/precache/content/BUILD.gn b/components/precache/content/BUILD.gn
index f3f7bd9..57ca5e2 100644
--- a/components/precache/content/BUILD.gn
+++ b/components/precache/content/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("content") {
+source_set("content") {
sources = [
"precache_manager.cc",
"precache_manager.h",
@@ -17,3 +17,15 @@ static_library("content") {
"//url",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "precache_manager_unittest.cc",
+ ]
+ deps = [
+ ":content",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}