OLD | NEW |
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 "offline_url_utils.cc", | 7 "offline_url_utils.cc", |
8 "offline_url_utils.h", | 8 "offline_url_utils.h", |
9 "reading_list_download_service.cc", | 9 "reading_list_download_service.cc", |
10 "reading_list_download_service.h", | 10 "reading_list_download_service.h", |
11 "reading_list_download_service_factory.cc", | 11 "reading_list_download_service_factory.cc", |
12 "reading_list_download_service_factory.h", | 12 "reading_list_download_service_factory.h", |
13 "reading_list_entry.cc", | |
14 "reading_list_entry.h", | 13 "reading_list_entry.h", |
15 "reading_list_model.cc", | |
16 "reading_list_model.h", | 14 "reading_list_model.h", |
17 "reading_list_model_bridge_observer.h", | 15 "reading_list_model_bridge_observer.h", |
18 "reading_list_model_bridge_observer.mm", | |
19 "reading_list_model_factory.cc", | 16 "reading_list_model_factory.cc", |
20 "reading_list_model_factory.h", | 17 "reading_list_model_factory.h", |
21 "reading_list_model_impl.cc", | |
22 "reading_list_model_impl.h", | 18 "reading_list_model_impl.h", |
23 "reading_list_model_observer.h", | 19 "reading_list_model_observer.h", |
24 "reading_list_model_storage.h", | 20 "reading_list_model_storage.h", |
25 "reading_list_pref_names.cc", | |
26 "reading_list_pref_names.h", | 21 "reading_list_pref_names.h", |
27 "reading_list_store.cc", | |
28 "reading_list_store.h", | 22 "reading_list_store.h", |
29 "reading_list_store_delegate.h", | 23 "reading_list_store_delegate.h", |
30 "reading_list_web_state_observer.h", | 24 "reading_list_web_state_observer.h", |
31 "reading_list_web_state_observer.mm", | 25 "reading_list_web_state_observer.mm", |
32 "url_downloader.cc", | 26 "url_downloader.cc", |
33 "url_downloader.h", | 27 "url_downloader.h", |
34 ] | 28 ] |
35 deps = [ | 29 deps = [ |
36 "//base", | 30 "//base", |
37 "//components/keyed_service/core", | 31 "//components/keyed_service/core", |
38 "//components/keyed_service/ios", | 32 "//components/keyed_service/ios", |
39 "//components/pref_registry", | 33 "//components/pref_registry", |
40 "//components/prefs", | 34 "//components/prefs", |
41 "//components/sync", | 35 "//components/reading_list", |
42 "//components/sync/protocol", | |
43 "//ios/chrome/browser", | 36 "//ios/chrome/browser", |
44 "//ios/chrome/browser/browser_state", | 37 "//ios/chrome/browser/browser_state", |
45 "//ios/chrome/browser/reading_list/proto", | |
46 "//ios/web", | 38 "//ios/web", |
47 "//net", | 39 "//net", |
48 "//url", | 40 "//url", |
49 ] | 41 ] |
50 public_deps = [ | 42 public_deps = [ |
51 "//ios/chrome/browser/dom_distiller", | 43 "//ios/chrome/browser/dom_distiller", |
52 ] | 44 ] |
53 } | 45 } |
54 | 46 |
55 source_set("unit_tests") { | 47 source_set("unit_tests") { |
56 testonly = true | 48 testonly = true |
57 sources = [ | 49 sources = [ |
58 "offline_url_utils_unittest.cc", | 50 "offline_url_utils_unittest.cc", |
59 "reading_list_entry_unittest.cc", | |
60 "reading_list_model_unittest.cc", | |
61 "reading_list_store_unittest.cc", | |
62 "url_downloader_unittest.cc", | 51 "url_downloader_unittest.cc", |
63 ] | 52 ] |
64 deps = [ | 53 deps = [ |
65 ":reading_list", | 54 ":reading_list", |
66 "//base", | 55 "//base", |
67 "//base/test:test_support", | 56 "//base/test:test_support", |
68 "//components/sync:test_support_model", | 57 "//components/reading_list", |
69 "//components/sync/protocol", | |
70 "//ios/chrome/browser", | 58 "//ios/chrome/browser", |
71 "//ios/chrome/browser/dom_distiller", | 59 "//ios/chrome/browser/dom_distiller", |
72 "//ios/chrome/browser/reading_list/proto", | |
73 "//ios/web:test_support", | 60 "//ios/web:test_support", |
74 "//testing/gtest", | 61 "//testing/gtest", |
75 "//url", | 62 "//url", |
76 ] | 63 ] |
77 } | 64 } |
OLD | NEW |