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("ios") { | 5 source_set("ios") { |
6 sources = [ | 6 sources = [ |
7 "favicon_web_state_dispatcher.h", | 7 "favicon_web_state_dispatcher.h", |
8 "offline_url_utils.cc", | |
9 "offline_url_utils.h", | |
10 "reading_list_entry.cc", | |
11 "reading_list_entry.h", | |
12 "reading_list_model.cc", | |
13 "reading_list_model.h", | |
14 "reading_list_model_bridge_observer.h", | 8 "reading_list_model_bridge_observer.h", |
15 "reading_list_model_bridge_observer.mm", | 9 "reading_list_model_bridge_observer.mm", |
16 "reading_list_model_impl.cc", | |
17 "reading_list_model_impl.h", | |
18 "reading_list_model_observer.h", | |
19 "reading_list_model_storage.cc", | |
20 "reading_list_model_storage.h", | |
21 "reading_list_pref_names.cc", | |
22 "reading_list_pref_names.h", | |
23 "reading_list_store.cc", | |
24 "reading_list_store.h", | |
25 "reading_list_store_delegate.h", | |
26 ] | 10 ] |
27 deps = [ | 11 deps = [ |
28 "//base", | 12 "//base", |
29 "//components/keyed_service/core", | |
30 "//components/prefs", | |
31 "//components/reading_list/core", | 13 "//components/reading_list/core", |
32 "//components/sync", | |
33 "//net", | |
34 "//url", | |
35 ] | |
36 public_deps = [ | |
37 "//components/reading_list/ios/proto", | |
38 ] | 14 ] |
39 } | 15 } |
40 | |
41 source_set("unit_tests") { | |
42 testonly = true | |
43 sources = [ | |
44 "offline_url_utils_unittest.cc", | |
45 "reading_list_entry_unittest.cc", | |
46 "reading_list_model_unittest.cc", | |
47 "reading_list_store_unittest.cc", | |
48 ] | |
49 deps = [ | |
50 ":ios", | |
51 "//base", | |
52 "//base/test:test_support", | |
53 "//components/sync", | |
54 "//components/sync:test_support_model", | |
55 "//testing/gtest", | |
56 "//url", | |
57 ] | |
58 } | |
OLD | NEW |