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