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 bundle_data("resources") { | 5 bundle_data("resources") { |
6 sources = [ | 6 sources = [ |
7 "resources/distillation_fail.png", | 7 "resources/distillation_fail.png", |
8 "resources/distillation_fail@2x.png", | 8 "resources/distillation_fail@2x.png", |
9 "resources/distillation_fail@3x.png", | 9 "resources/distillation_fail@3x.png", |
10 "resources/distillation_success.png", | 10 "resources/distillation_success.png", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "reading_list_toolbar.h", | 52 "reading_list_toolbar.h", |
53 "reading_list_toolbar.mm", | 53 "reading_list_toolbar.mm", |
54 "reading_list_view_controller.h", | 54 "reading_list_view_controller.h", |
55 "reading_list_view_controller.mm", | 55 "reading_list_view_controller.mm", |
56 ] | 56 ] |
57 deps = [ | 57 deps = [ |
58 ":resources", | 58 ":resources", |
59 "//base", | 59 "//base", |
60 "//components/prefs", | 60 "//components/prefs", |
61 "//components/reading_list/core", | 61 "//components/reading_list/core", |
| 62 "//components/reading_list/core:flags", |
| 63 "//components/reading_list/ios", |
62 "//components/strings", | 64 "//components/strings", |
63 "//components/url_formatter", | 65 "//components/url_formatter", |
64 "//ios/chrome/app/strings", | 66 "//ios/chrome/app/strings", |
65 "//ios/chrome/browser", | 67 "//ios/chrome/browser", |
66 "//ios/chrome/browser/browser_state", | 68 "//ios/chrome/browser/browser_state", |
67 "//ios/chrome/browser/favicon", | 69 "//ios/chrome/browser/favicon", |
68 "//ios/chrome/browser/reading_list", | 70 "//ios/chrome/browser/reading_list", |
69 "//ios/chrome/browser/tabs", | 71 "//ios/chrome/browser/tabs", |
70 "//ios/chrome/browser/ui", | 72 "//ios/chrome/browser/ui", |
71 "//ios/chrome/browser/ui/alert_coordinator", | 73 "//ios/chrome/browser/ui/alert_coordinator", |
72 "//ios/chrome/browser/ui/collection_view/cells", | 74 "//ios/chrome/browser/ui/collection_view/cells", |
73 "//ios/chrome/browser/ui/colors", | 75 "//ios/chrome/browser/ui/colors", |
74 "//ios/chrome/browser/ui/keyboard", | 76 "//ios/chrome/browser/ui/keyboard", |
75 "//ios/chrome/browser/ui/material_components", | 77 "//ios/chrome/browser/ui/material_components", |
76 "//ios/chrome/browser/ui/side_swipe", | 78 "//ios/chrome/browser/ui/side_swipe", |
77 "//ios/chrome/browser/ui/static_content", | 79 "//ios/chrome/browser/ui/static_content", |
78 "//ios/chrome/browser/ui/util", | 80 "//ios/chrome/browser/ui/util", |
79 "//ios/chrome/common", | 81 "//ios/chrome/common", |
80 "//ios/third_party/material_components_ios", | 82 "//ios/third_party/material_components_ios", |
81 "//ios/third_party/material_roboto_font_loader_ios", | 83 "//ios/third_party/material_roboto_font_loader_ios", |
82 "//ios/web", | 84 "//ios/web", |
83 "//ios/web:reload_type", | 85 "//ios/web:reload_type", |
84 "//net", | 86 "//net", |
85 "//ui/base", | 87 "//ui/base", |
86 "//ui/strings", | 88 "//ui/strings", |
87 "//url", | 89 "//url", |
88 ] | 90 ] |
89 public_deps = [ | 91 public_deps = [ |
90 "//components/reading_list/ios", | |
91 "//ios/chrome/browser/ui/collection_view", | 92 "//ios/chrome/browser/ui/collection_view", |
92 ] | 93 ] |
93 allow_circular_includes_from = [ "//ios/chrome/browser/ui/side_swipe" ] | 94 allow_circular_includes_from = [ "//ios/chrome/browser/ui/side_swipe" ] |
94 libs = [ "UIKit.framework" ] | 95 libs = [ "UIKit.framework" ] |
95 } | 96 } |
96 | 97 |
97 source_set("unit_tests") { | 98 source_set("unit_tests") { |
98 testonly = true | 99 testonly = true |
99 sources = [ | 100 sources = [ |
100 "offline_page_native_content_unittest.mm", | 101 "offline_page_native_content_unittest.mm", |
101 "reading_list_collection_view_controller_unittest.mm", | 102 "reading_list_collection_view_controller_unittest.mm", |
102 "reading_list_coordinator_unittest.mm", | 103 "reading_list_coordinator_unittest.mm", |
103 ] | 104 ] |
104 deps = [ | 105 deps = [ |
105 ":reading_list", | 106 ":reading_list", |
106 "//base", | 107 "//base", |
107 "//components/favicon/core", | 108 "//components/favicon/core", |
108 "//components/favicon/core/test:test_support", | 109 "//components/favicon/core/test:test_support", |
109 "//components/prefs", | 110 "//components/prefs", |
110 "//components/reading_list/ios", | 111 "//components/reading_list/core", |
111 "//components/url_formatter", | 112 "//components/url_formatter", |
112 "//ios/chrome/browser/browser_state:test_support", | 113 "//ios/chrome/browser/browser_state:test_support", |
113 "//ios/chrome/browser/favicon", | 114 "//ios/chrome/browser/favicon", |
114 "//ios/chrome/browser/reading_list", | 115 "//ios/chrome/browser/reading_list", |
115 "//ios/chrome/browser/tabs", | 116 "//ios/chrome/browser/tabs", |
116 "//ios/chrome/browser/ui", | 117 "//ios/chrome/browser/ui", |
117 "//ios/chrome/browser/ui/static_content", | 118 "//ios/chrome/browser/ui/static_content", |
118 "//ios/web", | 119 "//ios/web", |
119 "//ios/web:test_support", | 120 "//ios/web:test_support", |
120 "//testing/gtest", | 121 "//testing/gtest", |
121 "//third_party/ocmock", | 122 "//third_party/ocmock", |
122 "//ui/base", | 123 "//ui/base", |
123 ] | 124 ] |
124 } | 125 } |
125 | 126 |
126 source_set("eg_tests") { | 127 source_set("eg_tests") { |
127 configs += [ "//build/config/compiler:enable_arc" ] | 128 configs += [ "//build/config/compiler:enable_arc" ] |
128 testonly = true | 129 testonly = true |
129 sources = [ | 130 sources = [ |
130 "reading_list_egtest.mm", | 131 "reading_list_egtest.mm", |
131 ] | 132 ] |
132 deps = [ | 133 deps = [ |
133 ":reading_list", | 134 ":reading_list", |
134 "//base", | 135 "//base", |
135 "//components/reading_list/ios", | 136 "//components/reading_list/core", |
136 "//ios/chrome/app/strings", | 137 "//ios/chrome/app/strings", |
137 "//ios/chrome/app/theme:theme_grit", | 138 "//ios/chrome/app/theme:theme_grit", |
138 "//ios/chrome/browser/reading_list", | 139 "//ios/chrome/browser/reading_list", |
139 "//ios/chrome/browser/ui:ui", | 140 "//ios/chrome/browser/ui:ui", |
140 "//ios/chrome/browser/ui/commands", | 141 "//ios/chrome/browser/ui/commands", |
141 "//ios/chrome/test/app:test_support", | 142 "//ios/chrome/test/app:test_support", |
142 "//ios/chrome/test/earl_grey:test_support", | 143 "//ios/chrome/test/earl_grey:test_support", |
143 "//ios/testing:ios_test_support", | 144 "//ios/testing:ios_test_support", |
144 "//ios/testing/earl_grey:earl_grey_support", | 145 "//ios/testing/earl_grey:earl_grey_support", |
145 "//ios/third_party/earl_grey", | 146 "//ios/third_party/earl_grey", |
146 "//ios/third_party/material_components_ios", | 147 "//ios/third_party/material_components_ios", |
147 "//ios/web:test_support", | 148 "//ios/web:test_support", |
148 ] | 149 ] |
149 libs = [ | 150 libs = [ |
150 "UIKit.framework", | 151 "UIKit.framework", |
151 "XCTest.framework", | 152 "XCTest.framework", |
152 ] | 153 ] |
153 } | 154 } |
OLD | NEW |