| 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", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 "public/navigation_manager.h", | 106 "public/navigation_manager.h", |
| 107 "public/origin_util.h", | 107 "public/origin_util.h", |
| 108 "public/origin_util.mm", | 108 "public/origin_util.mm", |
| 109 "public/referrer.h", | 109 "public/referrer.h", |
| 110 "public/referrer_util.cc", | 110 "public/referrer_util.cc", |
| 111 "public/referrer_util.h", | 111 "public/referrer_util.h", |
| 112 "public/security_style.h", | 112 "public/security_style.h", |
| 113 "public/ssl_status.cc", | 113 "public/ssl_status.cc", |
| 114 "public/ssl_status.h", | 114 "public/ssl_status.h", |
| 115 "public/string_util.h", | 115 "public/string_util.h", |
| 116 "public/url_data_source_ios.h", | |
| 117 "public/url_scheme_util.h", | 116 "public/url_scheme_util.h", |
| 118 "public/url_schemes.h", | 117 "public/url_schemes.h", |
| 119 "public/url_schemes.mm", | 118 "public/url_schemes.mm", |
| 120 "public/url_util.h", | 119 "public/url_util.h", |
| 121 "public/user_metrics.h", | 120 "public/user_metrics.h", |
| 121 "public/web/url_data_source_ios.h", |
| 122 "public/web_capabilities.cc", | 122 "public/web_capabilities.cc", |
| 123 "public/web_capabilities.h", | 123 "public/web_capabilities.h", |
| 124 "public/web_client.h", | 124 "public/web_client.h", |
| 125 "public/web_client.mm", | 125 "public/web_client.mm", |
| 126 "public/web_kit_constants.h", | 126 "public/web_kit_constants.h", |
| 127 "public/web_state/context_menu_params.h", | 127 "public/web_state/context_menu_params.h", |
| 128 "public/web_state/credential.h", | 128 "public/web_state/credential.h", |
| 129 "public/web_state/crw_web_controller_observer.h", | 129 "public/web_state/crw_web_controller_observer.h", |
| 130 "public/web_state/crw_web_user_interface_delegate.h", | 130 "public/web_state/crw_web_user_interface_delegate.h", |
| 131 "public/web_state/crw_web_view_proxy.h", | 131 "public/web_state/crw_web_view_proxy.h", |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 "webui/web_ui_ios_impl.h", | 248 "webui/web_ui_ios_impl.h", |
| 249 "webui/web_ui_ios_impl.mm", | 249 "webui/web_ui_ios_impl.mm", |
| 250 ] | 250 ] |
| 251 | 251 |
| 252 libs = [ "WebKit.framework" ] | 252 libs = [ "WebKit.framework" ] |
| 253 } | 253 } |
| 254 | 254 |
| 255 source_set("core") { | 255 source_set("core") { |
| 256 deps = [ | 256 deps = [ |
| 257 "//base", | 257 "//base", |
| 258 "//url", | |
| 259 ] | 258 ] |
| 260 | 259 |
| 261 sources = [ | 260 sources = [ |
| 262 "crw_network_activity_indicator_manager.h", | 261 "crw_network_activity_indicator_manager.h", |
| 263 "crw_network_activity_indicator_manager.mm", | 262 "crw_network_activity_indicator_manager.mm", |
| 264 "history_state_util.h", | 263 "history_state_util.h", |
| 265 "history_state_util.mm", | 264 "history_state_util.mm", |
| 266 ] | 265 ] |
| 267 } | 266 } |
| 268 | 267 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 "test/data/testpass.pkpass", | 353 "test/data/testpass.pkpass", |
| 355 ] | 354 ] |
| 356 outputs = [ | 355 outputs = [ |
| 357 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | 356 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + |
| 358 "{{source_file_part}}", | 357 "{{source_file_part}}", |
| 359 ] | 358 ] |
| 360 } | 359 } |
| 361 | 360 |
| 362 test("ios_web_unittests") { | 361 test("ios_web_unittests") { |
| 363 deps = [ | 362 deps = [ |
| 364 ":core", | |
| 365 ":ios_web_unittests_bundle_data", | 363 ":ios_web_unittests_bundle_data", |
| 366 ":test_support", | 364 ":test_support", |
| 367 ":web", | 365 ":web", |
| 368 "//base", | 366 "//base", |
| 369 "//base/test:test_support", | 367 "//base/test:test_support", |
| 370 "//ios/net", | |
| 371 "//ios/testing:ocmock_support", | 368 "//ios/testing:ocmock_support", |
| 372 "//net:test_support", | 369 "//net:test_support", |
| 373 "//testing/gmock", | 370 "//testing/gmock", |
| 374 "//testing/gtest", | 371 "//testing/gtest", |
| 375 "//third_party/ocmock", | 372 "//third_party/ocmock", |
| 376 "//ui/base:test_support", | 373 "//ui/base:test_support", |
| 377 ] | 374 ] |
| 378 | 375 |
| 379 sources = [ | 376 sources = [ |
| 380 "active_state_manager_impl_unittest.mm", | 377 "active_state_manager_impl_unittest.mm", |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 ":web_bundle", | 481 ":web_bundle", |
| 485 ":web_ui_bundle", | 482 ":web_ui_bundle", |
| 486 ] | 483 ] |
| 487 | 484 |
| 488 sources = [ | 485 sources = [ |
| 489 "web_state/js/resources/plugin_placeholder.js", | 486 "web_state/js/resources/plugin_placeholder.js", |
| 490 "web_state/js/resources/post_request.js", | 487 "web_state/js/resources/post_request.js", |
| 491 "web_state/js/resources/window_id.js", | 488 "web_state/js/resources/window_id.js", |
| 492 ] | 489 ] |
| 493 } | 490 } |
| OLD | NEW |