| 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") { |
| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 "web_state/ui/crw_wk_script_message_router.h", | 209 "web_state/ui/crw_wk_script_message_router.h", |
| 210 "web_state/ui/crw_wk_script_message_router.mm", | 210 "web_state/ui/crw_wk_script_message_router.mm", |
| 211 "web_state/ui/web_view_js_utils.h", | 211 "web_state/ui/web_view_js_utils.h", |
| 212 "web_state/ui/web_view_js_utils.mm", | 212 "web_state/ui/web_view_js_utils.mm", |
| 213 "web_state/ui/wk_back_forward_list_item_holder.h", | 213 "web_state/ui/wk_back_forward_list_item_holder.h", |
| 214 "web_state/ui/wk_back_forward_list_item_holder.mm", | 214 "web_state/ui/wk_back_forward_list_item_holder.mm", |
| 215 "web_state/ui/wk_web_view_configuration_provider.h", | 215 "web_state/ui/wk_web_view_configuration_provider.h", |
| 216 "web_state/ui/wk_web_view_configuration_provider.mm", | 216 "web_state/ui/wk_web_view_configuration_provider.mm", |
| 217 "web_state/web_controller_observer_bridge.h", | 217 "web_state/web_controller_observer_bridge.h", |
| 218 "web_state/web_controller_observer_bridge.mm", | 218 "web_state/web_controller_observer_bridge.mm", |
| 219 "web_state/web_state.mm", |
| 220 "web_state/web_state_delegate.mm", |
| 221 "web_state/web_state_delegate_bridge.mm", |
| 222 "web_state/web_state_facade_delegate.h", |
| 223 "web_state/web_state_impl.h", |
| 224 "web_state/web_state_impl.mm", |
| 225 "web_state/web_state_observer.mm", |
| 226 "web_state/web_state_observer_bridge.mm", |
| 227 "web_state/web_state_policy_decider.mm", |
| 228 "web_state/web_state_weak_ptr_factory.h", |
| 229 "web_state/web_state_weak_ptr_factory.mm", |
| 230 "web_state/web_view_internal_creation_util.h", |
| 231 "web_state/web_view_internal_creation_util.mm", |
| 232 "web_state/wk_web_view_security_util.h", |
| 233 "web_state/wk_web_view_security_util.mm", |
| 219 "web_thread_impl.cc", | 234 "web_thread_impl.cc", |
| 220 "web_thread_impl.h", | 235 "web_thread_impl.h", |
| 221 "web_view_creation_util.mm", | 236 "web_view_creation_util.mm", |
| 222 "webui/crw_web_ui_manager.h", | 237 "webui/crw_web_ui_manager.h", |
| 223 "webui/crw_web_ui_manager.mm", | 238 "webui/crw_web_ui_manager.mm", |
| 224 "webui/crw_web_ui_page_builder.h", | 239 "webui/crw_web_ui_page_builder.h", |
| 225 "webui/crw_web_ui_page_builder.mm", | 240 "webui/crw_web_ui_page_builder.mm", |
| 226 "webui/mojo_facade.h", | 241 "webui/mojo_facade.h", |
| 227 "webui/mojo_facade.mm", | 242 "webui/mojo_facade.mm", |
| 228 "webui/mojo_js_constants.cc", | 243 "webui/mojo_js_constants.cc", |
| 229 "webui/mojo_js_constants.h", | 244 "webui/mojo_js_constants.h", |
| 230 "webui/shared_resources_data_source_ios.h", | 245 "webui/shared_resources_data_source_ios.h", |
| 231 "webui/shared_resources_data_source_ios.mm", | 246 "webui/shared_resources_data_source_ios.mm", |
| 232 "webui/url_data_manager_ios.cc", | 247 "webui/url_data_manager_ios.cc", |
| 233 "webui/url_data_manager_ios.h", | 248 "webui/url_data_manager_ios.h", |
| 234 "webui/url_data_manager_ios_backend.h", | 249 "webui/url_data_manager_ios_backend.h", |
| 235 "webui/url_data_manager_ios_backend.mm", | 250 "webui/url_data_manager_ios_backend.mm", |
| 236 "webui/url_data_source_ios.mm", | 251 "webui/url_data_source_ios.mm", |
| 237 "webui/url_data_source_ios_impl.cc", | 252 "webui/url_data_source_ios_impl.cc", |
| 238 "webui/url_data_source_ios_impl.h", | 253 "webui/url_data_source_ios_impl.h", |
| 239 "webui/url_fetcher_block_adapter.h", | 254 "webui/url_fetcher_block_adapter.h", |
| 240 "webui/url_fetcher_block_adapter.mm", | 255 "webui/url_fetcher_block_adapter.mm", |
| 241 "webui/web_ui_ios_controller_factory_registry.cc", | 256 "webui/web_ui_ios_controller_factory_registry.cc", |
| 242 "webui/web_ui_ios_controller_factory_registry.h", | 257 "webui/web_ui_ios_controller_factory_registry.h", |
| 243 "webui/web_ui_ios_data_source_impl.h", | 258 "webui/web_ui_ios_data_source_impl.h", |
| 244 "webui/web_ui_ios_data_source_impl.mm", | 259 "webui/web_ui_ios_data_source_impl.mm", |
| 245 "webui/web_ui_ios_impl.h", | 260 "webui/web_ui_ios_impl.h", |
| 246 "webui/web_ui_ios_impl.mm", | 261 "webui/web_ui_ios_impl.mm", |
| 247 ] | 262 ] |
| 248 | |
| 249 libs = [ "WebKit.framework" ] | |
| 250 | |
| 251 configs += [ "//build/config/compiler:enable_arc" ] | 263 configs += [ "//build/config/compiler:enable_arc" ] |
| 252 } | |
| 253 | |
| 254 source_set("web") { | |
| 255 deps = [ | |
| 256 ":core", | |
| 257 ":js_resources", | |
| 258 ":resources", | |
| 259 ":user_agent", | |
| 260 "//base", | |
| 261 "//components/url_formatter", | |
| 262 "//ios/net", | |
| 263 "//ios/third_party/blink:html_tokenizer", | |
| 264 "//mojo/public/cpp/system", | |
| 265 "//mojo/public/js", | |
| 266 "//net", | |
| 267 "//services/service_manager/public/cpp", | |
| 268 "//ui/base", | |
| 269 "//ui/gfx", | |
| 270 "//ui/gfx/geometry:geometry", | |
| 271 "//ui/resources", | |
| 272 "//url", | |
| 273 ] | |
| 274 | |
| 275 public_deps = [ | |
| 276 ":web_arc", | |
| 277 ] | |
| 278 | |
| 279 sources = [ | |
| 280 "web_state/web_state.mm", | |
| 281 "web_state/web_state_delegate.mm", | |
| 282 "web_state/web_state_delegate_bridge.mm", | |
| 283 "web_state/web_state_facade_delegate.h", | |
| 284 "web_state/web_state_impl.h", | |
| 285 "web_state/web_state_impl.mm", | |
| 286 "web_state/web_state_observer.mm", | |
| 287 "web_state/web_state_observer_bridge.mm", | |
| 288 "web_state/web_state_policy_decider.mm", | |
| 289 "web_state/web_state_weak_ptr_factory.h", | |
| 290 "web_state/web_state_weak_ptr_factory.mm", | |
| 291 "web_state/web_view_internal_creation_util.h", | |
| 292 "web_state/web_view_internal_creation_util.mm", | |
| 293 "web_state/wk_web_view_security_util.h", | |
| 294 "web_state/wk_web_view_security_util.mm", | |
| 295 ] | |
| 296 | 264 |
| 297 libs = [ | 265 libs = [ |
| 298 "CoreGraphics.framework", | 266 "CoreGraphics.framework", |
| 299 "WebKit.framework", | 267 "WebKit.framework", |
| 300 ] | 268 ] |
| 301 | |
| 302 allow_circular_includes_from = [ ":web_arc" ] | |
| 303 } | 269 } |
| 304 | 270 |
| 305 source_set("core") { | 271 source_set("core") { |
| 306 deps = [ | 272 deps = [ |
| 307 "//base", | 273 "//base", |
| 308 "//url", | 274 "//url", |
| 309 ] | 275 ] |
| 310 | 276 |
| 311 sources = [ | 277 sources = [ |
| 312 "crw_network_activity_indicator_manager.h", | 278 "crw_network_activity_indicator_manager.h", |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 } | 577 } |
| 612 | 578 |
| 613 grit("resources") { | 579 grit("resources") { |
| 614 source = "ios_web_resources.grd" | 580 source = "ios_web_resources.grd" |
| 615 use_qualified_include = true | 581 use_qualified_include = true |
| 616 outputs = [ | 582 outputs = [ |
| 617 "grit/ios_web_resources.h", | 583 "grit/ios_web_resources.h", |
| 618 "ios_web_resources.pak", | 584 "ios_web_resources.pak", |
| 619 ] | 585 ] |
| 620 } | 586 } |
| OLD | NEW |