Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: components/offline_pages/BUILD.gn

Issue 1504243002: [Offline pages] Refactoring helper classes out from offline_page_model_unittest.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing gn build and addressing comments Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/offline_page_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/BUILD.gn
diff --git a/components/offline_pages/BUILD.gn b/components/offline_pages/BUILD.gn
index 2884333074911d265c4ae2cc343d8ca6d3d03a9a..b5311a8171376fde685f8da3645234873bcdbb90 100644
--- a/components/offline_pages/BUILD.gn
+++ b/components/offline_pages/BUILD.gn
@@ -36,6 +36,23 @@ static_library("offline_pages") {
]
}
+static_library("test_support") {
+ testonly = true
+ sources = [
+ "offline_page_test_archiver.cc",
+ "offline_page_test_archiver.h",
+ "offline_page_test_store.cc",
+ "offline_page_test_store.h",
+ ]
+
+ deps = [
+ ":offline_pages",
+ "//base",
+ "//testing/gtest",
+ "//url",
+ ]
+}
+
source_set("unit_tests") {
testonly = true
sources = [
@@ -45,6 +62,7 @@ source_set("unit_tests") {
deps = [
":offline_pages",
+ ":test_support",
"//base",
"//components/bookmarks/browser",
"//components/leveldb_proto",
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/offline_page_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698