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

Side by Side Diff: ios/chrome/browser/reading_list/BUILD.gn

Issue 2451843002: Add Store+Sync to reading list. (Closed)
Patch Set: reading_list_model_unittests 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("reading_list") { 5 source_set("reading_list") {
6 sources = [ 6 sources = [
7 "reading_list_download_service.cc", 7 "reading_list_download_service.cc",
8 "reading_list_download_service.h", 8 "reading_list_download_service.h",
9 "reading_list_download_service_factory.cc", 9 "reading_list_download_service_factory.cc",
10 "reading_list_download_service_factory.h", 10 "reading_list_download_service_factory.h",
11 "reading_list_entry.cc", 11 "reading_list_entry.cc",
12 "reading_list_entry.h", 12 "reading_list_entry.h",
13 "reading_list_model.cc", 13 "reading_list_model.cc",
14 "reading_list_model.h", 14 "reading_list_model.h",
15 "reading_list_model_bridge_observer.h", 15 "reading_list_model_bridge_observer.h",
16 "reading_list_model_bridge_observer.mm", 16 "reading_list_model_bridge_observer.mm",
17 "reading_list_model_factory.cc", 17 "reading_list_model_factory.cc",
18 "reading_list_model_factory.h", 18 "reading_list_model_factory.h",
19 "reading_list_model_impl.cc", 19 "reading_list_model_impl.cc",
20 "reading_list_model_impl.h", 20 "reading_list_model_impl.h",
21 "reading_list_model_observer.h", 21 "reading_list_model_observer.h",
22 "reading_list_model_storage.h", 22 "reading_list_model_storage.h",
23 "reading_list_model_storage_defaults.h", 23 "reading_list_pref_names.cc",
24 "reading_list_model_storage_defaults.mm", 24 "reading_list_pref_names.h",
25 "reading_list_store.cc",
26 "reading_list_store.h",
25 "url_downloader.cc", 27 "url_downloader.cc",
26 "url_downloader.h", 28 "url_downloader.h",
27 ] 29 ]
28 deps = [ 30 deps = [
29 "//base", 31 "//base",
30 "//components/keyed_service/core", 32 "//components/keyed_service/core",
31 "//components/keyed_service/ios", 33 "//components/keyed_service/ios",
34 "//components/leveldb_proto",
35 "//components/pref_registry",
36 "//components/prefs",
37 "//components/sync",
38 "//components/sync/protocol",
32 "//ios/chrome/browser:browser_no_public_deps", 39 "//ios/chrome/browser:browser_no_public_deps",
33 "//ios/chrome/browser/browser_state", 40 "//ios/chrome/browser/browser_state",
41 "//ios/chrome/browser/reading_list/proto",
34 "//ios/web", 42 "//ios/web",
35 "//net", 43 "//net",
36 "//url", 44 "//url",
37 ] 45 ]
38 public_deps = [ 46 public_deps = [
39 "//ios/chrome/browser/dom_distiller", 47 "//ios/chrome/browser/dom_distiller",
40 ] 48 ]
41 } 49 }
42 50
43 source_set("unit_tests") { 51 source_set("unit_tests") {
44 testonly = true 52 testonly = true
45 sources = [ 53 sources = [
46 "reading_list_entry_unittest.cc", 54 "reading_list_entry_unittest.cc",
47 "reading_list_model_storage_unittest.mm",
48 "reading_list_model_unittest.cc", 55 "reading_list_model_unittest.cc",
56 "reading_list_store_unittest.cc",
49 "url_downloader_unittest.cc", 57 "url_downloader_unittest.cc",
50 ] 58 ]
51 deps = [ 59 deps = [
52 ":reading_list", 60 ":reading_list",
53 "//base", 61 "//base",
54 "//base/test:test_support", 62 "//base/test:test_support",
63 "//components/sync/protocol",
55 "//ios/chrome/browser", 64 "//ios/chrome/browser",
56 "//ios/chrome/browser/dom_distiller", 65 "//ios/chrome/browser/dom_distiller",
66 "//ios/chrome/browser/reading_list/proto",
57 "//ios/web:test_support", 67 "//ios/web:test_support",
58 "//testing/gtest", 68 "//testing/gtest",
59 ] 69 ]
60 } 70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698