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 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "offline_url_utils.cc", | 8 "offline_url_utils.cc", |
9 "offline_url_utils.h", | 9 "offline_url_utils.h", |
10 "reading_list_download_service.cc", | 10 "reading_list_download_service.cc", |
11 "reading_list_download_service.h", | 11 "reading_list_download_service.h", |
12 "reading_list_download_service_factory.cc", | 12 "reading_list_download_service_factory.cc", |
13 "reading_list_download_service_factory.h", | 13 "reading_list_download_service_factory.h", |
14 "reading_list_entry_loading_util.h", | |
15 "reading_list_entry_loading_util.mm", | |
16 "reading_list_model_factory.cc", | 14 "reading_list_model_factory.cc", |
17 "reading_list_model_factory.h", | 15 "reading_list_model_factory.h", |
18 "reading_list_web_state_observer.h", | 16 "reading_list_web_state_observer.h", |
19 "reading_list_web_state_observer.mm", | 17 "reading_list_web_state_observer.mm", |
20 "url_downloader.cc", | 18 "url_downloader.cc", |
21 "url_downloader.h", | 19 "url_downloader.h", |
22 ] | 20 ] |
23 deps = [ | 21 deps = [ |
24 "//base", | 22 "//base", |
25 "//components/keyed_service/core", | 23 "//components/keyed_service/core", |
(...skipping 11 matching lines...) Expand all Loading... |
37 public_deps = [ | 35 public_deps = [ |
38 "//ios/chrome/browser/dom_distiller", | 36 "//ios/chrome/browser/dom_distiller", |
39 ] | 37 ] |
40 } | 38 } |
41 | 39 |
42 source_set("unit_tests") { | 40 source_set("unit_tests") { |
43 configs += [ "//build/config/compiler:enable_arc" ] | 41 configs += [ "//build/config/compiler:enable_arc" ] |
44 testonly = true | 42 testonly = true |
45 sources = [ | 43 sources = [ |
46 "offline_url_utils_unittest.cc", | 44 "offline_url_utils_unittest.cc", |
47 "reading_list_entry_loading_util_unittest.mm", | |
48 "url_downloader_unittest.mm", | 45 "url_downloader_unittest.mm", |
49 ] | 46 ] |
50 deps = [ | 47 deps = [ |
51 ":reading_list", | 48 ":reading_list", |
52 "//base", | 49 "//base", |
53 "//base/test:test_support", | 50 "//base/test:test_support", |
54 "//components/reading_list/ios", | 51 "//components/reading_list/ios", |
55 "//ios/chrome/browser", | 52 "//ios/chrome/browser", |
56 "//ios/chrome/browser/dom_distiller", | 53 "//ios/chrome/browser/dom_distiller", |
57 "//ios/web", | 54 "//ios/web", |
58 "//ios/web:test_support", | 55 "//ios/web:test_support", |
59 "//net", | 56 "//net", |
60 "//testing/gtest", | 57 "//testing/gtest", |
61 "//url", | 58 "//url", |
62 ] | 59 ] |
63 } | 60 } |
OLD | NEW |