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") { | 10 source_set("web_arc") { |
11 deps = [ | 11 deps = [ |
12 ":core", | 12 ":core", |
13 ":js_resources", | 13 ":js_resources", |
14 ":resources", | 14 ":resources", |
15 ":user_agent", | 15 ":user_agent", |
16 "//base", | 16 "//base", |
17 "//components/url_formatter", | 17 "//components/url_formatter", |
18 "//ios/net", | 18 "//ios/net", |
19 "//ios/third_party/blink:html_tokenizer", | 19 "//ios/third_party/blink:html_tokenizer", |
20 "//mojo/public/cpp/system", | 20 "//mojo/public/cpp/system", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 "navigation/navigation_item_impl.h", | 55 "navigation/navigation_item_impl.h", |
56 "navigation/navigation_item_impl.mm", | 56 "navigation/navigation_item_impl.mm", |
57 "navigation/navigation_manager_delegate.h", | 57 "navigation/navigation_manager_delegate.h", |
58 "navigation/navigation_manager_facade_delegate.h", | 58 "navigation/navigation_manager_facade_delegate.h", |
59 "navigation/navigation_manager_impl.h", | 59 "navigation/navigation_manager_impl.h", |
60 "navigation/navigation_manager_impl.mm", | 60 "navigation/navigation_manager_impl.mm", |
61 "navigation/nscoder_util.h", | 61 "navigation/nscoder_util.h", |
62 "navigation/nscoder_util.mm", | 62 "navigation/nscoder_util.mm", |
63 "navigation/time_smoother.cc", | 63 "navigation/time_smoother.cc", |
64 "navigation/time_smoother.h", | 64 "navigation/time_smoother.h", |
| 65 "string_util.cc", |
| 66 "url_scheme_util.mm", |
| 67 "url_util.cc", |
| 68 "web_kit_constants.cc", |
| 69 "web_thread_impl.cc", |
| 70 "web_thread_impl.h", |
| 71 "web_view_creation_util.mm", |
| 72 ] |
| 73 |
| 74 libs = [ "WebKit.framework" ] |
| 75 |
| 76 configs += [ "//build/config/compiler:enable_arc" ] |
| 77 } |
| 78 |
| 79 source_set("web") { |
| 80 deps = [ |
| 81 ":core", |
| 82 ":js_resources", |
| 83 ":resources", |
| 84 ":user_agent", |
| 85 "//base", |
| 86 "//components/url_formatter", |
| 87 "//ios/net", |
| 88 "//ios/third_party/blink:html_tokenizer", |
| 89 "//mojo/public/cpp/system", |
| 90 "//mojo/public/js", |
| 91 "//net", |
| 92 "//services/shell/public/cpp", |
| 93 "//ui/base", |
| 94 "//ui/gfx", |
| 95 "//ui/gfx/geometry:geometry", |
| 96 "//ui/resources", |
| 97 "//url", |
| 98 ] |
| 99 |
| 100 public_deps = [ |
| 101 ":web_arc", |
| 102 ] |
| 103 |
| 104 sources = [ |
65 "net/cert_host_pair.cc", | 105 "net/cert_host_pair.cc", |
66 "net/cert_host_pair.h", | 106 "net/cert_host_pair.h", |
67 "net/cert_policy.cc", | 107 "net/cert_policy.cc", |
68 "net/cert_store_impl.cc", | 108 "net/cert_store_impl.cc", |
69 "net/cert_store_impl.h", | 109 "net/cert_store_impl.h", |
70 "net/certificate_policy_cache.cc", | 110 "net/certificate_policy_cache.cc", |
71 "net/clients/crw_js_injection_network_client.h", | 111 "net/clients/crw_js_injection_network_client.h", |
72 "net/clients/crw_js_injection_network_client.mm", | 112 "net/clients/crw_js_injection_network_client.mm", |
73 "net/clients/crw_js_injection_network_client_factory.h", | 113 "net/clients/crw_js_injection_network_client_factory.h", |
74 "net/clients/crw_js_injection_network_client_factory.mm", | 114 "net/clients/crw_js_injection_network_client_factory.mm", |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 "public/web_thread.h", | 202 "public/web_thread.h", |
163 "public/web_thread_delegate.h", | 203 "public/web_thread_delegate.h", |
164 "public/web_ui_ios_data_source.h", | 204 "public/web_ui_ios_data_source.h", |
165 "public/web_view_creation_util.h", | 205 "public/web_view_creation_util.h", |
166 "public/webui/web_ui_ios.h", | 206 "public/webui/web_ui_ios.h", |
167 "public/webui/web_ui_ios_controller.cc", | 207 "public/webui/web_ui_ios_controller.cc", |
168 "public/webui/web_ui_ios_controller.h", | 208 "public/webui/web_ui_ios_controller.h", |
169 "public/webui/web_ui_ios_controller_factory.h", | 209 "public/webui/web_ui_ios_controller_factory.h", |
170 "public/webui/web_ui_ios_message_handler.cc", | 210 "public/webui/web_ui_ios_message_handler.cc", |
171 "public/webui/web_ui_ios_message_handler.h", | 211 "public/webui/web_ui_ios_message_handler.h", |
172 "string_util.cc", | |
173 "url_scheme_util.mm", | |
174 "url_util.cc", | |
175 "web_kit_constants.cc", | |
176 "web_state/blocked_popup_info.h", | 212 "web_state/blocked_popup_info.h", |
177 "web_state/blocked_popup_info.mm", | 213 "web_state/blocked_popup_info.mm", |
178 "web_state/context_menu_params.mm", | 214 "web_state/context_menu_params.mm", |
179 "web_state/credential.cc", | 215 "web_state/credential.cc", |
180 "web_state/crw_pass_kit_downloader.h", | 216 "web_state/crw_pass_kit_downloader.h", |
181 "web_state/crw_pass_kit_downloader.mm", | 217 "web_state/crw_pass_kit_downloader.mm", |
182 "web_state/crw_web_view_proxy_impl.h", | 218 "web_state/crw_web_view_proxy_impl.h", |
183 "web_state/crw_web_view_proxy_impl.mm", | 219 "web_state/crw_web_view_proxy_impl.mm", |
184 "web_state/crw_web_view_scroll_view_proxy.mm", | 220 "web_state/crw_web_view_scroll_view_proxy.mm", |
185 "web_state/error_translation_util.h", | 221 "web_state/error_translation_util.h", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 "web_state/web_state_impl.mm", | 263 "web_state/web_state_impl.mm", |
228 "web_state/web_state_observer.mm", | 264 "web_state/web_state_observer.mm", |
229 "web_state/web_state_observer_bridge.mm", | 265 "web_state/web_state_observer_bridge.mm", |
230 "web_state/web_state_policy_decider.mm", | 266 "web_state/web_state_policy_decider.mm", |
231 "web_state/web_state_weak_ptr_factory.h", | 267 "web_state/web_state_weak_ptr_factory.h", |
232 "web_state/web_state_weak_ptr_factory.mm", | 268 "web_state/web_state_weak_ptr_factory.mm", |
233 "web_state/web_view_internal_creation_util.h", | 269 "web_state/web_view_internal_creation_util.h", |
234 "web_state/web_view_internal_creation_util.mm", | 270 "web_state/web_view_internal_creation_util.mm", |
235 "web_state/wk_web_view_security_util.h", | 271 "web_state/wk_web_view_security_util.h", |
236 "web_state/wk_web_view_security_util.mm", | 272 "web_state/wk_web_view_security_util.mm", |
237 "web_thread_impl.cc", | |
238 "web_thread_impl.h", | |
239 "web_view_creation_util.mm", | |
240 "webui/crw_web_ui_manager.h", | 273 "webui/crw_web_ui_manager.h", |
241 "webui/crw_web_ui_manager.mm", | 274 "webui/crw_web_ui_manager.mm", |
242 "webui/crw_web_ui_page_builder.h", | 275 "webui/crw_web_ui_page_builder.h", |
243 "webui/crw_web_ui_page_builder.mm", | 276 "webui/crw_web_ui_page_builder.mm", |
244 "webui/mojo_facade.h", | 277 "webui/mojo_facade.h", |
245 "webui/mojo_facade.mm", | 278 "webui/mojo_facade.mm", |
246 "webui/mojo_js_constants.cc", | 279 "webui/mojo_js_constants.cc", |
247 "webui/mojo_js_constants.h", | 280 "webui/mojo_js_constants.h", |
248 "webui/shared_resources_data_source_ios.h", | 281 "webui/shared_resources_data_source_ios.h", |
249 "webui/shared_resources_data_source_ios.mm", | 282 "webui/shared_resources_data_source_ios.mm", |
250 "webui/url_data_manager_ios.cc", | 283 "webui/url_data_manager_ios.cc", |
251 "webui/url_data_manager_ios.h", | 284 "webui/url_data_manager_ios.h", |
252 "webui/url_data_manager_ios_backend.h", | 285 "webui/url_data_manager_ios_backend.h", |
253 "webui/url_data_manager_ios_backend.mm", | 286 "webui/url_data_manager_ios_backend.mm", |
254 "webui/url_data_source_ios.mm", | 287 "webui/url_data_source_ios.mm", |
255 "webui/url_data_source_ios_impl.cc", | 288 "webui/url_data_source_ios_impl.cc", |
256 "webui/url_data_source_ios_impl.h", | 289 "webui/url_data_source_ios_impl.h", |
257 "webui/url_fetcher_block_adapter.h", | 290 "webui/url_fetcher_block_adapter.h", |
258 "webui/url_fetcher_block_adapter.mm", | 291 "webui/url_fetcher_block_adapter.mm", |
259 "webui/web_ui_ios_controller_factory_registry.cc", | 292 "webui/web_ui_ios_controller_factory_registry.cc", |
260 "webui/web_ui_ios_controller_factory_registry.h", | 293 "webui/web_ui_ios_controller_factory_registry.h", |
261 "webui/web_ui_ios_data_source_impl.h", | 294 "webui/web_ui_ios_data_source_impl.h", |
262 "webui/web_ui_ios_data_source_impl.mm", | 295 "webui/web_ui_ios_data_source_impl.mm", |
263 "webui/web_ui_ios_impl.h", | 296 "webui/web_ui_ios_impl.h", |
264 "webui/web_ui_ios_impl.mm", | 297 "webui/web_ui_ios_impl.mm", |
265 ] | 298 ] |
266 | 299 |
267 libs = [ "WebKit.framework" ] | 300 libs = [ "WebKit.framework" ] |
| 301 |
| 302 allow_circular_includes_from = [ ":web_arc" ] |
268 } | 303 } |
269 | 304 |
270 source_set("core") { | 305 source_set("core") { |
271 deps = [ | 306 deps = [ |
272 "//base", | 307 "//base", |
273 "//url", | 308 "//url", |
274 ] | 309 ] |
275 | 310 |
276 sources = [ | 311 sources = [ |
277 "crw_network_activity_indicator_manager.h", | 312 "crw_network_activity_indicator_manager.h", |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 } | 600 } |
566 | 601 |
567 grit("resources") { | 602 grit("resources") { |
568 source = "ios_web_resources.grd" | 603 source = "ios_web_resources.grd" |
569 use_qualified_include = true | 604 use_qualified_include = true |
570 outputs = [ | 605 outputs = [ |
571 "grit/ios_web_resources.h", | 606 "grit/ios_web_resources.h", |
572 "ios_web_resources.pak", | 607 "ios_web_resources.pak", |
573 ] | 608 ] |
574 } | 609 } |
OLD | NEW |