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", | |
15 "reading_list_model.cc", | |
16 "reading_list_model.h", | |
17 "reading_list_model_bridge_observer.h", | |
18 "reading_list_model_bridge_observer.mm", | |
19 "reading_list_model_factory.cc", | 13 "reading_list_model_factory.cc", |
20 "reading_list_model_factory.h", | 14 "reading_list_model_factory.h", |
21 "reading_list_model_impl.cc", | |
22 "reading_list_model_impl.h", | |
23 "reading_list_model_observer.h", | |
24 "reading_list_model_storage.h", | |
25 "reading_list_pref_names.cc", | |
26 "reading_list_pref_names.h", | |
27 "reading_list_store.cc", | |
28 "reading_list_store.h", | |
29 "reading_list_store_delegate.h", | |
30 "reading_list_web_state_observer.h", | 15 "reading_list_web_state_observer.h", |
31 "reading_list_web_state_observer.mm", | 16 "reading_list_web_state_observer.mm", |
32 "url_downloader.cc", | 17 "url_downloader.cc", |
33 "url_downloader.h", | 18 "url_downloader.h", |
34 ] | 19 ] |
35 deps = [ | 20 deps = [ |
36 "//base", | 21 "//base", |
37 "//components/keyed_service/core", | 22 "//components/keyed_service/core", |
38 "//components/keyed_service/ios", | 23 "//components/keyed_service/ios", |
39 "//components/pref_registry", | 24 "//components/pref_registry", |
40 "//components/prefs", | 25 "//components/prefs", |
26 "//components/reading_list", | |
sdefresne
2016/11/21 14:48:31
Should be in public_deps if any of the header file
Olivier
2016/11/21 15:46:40
I don't think this is the case
$ git grep -l read
| |
27 "//components/reading_list/proto", | |
sdefresne
2016/11/21 14:48:31
Only required here if one of the .cc or .h file in
Olivier
2016/11/21 15:46:40
Done.
| |
41 "//components/sync", | 28 "//components/sync", |
42 "//components/sync/protocol", | 29 "//components/sync/protocol", |
43 "//ios/chrome/browser", | 30 "//ios/chrome/browser", |
44 "//ios/chrome/browser/browser_state", | 31 "//ios/chrome/browser/browser_state", |
45 "//ios/chrome/browser/reading_list/proto", | |
46 "//ios/web", | 32 "//ios/web", |
47 "//net", | 33 "//net", |
48 "//url", | 34 "//url", |
49 ] | 35 ] |
50 public_deps = [ | 36 public_deps = [ |
51 "//ios/chrome/browser/dom_distiller", | 37 "//ios/chrome/browser/dom_distiller", |
52 ] | 38 ] |
53 } | 39 } |
54 | 40 |
55 source_set("unit_tests") { | 41 source_set("unit_tests") { |
56 testonly = true | 42 testonly = true |
57 sources = [ | 43 sources = [ |
58 "offline_url_utils_unittest.cc", | 44 "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", | 45 "url_downloader_unittest.cc", |
63 ] | 46 ] |
64 deps = [ | 47 deps = [ |
65 ":reading_list", | 48 ":reading_list", |
66 "//base", | 49 "//base", |
67 "//base/test:test_support", | 50 "//base/test:test_support", |
51 "//components/reading_list", | |
52 "//components/reading_list/proto", | |
sdefresne
2016/11/21 14:48:31
ditto
| |
68 "//components/sync:test_support_model", | 53 "//components/sync:test_support_model", |
69 "//components/sync/protocol", | 54 "//components/sync/protocol", |
70 "//ios/chrome/browser", | 55 "//ios/chrome/browser", |
71 "//ios/chrome/browser/dom_distiller", | 56 "//ios/chrome/browser/dom_distiller", |
72 "//ios/chrome/browser/reading_list/proto", | |
73 "//ios/web:test_support", | 57 "//ios/web:test_support", |
74 "//testing/gtest", | 58 "//testing/gtest", |
75 "//url", | 59 "//url", |
76 ] | 60 ] |
77 } | 61 } |
OLD | NEW |