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

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

Issue 2511723002: Enable RL sync by default on iOS (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
Index: components/reading_list/ios/BUILD.gn
diff --git a/components/reading_list/BUILD.gn b/components/reading_list/ios/BUILD.gn
similarity index 74%
rename from components/reading_list/BUILD.gn
rename to components/reading_list/ios/BUILD.gn
index f13d6784304b655c4258e03db667ef5774adc49d..dfc179bb7060f81352cee0ba2691d198dce8f919 100644
--- a/components/reading_list/BUILD.gn
+++ b/components/reading_list/ios/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.
-source_set("reading_list") {
+source_set("ios") {
sources = [
"offline_url_utils.cc",
"offline_url_utils.h",
@@ -21,23 +21,18 @@ source_set("reading_list") {
"reading_list_store.cc",
"reading_list_store.h",
"reading_list_store_delegate.h",
- "reading_list_switches.cc",
- "reading_list_switches.h",
]
deps = [
"//base",
"//components/keyed_service/core",
- "//components/keyed_service/ios",
- "//components/pref_registry",
"//components/prefs",
+ "//components/reading_list/core",
"//components/sync",
- "//components/sync/protocol",
- "//ios/web",
"//net",
"//url",
]
public_deps = [
- "//components/reading_list/proto",
+ "//components/reading_list/ios/proto",
]
}
@@ -46,16 +41,15 @@ source_set("unit_tests") {
sources = [
"offline_url_utils_unittest.cc",
"reading_list_entry_unittest.cc",
- "reading_list_model_unittest.cc",
- "reading_list_store_unittest.cc",
+ "reading_list_model_unittest.mm",
+ "reading_list_store_unittest.mm",
]
deps = [
- ":reading_list",
+ ":ios",
"//base",
"//base/test:test_support",
+ "//components/sync",
"//components/sync:test_support_model",
- "//components/sync/protocol",
- "//ios/web:test_support",
"//testing/gtest",
"//url",
]
« no previous file with comments | « components/reading_list/core/reading_list_switches.cc ('k') | components/reading_list/ios/offline_url_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698