Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1238)

Side by Side Diff: ios/chrome/browser/reading_list/BUILD.gn

Issue 2604773002: Create distiller files for Reading List. (Closed)
Patch Set: feedback Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "favicon_web_state_dispatcher_impl.h",
9 "favicon_web_state_dispatcher_impl.mm",
8 "offline_url_utils.cc", 10 "offline_url_utils.cc",
9 "offline_url_utils.h", 11 "offline_url_utils.h",
12 "reading_list_distiller_page.h",
13 "reading_list_distiller_page.mm",
14 "reading_list_distiller_page_factory.h",
15 "reading_list_distiller_page_factory.mm",
10 "reading_list_download_service.cc", 16 "reading_list_download_service.cc",
11 "reading_list_download_service.h", 17 "reading_list_download_service.h",
12 "reading_list_download_service_factory.cc", 18 "reading_list_download_service_factory.cc",
13 "reading_list_download_service_factory.h", 19 "reading_list_download_service_factory.h",
14 "reading_list_model_factory.cc", 20 "reading_list_model_factory.cc",
15 "reading_list_model_factory.h", 21 "reading_list_model_factory.h",
16 "reading_list_web_state_observer.h", 22 "reading_list_web_state_observer.h",
17 "reading_list_web_state_observer.mm", 23 "reading_list_web_state_observer.mm",
18 "url_downloader.cc", 24 "url_downloader.cc",
19 "url_downloader.h", 25 "url_downloader.h",
20 ] 26 ]
21 deps = [ 27 deps = [
22 "//base", 28 "//base",
29 "//components/dom_distiller/ios",
30 "//components/favicon/core",
31 "//components/favicon/ios",
23 "//components/keyed_service/core", 32 "//components/keyed_service/core",
24 "//components/keyed_service/ios", 33 "//components/keyed_service/ios",
25 "//components/pref_registry", 34 "//components/pref_registry",
26 "//components/prefs", 35 "//components/prefs",
27 "//components/reading_list/core", 36 "//components/reading_list/core",
28 "//components/reading_list/ios", 37 "//components/reading_list/ios",
29 "//ios/chrome/browser", 38 "//ios/chrome/browser",
39 "//ios/chrome/browser/bookmarks",
30 "//ios/chrome/browser/browser_state", 40 "//ios/chrome/browser/browser_state",
41 "//ios/chrome/browser/favicon",
42 "//ios/chrome/browser/history",
43 "//ios/public/provider/web",
31 "//ios/web", 44 "//ios/web",
32 "//net", 45 "//net",
33 "//url", 46 "//url",
34 ] 47 ]
35 public_deps = [ 48 public_deps = [
36 "//ios/chrome/browser/dom_distiller", 49 "//ios/chrome/browser/dom_distiller",
37 ] 50 ]
38 } 51 }
39 52
40 source_set("unit_tests") { 53 source_set("unit_tests") {
41 configs += [ "//build/config/compiler:enable_arc" ] 54 configs += [ "//build/config/compiler:enable_arc" ]
42 testonly = true 55 testonly = true
43 sources = [ 56 sources = [
57 "favicon_web_state_dispatcher_impl_unittest.mm",
44 "offline_url_utils_unittest.cc", 58 "offline_url_utils_unittest.cc",
45 "reading_list_web_state_observer_unittest.mm", 59 "reading_list_web_state_observer_unittest.mm",
46 "url_downloader_unittest.mm", 60 "url_downloader_unittest.mm",
47 ] 61 ]
48 deps = [ 62 deps = [
49 ":reading_list", 63 ":reading_list",
50 "//base", 64 "//base",
51 "//base/test:test_support", 65 "//base/test:test_support",
66 "//components/favicon/ios",
52 "//components/reading_list/ios", 67 "//components/reading_list/ios",
53 "//ios/chrome/browser", 68 "//ios/chrome/browser",
69 "//ios/chrome/browser/browser_state:test_support",
54 "//ios/chrome/browser/dom_distiller", 70 "//ios/chrome/browser/dom_distiller",
71 "//ios/testing:ios_test_support",
55 "//ios/web", 72 "//ios/web",
56 "//ios/web:test_support", 73 "//ios/web:test_support",
57 "//net", 74 "//net",
58 "//testing/gtest", 75 "//testing/gtest",
59 "//url", 76 "//url",
60 ] 77 ]
61 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698