| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 import("//ios/web/js_compile.gni") | 6 import("//ios/web/js_compile.gni") |
| 7 | 7 |
| 8 source_set("web") { | 8 source_set("web") { |
| 9 deps = [ | 9 deps = [ |
| 10 ":core", | 10 ":core", |
| 11 ":js_resources", | 11 ":js_resources", |
| 12 ":user_agent", | 12 ":user_agent", |
| 13 "//base", | 13 "//base", |
| 14 "//components/url_formatter", | 14 "//components/url_formatter", |
| 15 "//ios/net", | 15 "//ios/net", |
| 16 "//ios/third_party/blink:html_tokenizer", | 16 "//ios/third_party/blink:html_tokenizer", |
| 17 "//mojo/edk/system", |
| 18 "//mojo/public/cpp/system", |
| 17 "//net", | 19 "//net", |
| 20 "//services/shell/public/cpp", |
| 18 "//ui/base", | 21 "//ui/base", |
| 19 "//ui/gfx", | 22 "//ui/gfx", |
| 20 "//ui/gfx/geometry:geometry", | 23 "//ui/gfx/geometry:geometry", |
| 21 "//ui/resources", | 24 "//ui/resources", |
| 22 "//url", | 25 "//url", |
| 23 ] | 26 ] |
| 24 | 27 |
| 25 sources = [ | 28 sources = [ |
| 26 "active_state_manager_impl.h", | 29 "active_state_manager_impl.h", |
| 27 "active_state_manager_impl.mm", | 30 "active_state_manager_impl.mm", |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 "web_state/web_view_internal_creation_util.mm", | 226 "web_state/web_view_internal_creation_util.mm", |
| 224 "web_state/wk_web_view_security_util.h", | 227 "web_state/wk_web_view_security_util.h", |
| 225 "web_state/wk_web_view_security_util.mm", | 228 "web_state/wk_web_view_security_util.mm", |
| 226 "web_thread_impl.cc", | 229 "web_thread_impl.cc", |
| 227 "web_thread_impl.h", | 230 "web_thread_impl.h", |
| 228 "web_view_creation_util.mm", | 231 "web_view_creation_util.mm", |
| 229 "webui/crw_web_ui_manager.h", | 232 "webui/crw_web_ui_manager.h", |
| 230 "webui/crw_web_ui_manager.mm", | 233 "webui/crw_web_ui_manager.mm", |
| 231 "webui/crw_web_ui_page_builder.h", | 234 "webui/crw_web_ui_page_builder.h", |
| 232 "webui/crw_web_ui_page_builder.mm", | 235 "webui/crw_web_ui_page_builder.mm", |
| 236 "webui/mojo_facade.h", |
| 237 "webui/mojo_facade.mm", |
| 233 "webui/shared_resources_data_source_ios.h", | 238 "webui/shared_resources_data_source_ios.h", |
| 234 "webui/shared_resources_data_source_ios.mm", | 239 "webui/shared_resources_data_source_ios.mm", |
| 235 "webui/url_data_manager_ios.cc", | 240 "webui/url_data_manager_ios.cc", |
| 236 "webui/url_data_manager_ios.h", | 241 "webui/url_data_manager_ios.h", |
| 237 "webui/url_data_manager_ios_backend.h", | 242 "webui/url_data_manager_ios_backend.h", |
| 238 "webui/url_data_manager_ios_backend.mm", | 243 "webui/url_data_manager_ios_backend.mm", |
| 239 "webui/url_data_source_ios.mm", | 244 "webui/url_data_source_ios.mm", |
| 240 "webui/url_data_source_ios_impl.cc", | 245 "webui/url_data_source_ios_impl.cc", |
| 241 "webui/url_data_source_ios_impl.h", | 246 "webui/url_data_source_ios_impl.h", |
| 242 "webui/url_fetcher_block_adapter.h", | 247 "webui/url_fetcher_block_adapter.h", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 } | 282 } |
| 278 | 283 |
| 279 source_set("test_support") { | 284 source_set("test_support") { |
| 280 testonly = true | 285 testonly = true |
| 281 | 286 |
| 282 deps = [ | 287 deps = [ |
| 283 ":web", | 288 ":web", |
| 284 "//base/test:test_support", | 289 "//base/test:test_support", |
| 285 "//ios/testing:ocmock_support", | 290 "//ios/testing:ocmock_support", |
| 286 "//ios/third_party/gcdwebserver", | 291 "//ios/third_party/gcdwebserver", |
| 292 "//ios/web/test:mojo_bindings", |
| 287 "//net:test_support", | 293 "//net:test_support", |
| 288 "//testing/gmock", | 294 "//testing/gmock", |
| 289 "//testing/gtest", | 295 "//testing/gtest", |
| 290 "//third_party/ocmock", | 296 "//third_party/ocmock", |
| 291 ] | 297 ] |
| 292 | 298 |
| 293 sources = [ | 299 sources = [ |
| 294 "public/test/crw_test_js_injection_receiver.h", | 300 "public/test/crw_test_js_injection_receiver.h", |
| 295 "public/test/crw_test_js_injection_receiver.mm", | 301 "public/test/crw_test_js_injection_receiver.mm", |
| 296 "public/test/http_server.h", | 302 "public/test/http_server.h", |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 "web_state/ui/wk_back_forward_list_item_holder_unittest.mm", | 425 "web_state/ui/wk_back_forward_list_item_holder_unittest.mm", |
| 420 "web_state/ui/wk_web_view_configuration_provider_unittest.mm", | 426 "web_state/ui/wk_web_view_configuration_provider_unittest.mm", |
| 421 "web_state/web_state_delegate_bridge_unittest.mm", | 427 "web_state/web_state_delegate_bridge_unittest.mm", |
| 422 "web_state/web_state_delegate_stub.h", | 428 "web_state/web_state_delegate_stub.h", |
| 423 "web_state/web_state_delegate_stub.mm", | 429 "web_state/web_state_delegate_stub.mm", |
| 424 "web_state/web_state_impl_unittest.mm", | 430 "web_state/web_state_impl_unittest.mm", |
| 425 "web_state/web_view_internal_creation_util_unittest.mm", | 431 "web_state/web_view_internal_creation_util_unittest.mm", |
| 426 "web_state/wk_web_view_security_util_unittest.mm", | 432 "web_state/wk_web_view_security_util_unittest.mm", |
| 427 "webui/crw_web_ui_manager_unittest.mm", | 433 "webui/crw_web_ui_manager_unittest.mm", |
| 428 "webui/crw_web_ui_page_builder_unittest.mm", | 434 "webui/crw_web_ui_page_builder_unittest.mm", |
| 435 "webui/mojo_facade_unittest.mm", |
| 429 "webui/url_fetcher_block_adapter_unittest.mm", | 436 "webui/url_fetcher_block_adapter_unittest.mm", |
| 430 ] | 437 ] |
| 431 } | 438 } |
| 432 | 439 |
| 433 test("ios_web_inttests") { | 440 test("ios_web_inttests") { |
| 434 deps = [ | 441 deps = [ |
| 435 ":test_support", | 442 ":test_support", |
| 436 ":web", | 443 ":web", |
| 437 "//base/test:test_support", | 444 "//base/test:test_support", |
| 438 "//net:test_support", | 445 "//net:test_support", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 ":web_bundle", | 488 ":web_bundle", |
| 482 ":web_ui_bundle", | 489 ":web_ui_bundle", |
| 483 ] | 490 ] |
| 484 | 491 |
| 485 sources = [ | 492 sources = [ |
| 486 "web_state/js/resources/plugin_placeholder.js", | 493 "web_state/js/resources/plugin_placeholder.js", |
| 487 "web_state/js/resources/post_request.js", | 494 "web_state/js/resources/post_request.js", |
| 488 "web_state/js/resources/window_id.js", | 495 "web_state/js/resources/window_id.js", |
| 489 ] | 496 ] |
| 490 } | 497 } |
| OLD | NEW |