OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//ios/build/config.gni") | 5 import("//ios/build/config.gni") |
6 import("//ios/web/js_compile.gni") | 6 import("//ios/web/js_compile.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 | 9 |
10 source_set("web_arc") { | 10 source_set("web_arc") { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 "net/crw_ssl_status_updater.mm", | 83 "net/crw_ssl_status_updater.mm", |
84 "net/request_group_util.h", | 84 "net/request_group_util.h", |
85 "net/request_group_util.mm", | 85 "net/request_group_util.mm", |
86 "net/request_tracker_data_memoizing_store.h", | 86 "net/request_tracker_data_memoizing_store.h", |
87 "net/request_tracker_factory_impl.h", | 87 "net/request_tracker_factory_impl.h", |
88 "net/request_tracker_factory_impl.mm", | 88 "net/request_tracker_factory_impl.mm", |
89 "net/request_tracker_impl.h", | 89 "net/request_tracker_impl.h", |
90 "net/request_tracker_impl.mm", | 90 "net/request_tracker_impl.mm", |
91 "net/web_http_protocol_handler_delegate.h", | 91 "net/web_http_protocol_handler_delegate.h", |
92 "net/web_http_protocol_handler_delegate.mm", | 92 "net/web_http_protocol_handler_delegate.mm", |
93 "string_util.cc", | |
94 "url_scheme_util.mm", | |
95 "url_util.cc", | |
96 "web_kit_constants.cc", | |
97 "web_thread_impl.cc", | |
98 "web_thread_impl.h", | |
99 "web_view_creation_util.mm", | |
100 "webui/crw_web_ui_manager.h", | |
101 "webui/crw_web_ui_manager.mm", | |
102 "webui/crw_web_ui_page_builder.h", | |
103 "webui/crw_web_ui_page_builder.mm", | |
104 "webui/mojo_facade.h", | |
105 "webui/mojo_facade.mm", | |
106 "webui/mojo_js_constants.cc", | |
107 "webui/mojo_js_constants.h", | |
108 "webui/shared_resources_data_source_ios.h", | |
109 "webui/shared_resources_data_source_ios.mm", | |
110 "webui/url_data_manager_ios.cc", | |
111 "webui/url_data_manager_ios.h", | |
112 "webui/url_data_manager_ios_backend.h", | |
113 "webui/url_data_manager_ios_backend.mm", | |
114 "webui/url_data_source_ios.mm", | |
115 "webui/url_data_source_ios_impl.cc", | |
116 "webui/url_data_source_ios_impl.h", | |
117 "webui/url_fetcher_block_adapter.h", | |
118 "webui/url_fetcher_block_adapter.mm", | |
119 "webui/web_ui_ios_controller_factory_registry.cc", | |
120 "webui/web_ui_ios_controller_factory_registry.h", | |
121 "webui/web_ui_ios_data_source_impl.h", | |
122 "webui/web_ui_ios_data_source_impl.mm", | |
123 "webui/web_ui_ios_impl.h", | |
124 "webui/web_ui_ios_impl.mm", | |
125 ] | |
126 | |
127 libs = [ "WebKit.framework" ] | |
128 | |
129 configs += [ "//build/config/compiler:enable_arc" ] | |
130 } | |
131 | |
132 source_set("web") { | |
133 deps = [ | |
134 ":core", | |
135 ":js_resources", | |
136 ":resources", | |
137 ":user_agent", | |
138 "//base", | |
139 "//components/url_formatter", | |
140 "//ios/net", | |
141 "//ios/third_party/blink:html_tokenizer", | |
142 "//mojo/public/cpp/system", | |
143 "//mojo/public/js", | |
144 "//net", | |
145 "//services/shell/public/cpp", | |
146 "//ui/base", | |
147 "//ui/gfx", | |
148 "//ui/gfx/geometry:geometry", | |
149 "//ui/resources", | |
150 "//url", | |
151 ] | |
152 | |
153 public_deps = [ | |
154 ":web_arc", | |
155 ] | |
156 | |
157 sources = [ | |
158 "payments/payment_request.cc", | 93 "payments/payment_request.cc", |
159 "public/active_state_manager.h", | 94 "public/active_state_manager.h", |
160 "public/block_types.h", | 95 "public/block_types.h", |
161 "public/browser_state.h", | 96 "public/browser_state.h", |
162 "public/browser_url_rewriter.h", | 97 "public/browser_url_rewriter.h", |
163 "public/cert_policy.h", | 98 "public/cert_policy.h", |
164 "public/certificate_policy_cache.h", | 99 "public/certificate_policy_cache.h", |
165 "public/favicon_status.cc", | 100 "public/favicon_status.cc", |
166 "public/favicon_status.h", | 101 "public/favicon_status.h", |
167 "public/favicon_url.cc", | 102 "public/favicon_url.cc", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 "public/web_thread.h", | 159 "public/web_thread.h", |
225 "public/web_thread_delegate.h", | 160 "public/web_thread_delegate.h", |
226 "public/web_ui_ios_data_source.h", | 161 "public/web_ui_ios_data_source.h", |
227 "public/web_view_creation_util.h", | 162 "public/web_view_creation_util.h", |
228 "public/webui/web_ui_ios.h", | 163 "public/webui/web_ui_ios.h", |
229 "public/webui/web_ui_ios_controller.cc", | 164 "public/webui/web_ui_ios_controller.cc", |
230 "public/webui/web_ui_ios_controller.h", | 165 "public/webui/web_ui_ios_controller.h", |
231 "public/webui/web_ui_ios_controller_factory.h", | 166 "public/webui/web_ui_ios_controller_factory.h", |
232 "public/webui/web_ui_ios_message_handler.cc", | 167 "public/webui/web_ui_ios_message_handler.cc", |
233 "public/webui/web_ui_ios_message_handler.h", | 168 "public/webui/web_ui_ios_message_handler.h", |
| 169 "string_util.cc", |
| 170 "url_scheme_util.mm", |
| 171 "url_util.cc", |
| 172 "web_kit_constants.cc", |
234 "web_state/blocked_popup_info.h", | 173 "web_state/blocked_popup_info.h", |
235 "web_state/blocked_popup_info.mm", | 174 "web_state/blocked_popup_info.mm", |
236 "web_state/context_menu_params.mm", | 175 "web_state/context_menu_params.mm", |
237 "web_state/credential.cc", | 176 "web_state/credential.cc", |
238 "web_state/crw_pass_kit_downloader.h", | 177 "web_state/crw_pass_kit_downloader.h", |
239 "web_state/crw_pass_kit_downloader.mm", | 178 "web_state/crw_pass_kit_downloader.mm", |
240 "web_state/crw_web_view_proxy_impl.h", | 179 "web_state/crw_web_view_proxy_impl.h", |
241 "web_state/crw_web_view_proxy_impl.mm", | 180 "web_state/crw_web_view_proxy_impl.mm", |
242 "web_state/crw_web_view_scroll_view_proxy.mm", | 181 "web_state/crw_web_view_scroll_view_proxy.mm", |
243 "web_state/error_translation_util.h", | 182 "web_state/error_translation_util.h", |
(...skipping 16 matching lines...) Expand all Loading... |
260 "web_state/page_viewport_state.mm", | 199 "web_state/page_viewport_state.mm", |
261 "web_state/ui/crw_generic_content_view.mm", | 200 "web_state/ui/crw_generic_content_view.mm", |
262 "web_state/ui/crw_swipe_recognizer_provider.h", | 201 "web_state/ui/crw_swipe_recognizer_provider.h", |
263 "web_state/ui/crw_touch_tracking_recognizer.h", | 202 "web_state/ui/crw_touch_tracking_recognizer.h", |
264 "web_state/ui/crw_touch_tracking_recognizer.mm", | 203 "web_state/ui/crw_touch_tracking_recognizer.mm", |
265 "web_state/ui/crw_web_controller.h", | 204 "web_state/ui/crw_web_controller.h", |
266 "web_state/ui/crw_web_controller.mm", | 205 "web_state/ui/crw_web_controller.mm", |
267 "web_state/ui/crw_web_controller_container_view.h", | 206 "web_state/ui/crw_web_controller_container_view.h", |
268 "web_state/ui/crw_web_controller_container_view.mm", | 207 "web_state/ui/crw_web_controller_container_view.mm", |
269 "web_state/ui/crw_web_view_content_view.mm", | 208 "web_state/ui/crw_web_view_content_view.mm", |
| 209 "web_thread_impl.cc", |
| 210 "web_thread_impl.h", |
| 211 "web_view_creation_util.mm", |
| 212 "webui/crw_web_ui_manager.h", |
| 213 "webui/crw_web_ui_manager.mm", |
| 214 "webui/crw_web_ui_page_builder.h", |
| 215 "webui/crw_web_ui_page_builder.mm", |
| 216 "webui/mojo_facade.h", |
| 217 "webui/mojo_facade.mm", |
| 218 "webui/mojo_js_constants.cc", |
| 219 "webui/mojo_js_constants.h", |
| 220 "webui/shared_resources_data_source_ios.h", |
| 221 "webui/shared_resources_data_source_ios.mm", |
| 222 "webui/url_data_manager_ios.cc", |
| 223 "webui/url_data_manager_ios.h", |
| 224 "webui/url_data_manager_ios_backend.h", |
| 225 "webui/url_data_manager_ios_backend.mm", |
| 226 "webui/url_data_source_ios.mm", |
| 227 "webui/url_data_source_ios_impl.cc", |
| 228 "webui/url_data_source_ios_impl.h", |
| 229 "webui/url_fetcher_block_adapter.h", |
| 230 "webui/url_fetcher_block_adapter.mm", |
| 231 "webui/web_ui_ios_controller_factory_registry.cc", |
| 232 "webui/web_ui_ios_controller_factory_registry.h", |
| 233 "webui/web_ui_ios_data_source_impl.h", |
| 234 "webui/web_ui_ios_data_source_impl.mm", |
| 235 "webui/web_ui_ios_impl.h", |
| 236 "webui/web_ui_ios_impl.mm", |
| 237 ] |
| 238 |
| 239 libs = [ "WebKit.framework" ] |
| 240 |
| 241 configs += [ "//build/config/compiler:enable_arc" ] |
| 242 } |
| 243 |
| 244 source_set("web") { |
| 245 deps = [ |
| 246 ":core", |
| 247 ":js_resources", |
| 248 ":resources", |
| 249 ":user_agent", |
| 250 "//base", |
| 251 "//components/url_formatter", |
| 252 "//ios/net", |
| 253 "//ios/third_party/blink:html_tokenizer", |
| 254 "//mojo/public/cpp/system", |
| 255 "//mojo/public/js", |
| 256 "//net", |
| 257 "//services/shell/public/cpp", |
| 258 "//ui/base", |
| 259 "//ui/gfx", |
| 260 "//ui/gfx/geometry:geometry", |
| 261 "//ui/resources", |
| 262 "//url", |
| 263 ] |
| 264 |
| 265 public_deps = [ |
| 266 ":web_arc", |
| 267 ] |
| 268 |
| 269 sources = [ |
270 "web_state/ui/crw_wk_script_message_router.h", | 270 "web_state/ui/crw_wk_script_message_router.h", |
271 "web_state/ui/crw_wk_script_message_router.mm", | 271 "web_state/ui/crw_wk_script_message_router.mm", |
272 "web_state/ui/web_view_js_utils.h", | 272 "web_state/ui/web_view_js_utils.h", |
273 "web_state/ui/web_view_js_utils.mm", | 273 "web_state/ui/web_view_js_utils.mm", |
274 "web_state/ui/wk_back_forward_list_item_holder.h", | 274 "web_state/ui/wk_back_forward_list_item_holder.h", |
275 "web_state/ui/wk_back_forward_list_item_holder.mm", | 275 "web_state/ui/wk_back_forward_list_item_holder.mm", |
276 "web_state/ui/wk_web_view_configuration_provider.h", | 276 "web_state/ui/wk_web_view_configuration_provider.h", |
277 "web_state/ui/wk_web_view_configuration_provider.mm", | 277 "web_state/ui/wk_web_view_configuration_provider.mm", |
278 "web_state/web_controller_observer_bridge.h", | 278 "web_state/web_controller_observer_bridge.h", |
279 "web_state/web_controller_observer_bridge.mm", | 279 "web_state/web_controller_observer_bridge.mm", |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 } | 607 } |
608 | 608 |
609 grit("resources") { | 609 grit("resources") { |
610 source = "ios_web_resources.grd" | 610 source = "ios_web_resources.grd" |
611 use_qualified_include = true | 611 use_qualified_include = true |
612 outputs = [ | 612 outputs = [ |
613 "grit/ios_web_resources.h", | 613 "grit/ios_web_resources.h", |
614 "ios_web_resources.pak", | 614 "ios_web_resources.pak", |
615 ] | 615 ] |
616 } | 616 } |
OLD | NEW |