Index: components/offline_pages/BUILD.gn |
diff --git a/components/offline_pages/BUILD.gn b/components/offline_pages/BUILD.gn |
index 17c32e99222c0ae2eaad88a30f5c75c703febb18..e4de8ccce111ecf213dd4f42ed1a99585bb826df 100644 |
--- a/components/offline_pages/BUILD.gn |
+++ b/components/offline_pages/BUILD.gn |
@@ -2,11 +2,13 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-# GYP: //components/offline_pages.gypi:offline_pages' |
+# GYP: //components/offline_pages.gypi:offline_pages |
static_library("offline_pages") { |
sources = [ |
"offline_page_item.cc", |
"offline_page_item.h", |
+ "offline_page_metadata_store.cc", |
+ "offline_page_metadata_store.h", |
"offline_page_model.cc", |
"offline_page_model.h", |
] |
@@ -18,3 +20,15 @@ static_library("offline_pages") { |
"//url", |
] |
} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "offline_page_model_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":offline_pages", |
+ "//testing/gtest", |
+ ] |
+} |