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

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

Issue 2763233003: Move ReadingList model to components/reading_list/core (Closed)
Patch Set: last? Created 3 years, 9 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", 8 "favicon_web_state_dispatcher_impl.h",
9 "favicon_web_state_dispatcher_impl.mm", 9 "favicon_web_state_dispatcher_impl.mm",
10 "offline_url_utils.cc", 10 "offline_url_utils.cc",
(...skipping 19 matching lines...) Expand all
30 "//components/browser_sync", 30 "//components/browser_sync",
31 "//components/dom_distiller/ios", 31 "//components/dom_distiller/ios",
32 "//components/favicon/core", 32 "//components/favicon/core",
33 "//components/favicon/ios", 33 "//components/favicon/ios",
34 "//components/google/core/browser", 34 "//components/google/core/browser",
35 "//components/keyed_service/core", 35 "//components/keyed_service/core",
36 "//components/keyed_service/ios", 36 "//components/keyed_service/ios",
37 "//components/pref_registry", 37 "//components/pref_registry",
38 "//components/prefs", 38 "//components/prefs",
39 "//components/reading_list/core", 39 "//components/reading_list/core",
40 "//components/reading_list/core:flags",
40 "//components/reading_list/ios", 41 "//components/reading_list/ios",
41 "//components/sync", 42 "//components/sync",
42 "//ios/chrome/browser", 43 "//ios/chrome/browser",
43 "//ios/chrome/browser/bookmarks", 44 "//ios/chrome/browser/bookmarks",
44 "//ios/chrome/browser/browser_state", 45 "//ios/chrome/browser/browser_state",
45 "//ios/chrome/browser/favicon", 46 "//ios/chrome/browser/favicon",
46 "//ios/chrome/browser/history", 47 "//ios/chrome/browser/history",
47 "//ios/chrome/common", 48 "//ios/chrome/common",
48 "//ios/web", 49 "//ios/web",
49 "//ios/web:reload_type", 50 "//ios/web:reload_type",
50 "//net", 51 "//net",
51 "//url", 52 "//url",
52 ] 53 ]
53 public_deps = [ 54 public_deps = [
54 "//ios/chrome/browser/dom_distiller", 55 "//ios/chrome/browser/dom_distiller",
55 ] 56 ]
56 allow_circular_includes_from = [ ":reading_list_remover" ] 57 allow_circular_includes_from = [ ":reading_list_remover" ]
57 } 58 }
58 59
59 source_set("reading_list_remover") { 60 source_set("reading_list_remover") {
60 sources = [ 61 sources = [
61 "reading_list_remover_helper.cc", 62 "reading_list_remover_helper.cc",
62 "reading_list_remover_helper.h", 63 "reading_list_remover_helper.h",
63 ] 64 ]
64 deps = [ 65 deps = [
65 "//base", 66 "//base",
66 "//components/reading_list/ios", 67 "//components/reading_list/core",
67 "//ios/chrome/browser/browser_state", 68 "//ios/chrome/browser/browser_state",
68 ] 69 ]
69 } 70 }
70 71
71 source_set("unit_tests") { 72 source_set("unit_tests") {
72 configs += [ "//build/config/compiler:enable_arc" ] 73 configs += [ "//build/config/compiler:enable_arc" ]
73 testonly = true 74 testonly = true
74 sources = [ 75 sources = [
75 "favicon_web_state_dispatcher_impl_unittest.mm", 76 "favicon_web_state_dispatcher_impl_unittest.mm",
76 "offline_url_utils_unittest.cc", 77 "offline_url_utils_unittest.cc",
77 "reading_list_web_state_observer_unittest.mm", 78 "reading_list_web_state_observer_unittest.mm",
78 "url_downloader_unittest.mm", 79 "url_downloader_unittest.mm",
79 ] 80 ]
80 deps = [ 81 deps = [
81 ":reading_list", 82 ":reading_list",
82 "//base", 83 "//base",
83 "//base/test:test_support", 84 "//base/test:test_support",
84 "//components/favicon/ios", 85 "//components/favicon/ios",
85 "//components/reading_list/ios", 86 "//components/reading_list/core",
86 "//ios/chrome/browser", 87 "//ios/chrome/browser",
87 "//ios/chrome/browser/browser_state:test_support", 88 "//ios/chrome/browser/browser_state:test_support",
88 "//ios/chrome/browser/dom_distiller", 89 "//ios/chrome/browser/dom_distiller",
89 "//ios/testing:ios_test_support", 90 "//ios/testing:ios_test_support",
90 "//ios/web", 91 "//ios/web",
91 "//ios/web:reload_type", 92 "//ios/web:reload_type",
92 "//ios/web:test_support", 93 "//ios/web:test_support",
93 "//net", 94 "//net",
94 "//testing/gtest", 95 "//testing/gtest",
95 "//url", 96 "//url",
96 ] 97 ]
97 } 98 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698