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

Unified Diff: components/reading_list/core/BUILD.gn

Issue 2763233003: Move ReadingList model to components/reading_list/core (Closed)
Patch Set: feedback Created 3 years, 9 months 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/browser_sync/BUILD.gn ('k') | components/reading_list/core/offline_url_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/reading_list/core/BUILD.gn
diff --git a/components/reading_list/core/BUILD.gn b/components/reading_list/core/BUILD.gn
index f45b10c0b421a0dfb83bfe035648d24655d0c021..a5d4f131998fd90cdae278fcf7e6dfcd726ccc10 100644
--- a/components/reading_list/core/BUILD.gn
+++ b/components/reading_list/core/BUILD.gn
@@ -7,13 +7,67 @@ import("//components/reading_list/core/reading_list.gni")
source_set("core") {
sources = [
+ "offline_url_utils.cc",
+ "offline_url_utils.h",
+ "reading_list_entry.cc",
+ "reading_list_entry.h",
+ "reading_list_model.cc",
+ "reading_list_model.h",
+ "reading_list_model_impl.cc",
+ "reading_list_model_impl.h",
+ "reading_list_model_observer.h",
+ "reading_list_model_storage.cc",
+ "reading_list_model_storage.h",
+ "reading_list_pref_names.cc",
+ "reading_list_pref_names.h",
+ "reading_list_store.cc",
+ "reading_list_store.h",
+ "reading_list_store_delegate.h",
+ ]
+ deps = [
+ ":flags",
+ "//base",
+ "//components/keyed_service/core",
+ "//components/prefs",
+ "//components/sync",
+ "//net",
+ "//url",
+ ]
+ public_deps = [
+ "//components/reading_list/core/proto",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "offline_url_utils_unittest.cc",
+ "reading_list_entry_unittest.cc",
+ "reading_list_model_unittest.cc",
+ "reading_list_store_unittest.cc",
+ ]
+ deps = [
+ ":core",
+ "//base",
+ "//base/test:test_support",
+ "//components/sync",
+ "//components/sync:test_support_model",
+ "//testing/gtest",
+ "//url",
+ ]
+}
+
+source_set("flags") {
+ sources = [
"reading_list_switches.cc",
"reading_list_switches.h",
]
deps = [
- ":reading_list_enable_flags",
"//base",
]
+ public_deps = [
+ ":reading_list_enable_flags",
+ ]
}
buildflag_header("reading_list_enable_flags") {
« no previous file with comments | « components/browser_sync/BUILD.gn ('k') | components/reading_list/core/offline_url_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698