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

Unified Diff: components/reading_list/BUILD.gn

Issue 2514333003: Componentize Reading List (Closed)
Patch Set: rebase Created 4 years, 1 month 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/BUILD.gn ('k') | components/reading_list/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/reading_list/BUILD.gn
diff --git a/ios/chrome/browser/reading_list/BUILD.gn b/components/reading_list/BUILD.gn
similarity index 68%
copy from ios/chrome/browser/reading_list/BUILD.gn
copy to components/reading_list/BUILD.gn
index b707a5c56383ec8c26e84242cdf18072c5edb2a6..f13d6784304b655c4258e03db667ef5774adc49d 100644
--- a/ios/chrome/browser/reading_list/BUILD.gn
+++ b/components/reading_list/BUILD.gn
@@ -6,18 +6,12 @@ source_set("reading_list") {
sources = [
"offline_url_utils.cc",
"offline_url_utils.h",
- "reading_list_download_service.cc",
- "reading_list_download_service.h",
- "reading_list_download_service_factory.cc",
- "reading_list_download_service_factory.h",
"reading_list_entry.cc",
"reading_list_entry.h",
"reading_list_model.cc",
"reading_list_model.h",
"reading_list_model_bridge_observer.h",
"reading_list_model_bridge_observer.mm",
- "reading_list_model_factory.cc",
- "reading_list_model_factory.h",
"reading_list_model_impl.cc",
"reading_list_model_impl.h",
"reading_list_model_observer.h",
@@ -27,10 +21,8 @@ source_set("reading_list") {
"reading_list_store.cc",
"reading_list_store.h",
"reading_list_store_delegate.h",
- "reading_list_web_state_observer.h",
- "reading_list_web_state_observer.mm",
- "url_downloader.cc",
- "url_downloader.h",
+ "reading_list_switches.cc",
+ "reading_list_switches.h",
]
deps = [
"//base",
@@ -40,15 +32,12 @@ source_set("reading_list") {
"//components/prefs",
"//components/sync",
"//components/sync/protocol",
- "//ios/chrome/browser",
- "//ios/chrome/browser/browser_state",
- "//ios/chrome/browser/reading_list/proto",
"//ios/web",
"//net",
"//url",
]
public_deps = [
- "//ios/chrome/browser/dom_distiller",
+ "//components/reading_list/proto",
]
}
@@ -59,7 +48,6 @@ source_set("unit_tests") {
"reading_list_entry_unittest.cc",
"reading_list_model_unittest.cc",
"reading_list_store_unittest.cc",
- "url_downloader_unittest.cc",
]
deps = [
":reading_list",
@@ -67,9 +55,6 @@ source_set("unit_tests") {
"//base/test:test_support",
"//components/sync:test_support_model",
"//components/sync/protocol",
- "//ios/chrome/browser",
- "//ios/chrome/browser/dom_distiller",
- "//ios/chrome/browser/reading_list/proto",
"//ios/web:test_support",
"//testing/gtest",
"//url",
« no previous file with comments | « components/BUILD.gn ('k') | components/reading_list/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698