summaryrefslogtreecommitdiffstats
path: root/components/error_page/renderer/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'components/error_page/renderer/BUILD.gn')
-rw-r--r--components/error_page/renderer/BUILD.gn13
1 files changed, 12 insertions, 1 deletions
diff --git a/components/error_page/renderer/BUILD.gn b/components/error_page/renderer/BUILD.gn
index bafaada..83c49a1 100644
--- a/components/error_page/renderer/BUILD.gn
+++ b/components/error_page/renderer/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("renderer") {
+source_set("renderer") {
sources = [
"net_error_helper_core.cc",
"net_error_helper_core.h",
@@ -20,3 +20,14 @@ static_library("renderer") {
"//url",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "net_error_helper_core_unittest.cc",
+ ]
+ deps = [
+ ":renderer",
+ "//testing/gtest",
+ ]
+}