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