Chromium Code Reviews| 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", | |
|
Eugene But (OOO till 7-30)
2016/08/01 21:13:48
Should |CreateWKWebView| be annotated with somethi
stkhapugin
2016/08/18 17:09:36
Solved with https://codereview.chromium.org/223977
| |
| 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/cert_verifier_block_adapter.cc", | 110 "net/cert_verifier_block_adapter.cc", |
| 71 "net/cert_verifier_block_adapter.h", | 111 "net/cert_verifier_block_adapter.h", |
| 72 "net/certificate_policy_cache.cc", | 112 "net/certificate_policy_cache.cc", |
| 73 "net/clients/crw_js_injection_network_client.h", | 113 "net/clients/crw_js_injection_network_client.h", |
| 74 "net/clients/crw_js_injection_network_client.mm", | 114 "net/clients/crw_js_injection_network_client.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 229 "web_state/web_state_impl.mm", | 265 "web_state/web_state_impl.mm", |
| 230 "web_state/web_state_observer.mm", | 266 "web_state/web_state_observer.mm", |
| 231 "web_state/web_state_observer_bridge.mm", | 267 "web_state/web_state_observer_bridge.mm", |
| 232 "web_state/web_state_policy_decider.mm", | 268 "web_state/web_state_policy_decider.mm", |
| 233 "web_state/web_state_weak_ptr_factory.h", | 269 "web_state/web_state_weak_ptr_factory.h", |
| 234 "web_state/web_state_weak_ptr_factory.mm", | 270 "web_state/web_state_weak_ptr_factory.mm", |
| 235 "web_state/web_view_internal_creation_util.h", | 271 "web_state/web_view_internal_creation_util.h", |
| 236 "web_state/web_view_internal_creation_util.mm", | 272 "web_state/web_view_internal_creation_util.mm", |
| 237 "web_state/wk_web_view_security_util.h", | 273 "web_state/wk_web_view_security_util.h", |
| 238 "web_state/wk_web_view_security_util.mm", | 274 "web_state/wk_web_view_security_util.mm", |
| 239 "web_thread_impl.cc", | |
| 240 "web_thread_impl.h", | |
| 241 "web_view_creation_util.mm", | |
| 242 "webui/crw_web_ui_manager.h", | 275 "webui/crw_web_ui_manager.h", |
| 243 "webui/crw_web_ui_manager.mm", | 276 "webui/crw_web_ui_manager.mm", |
| 244 "webui/crw_web_ui_page_builder.h", | 277 "webui/crw_web_ui_page_builder.h", |
| 245 "webui/crw_web_ui_page_builder.mm", | 278 "webui/crw_web_ui_page_builder.mm", |
| 246 "webui/mojo_facade.h", | 279 "webui/mojo_facade.h", |
| 247 "webui/mojo_facade.mm", | 280 "webui/mojo_facade.mm", |
| 248 "webui/mojo_js_constants.cc", | 281 "webui/mojo_js_constants.cc", |
| 249 "webui/mojo_js_constants.h", | 282 "webui/mojo_js_constants.h", |
| 250 "webui/shared_resources_data_source_ios.h", | 283 "webui/shared_resources_data_source_ios.h", |
| 251 "webui/shared_resources_data_source_ios.mm", | 284 "webui/shared_resources_data_source_ios.mm", |
| 252 "webui/url_data_manager_ios.cc", | 285 "webui/url_data_manager_ios.cc", |
| 253 "webui/url_data_manager_ios.h", | 286 "webui/url_data_manager_ios.h", |
| 254 "webui/url_data_manager_ios_backend.h", | 287 "webui/url_data_manager_ios_backend.h", |
| 255 "webui/url_data_manager_ios_backend.mm", | 288 "webui/url_data_manager_ios_backend.mm", |
| 256 "webui/url_data_source_ios.mm", | 289 "webui/url_data_source_ios.mm", |
| 257 "webui/url_data_source_ios_impl.cc", | 290 "webui/url_data_source_ios_impl.cc", |
| 258 "webui/url_data_source_ios_impl.h", | 291 "webui/url_data_source_ios_impl.h", |
| 259 "webui/url_fetcher_block_adapter.h", | 292 "webui/url_fetcher_block_adapter.h", |
| 260 "webui/url_fetcher_block_adapter.mm", | 293 "webui/url_fetcher_block_adapter.mm", |
| 261 "webui/web_ui_ios_controller_factory_registry.cc", | 294 "webui/web_ui_ios_controller_factory_registry.cc", |
| 262 "webui/web_ui_ios_controller_factory_registry.h", | 295 "webui/web_ui_ios_controller_factory_registry.h", |
| 263 "webui/web_ui_ios_data_source_impl.h", | 296 "webui/web_ui_ios_data_source_impl.h", |
| 264 "webui/web_ui_ios_data_source_impl.mm", | 297 "webui/web_ui_ios_data_source_impl.mm", |
| 265 "webui/web_ui_ios_impl.h", | 298 "webui/web_ui_ios_impl.h", |
| 266 "webui/web_ui_ios_impl.mm", | 299 "webui/web_ui_ios_impl.mm", |
| 267 ] | 300 ] |
| 268 | 301 |
| 269 libs = [ "WebKit.framework" ] | 302 libs = [ "WebKit.framework" ] |
| 303 | |
| 304 allow_circular_includes_from = [ ":web_arc" ] | |
| 270 } | 305 } |
| 271 | 306 |
| 272 source_set("core") { | 307 source_set("core") { |
| 273 deps = [ | 308 deps = [ |
| 274 "//base", | 309 "//base", |
| 275 "//url", | 310 "//url", |
| 276 ] | 311 ] |
| 277 | 312 |
| 278 sources = [ | 313 sources = [ |
| 279 "crw_network_activity_indicator_manager.h", | 314 "crw_network_activity_indicator_manager.h", |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 568 } | 603 } |
| 569 | 604 |
| 570 grit("resources") { | 605 grit("resources") { |
| 571 source = "ios_web_resources.grd" | 606 source = "ios_web_resources.grd" |
| 572 use_qualified_include = true | 607 use_qualified_include = true |
| 573 outputs = [ | 608 outputs = [ |
| 574 "grit/ios_web_resources.h", | 609 "grit/ios_web_resources.h", |
| 575 "ios_web_resources.pak", | 610 "ios_web_resources.pak", |
| 576 ] | 611 ] |
| 577 } | 612 } |
| OLD | NEW |