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

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

Issue 2451843002: Add Store+Sync to 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 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",
24 "reading_list_model_storage_defaults.mm",
25 "reading_list_pref_names.cc", 23 "reading_list_pref_names.cc",
26 "reading_list_pref_names.h", 24 "reading_list_pref_names.h",
25 "reading_list_store.cc",
26 "reading_list_store.h",
27 "reading_list_store_delegate.h",
27 "url_downloader.cc", 28 "url_downloader.cc",
28 "url_downloader.h", 29 "url_downloader.h",
29 ] 30 ]
30 deps = [ 31 deps = [
31 "//base", 32 "//base",
32 "//components/keyed_service/core", 33 "//components/keyed_service/core",
33 "//components/keyed_service/ios", 34 "//components/keyed_service/ios",
34 "//components/pref_registry", 35 "//components/pref_registry",
35 "//components/prefs", 36 "//components/prefs",
37 "//components/sync",
38 "//components/sync/protocol",
36 "//ios/chrome/browser", 39 "//ios/chrome/browser",
37 "//ios/chrome/browser/browser_state", 40 "//ios/chrome/browser/browser_state",
41 "//ios/chrome/browser/reading_list/proto",
38 "//ios/web", 42 "//ios/web",
39 "//net", 43 "//net",
40 "//url", 44 "//url",
41 ] 45 ]
42 public_deps = [ 46 public_deps = [
43 "//ios/chrome/browser/dom_distiller", 47 "//ios/chrome/browser/dom_distiller",
44 ] 48 ]
45 } 49 }
46 50
47 source_set("unit_tests") { 51 source_set("unit_tests") {
48 testonly = true 52 testonly = true
49 sources = [ 53 sources = [
50 "reading_list_entry_unittest.cc", 54 "reading_list_entry_unittest.cc",
51 "reading_list_model_storage_unittest.mm",
52 "reading_list_model_unittest.cc", 55 "reading_list_model_unittest.cc",
56 "reading_list_store_unittest.cc",
53 "url_downloader_unittest.cc", 57 "url_downloader_unittest.cc",
54 ] 58 ]
55 deps = [ 59 deps = [
56 ":reading_list", 60 ":reading_list",
57 "//base", 61 "//base",
58 "//base/test:test_support", 62 "//base/test:test_support",
63 "//components/sync:test_support_model",
64 "//components/sync/protocol",
59 "//ios/chrome/browser", 65 "//ios/chrome/browser",
60 "//ios/chrome/browser/dom_distiller", 66 "//ios/chrome/browser/dom_distiller",
67 "//ios/chrome/browser/reading_list/proto",
61 "//ios/web:test_support", 68 "//ios/web:test_support",
62 "//testing/gtest", 69 "//testing/gtest",
63 ] 70 ]
64 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698