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

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",
35 "//components/leveldb_proto",
pavely 2016/11/14 07:45:33 Do you need dependency on leveldb_proto?
Olivier 2016/11/14 11:36:48 Cleaned includes and removed dep.
34 "//components/pref_registry", 36 "//components/pref_registry",
35 "//components/prefs", 37 "//components/prefs",
38 "//components/sync",
39 "//components/sync/protocol",
36 "//ios/chrome/browser", 40 "//ios/chrome/browser",
37 "//ios/chrome/browser/browser_state", 41 "//ios/chrome/browser/browser_state",
42 "//ios/chrome/browser/reading_list/proto",
38 "//ios/web", 43 "//ios/web",
39 "//net", 44 "//net",
40 "//url", 45 "//url",
41 ] 46 ]
42 public_deps = [ 47 public_deps = [
43 "//ios/chrome/browser/dom_distiller", 48 "//ios/chrome/browser/dom_distiller",
44 ] 49 ]
45 } 50 }
46 51
47 source_set("unit_tests") { 52 source_set("unit_tests") {
48 testonly = true 53 testonly = true
49 sources = [ 54 sources = [
50 "reading_list_entry_unittest.cc", 55 "reading_list_entry_unittest.cc",
51 "reading_list_model_storage_unittest.mm",
52 "reading_list_model_unittest.cc", 56 "reading_list_model_unittest.cc",
57 "reading_list_store_unittest.cc",
53 "url_downloader_unittest.cc", 58 "url_downloader_unittest.cc",
54 ] 59 ]
55 deps = [ 60 deps = [
56 ":reading_list", 61 ":reading_list",
57 "//base", 62 "//base",
58 "//base/test:test_support", 63 "//base/test:test_support",
64 "//components/sync:test_support_model",
65 "//components/sync/protocol",
59 "//ios/chrome/browser", 66 "//ios/chrome/browser",
60 "//ios/chrome/browser/dom_distiller", 67 "//ios/chrome/browser/dom_distiller",
68 "//ios/chrome/browser/reading_list/proto",
61 "//ios/web:test_support", 69 "//ios/web:test_support",
62 "//testing/gtest", 70 "//testing/gtest",
63 ] 71 ]
64 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698