OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # GN build of //ios/web only supports building with the web implementation of |
| 6 # WebThread as opposed to GYP build that allow using a shim implementation based |
| 7 # on top of BrowserThread. |
| 8 # |
| 9 # See ios/web/ios_web.gyp for more information on how gyp supports this. The |
| 10 # gn targets will fold the target selection in the gyp "incomplete" targets. |
| 11 |
| 12 import("//testing/test.gni") |
| 13 import("//ios/web/js_compile.gni") |
| 14 |
| 15 config("config") { |
| 16 visibility = [ ":web" ] |
| 17 |
| 18 # The WebKit framework is only available since iOS 8.0 but Chrome on iOS do |
| 19 # supports iOS 7.0 so need to use weak linking. |
| 20 # TODO(eugenebut): change to regular linking once support for iOS 7 is |
| 21 # dropped. http://crbug.com/541549 |
| 22 ldflags = [ |
| 23 "-weak_framework", |
| 24 "WebKit", |
| 25 ] |
| 26 } |
| 27 |
| 28 source_set("web") { |
| 29 deps = [ |
| 30 ":core", |
| 31 ":js_resources", |
| 32 ":user_agent", |
| 33 "//base", |
| 34 "//components/url_formatter", |
| 35 "//ios/net", |
| 36 "//ios/third_party/blink:html_tokenizer", |
| 37 "//net", |
| 38 "//ui/base", |
| 39 "//ui/gfx", |
| 40 "//ui/gfx/geometry:geometry", |
| 41 "//ui/resources", |
| 42 "//url", |
| 43 ] |
| 44 |
| 45 sources = [ |
| 46 "active_state_manager_impl.h", |
| 47 "active_state_manager_impl.mm", |
| 48 "alloc_with_zone_interceptor.h", |
| 49 "alloc_with_zone_interceptor.mm", |
| 50 "browser_state.mm", |
| 51 "browser_url_rewriter_impl.cc", |
| 52 "browser_url_rewriter_impl.h", |
| 53 "browsing_data_managers/crw_browsing_data_manager.h", |
| 54 "browsing_data_managers/crw_cookie_browsing_data_manager.h", |
| 55 "browsing_data_managers/crw_cookie_browsing_data_manager.mm", |
| 56 "browsing_data_partition_impl.h", |
| 57 "browsing_data_partition_impl.mm", |
| 58 "crw_browsing_data_store.mm", |
| 59 "interstitials/html_web_interstitial_impl.h", |
| 60 "interstitials/html_web_interstitial_impl.mm", |
| 61 "interstitials/native_web_interstitial_impl.h", |
| 62 "interstitials/native_web_interstitial_impl.mm", |
| 63 "interstitials/web_interstitial_facade_delegate.h", |
| 64 "interstitials/web_interstitial_impl.h", |
| 65 "interstitials/web_interstitial_impl.mm", |
| 66 "load_committed_details.cc", |
| 67 "navigation/crw_session_certificate_policy_manager.h", |
| 68 "navigation/crw_session_certificate_policy_manager.mm", |
| 69 "navigation/crw_session_controller+private_constructors.h", |
| 70 "navigation/crw_session_controller.h", |
| 71 "navigation/crw_session_controller.mm", |
| 72 "navigation/crw_session_entry.h", |
| 73 "navigation/crw_session_entry.mm", |
| 74 "navigation/navigation_item_facade_delegate.h", |
| 75 "navigation/navigation_item_impl.h", |
| 76 "navigation/navigation_item_impl.mm", |
| 77 "navigation/navigation_manager_delegate.h", |
| 78 "navigation/navigation_manager_facade_delegate.h", |
| 79 "navigation/navigation_manager_impl.h", |
| 80 "navigation/navigation_manager_impl.mm", |
| 81 "navigation/nscoder_util.h", |
| 82 "navigation/nscoder_util.mm", |
| 83 "navigation/time_smoother.cc", |
| 84 "navigation/time_smoother.h", |
| 85 "navigation/web_load_params.h", |
| 86 "navigation/web_load_params.mm", |
| 87 "net/cert_policy.cc", |
| 88 "net/cert_store_impl.cc", |
| 89 "net/cert_store_impl.h", |
| 90 "net/cert_verifier_block_adapter.cc", |
| 91 "net/cert_verifier_block_adapter.h", |
| 92 "net/certificate_policy_cache.cc", |
| 93 "net/clients/crw_csp_network_client.h", |
| 94 "net/clients/crw_csp_network_client.mm", |
| 95 "net/clients/crw_js_injection_network_client.h", |
| 96 "net/clients/crw_js_injection_network_client.mm", |
| 97 "net/clients/crw_js_injection_network_client_factory.h", |
| 98 "net/clients/crw_js_injection_network_client_factory.mm", |
| 99 "net/clients/crw_passkit_delegate.h", |
| 100 "net/clients/crw_passkit_network_client.h", |
| 101 "net/clients/crw_passkit_network_client.mm", |
| 102 "net/clients/crw_passkit_network_client_factory.h", |
| 103 "net/clients/crw_passkit_network_client_factory.mm", |
| 104 "net/clients/crw_redirect_network_client.h", |
| 105 "net/clients/crw_redirect_network_client.mm", |
| 106 "net/clients/crw_redirect_network_client_factory.h", |
| 107 "net/clients/crw_redirect_network_client_factory.mm", |
| 108 "net/cookie_notification_bridge.h", |
| 109 "net/cookie_notification_bridge.mm", |
| 110 "net/crw_cert_policy_cache.h", |
| 111 "net/crw_cert_policy_cache.mm", |
| 112 "net/crw_cert_verification_controller.h", |
| 113 "net/crw_cert_verification_controller.mm", |
| 114 "net/crw_request_tracker_delegate.h", |
| 115 "net/crw_url_verifying_protocol_handler.h", |
| 116 "net/crw_url_verifying_protocol_handler.mm", |
| 117 "net/request_group_util.h", |
| 118 "net/request_group_util.mm", |
| 119 "net/request_tracker_data_memoizing_store.h", |
| 120 "net/request_tracker_factory_impl.h", |
| 121 "net/request_tracker_factory_impl.mm", |
| 122 "net/request_tracker_impl.h", |
| 123 "net/request_tracker_impl.mm", |
| 124 "net/web_http_protocol_handler_delegate.h", |
| 125 "net/web_http_protocol_handler_delegate.mm", |
| 126 "public/active_state_manager.h", |
| 127 "public/block_types.h", |
| 128 "public/browser_state.h", |
| 129 "public/browser_url_rewriter.h", |
| 130 "public/browsing_data_partition.h", |
| 131 "public/browsing_data_partition_client.cc", |
| 132 "public/browsing_data_partition_client.h", |
| 133 "public/cert_policy.h", |
| 134 "public/cert_store.h", |
| 135 "public/certificate_policy_cache.h", |
| 136 "public/crw_browsing_data_store.h", |
| 137 "public/crw_browsing_data_store_delegate.h", |
| 138 "public/favicon_status.cc", |
| 139 "public/favicon_status.h", |
| 140 "public/favicon_url.cc", |
| 141 "public/favicon_url.h", |
| 142 "public/interstitials/web_interstitial.h", |
| 143 "public/interstitials/web_interstitial_delegate.h", |
| 144 "public/load_committed_details.h", |
| 145 "public/navigation_item.h", |
| 146 "public/navigation_manager.h", |
| 147 "public/referrer.h", |
| 148 "public/referrer_util.cc", |
| 149 "public/referrer_util.h", |
| 150 "public/security_style.h", |
| 151 "public/ssl_status.cc", |
| 152 "public/ssl_status.h", |
| 153 "public/string_util.h", |
| 154 "public/url_scheme_util.h", |
| 155 "public/url_util.h", |
| 156 "public/user_metrics.h", |
| 157 "public/web/url_data_source_ios.h", |
| 158 "public/web_client.h", |
| 159 "public/web_client.mm", |
| 160 "public/web_controller_factory.h", |
| 161 "public/web_controller_factory.mm", |
| 162 "public/web_kit_constants.h", |
| 163 "public/web_state/credential.h", |
| 164 "public/web_state/crw_web_controller_observer.h", |
| 165 "public/web_state/crw_web_user_interface_delegate.h", |
| 166 "public/web_state/crw_web_view_proxy.h", |
| 167 "public/web_state/crw_web_view_scroll_view_proxy.h", |
| 168 "public/web_state/global_web_state_observer.h", |
| 169 "public/web_state/js/crw_js_injection_evaluator.h", |
| 170 "public/web_state/js/crw_js_injection_manager.h", |
| 171 "public/web_state/js/crw_js_injection_receiver.h", |
| 172 "public/web_state/page_display_state.h", |
| 173 "public/web_state/page_display_state.mm", |
| 174 "public/web_state/ui/crw_content_view.h", |
| 175 "public/web_state/ui/crw_generic_content_view.h", |
| 176 "public/web_state/ui/crw_native_content.h", |
| 177 "public/web_state/ui/crw_native_content_provider.h", |
| 178 "public/web_state/ui/crw_web_delegate.h", |
| 179 "public/web_state/ui/crw_web_view_content_view.h", |
| 180 "public/web_state/url_verification_constants.h", |
| 181 "public/web_state/web_state.h", |
| 182 "public/web_state/web_state_observer.h", |
| 183 "public/web_state/web_state_observer_bridge.h", |
| 184 "public/web_state/web_state_policy_decider.h", |
| 185 "public/web_state/web_state_user_data.h", |
| 186 "public/web_thread.h", |
| 187 "public/web_thread_delegate.h", |
| 188 "public/web_ui_ios_data_source.h", |
| 189 "public/web_view_counter.h", |
| 190 "public/web_view_creation_util.h", |
| 191 "public/web_view_type.h", |
| 192 "string_util.cc", |
| 193 "ui_web_view_util.h", |
| 194 "ui_web_view_util.mm", |
| 195 "url_scheme_util.mm", |
| 196 "url_util.cc", |
| 197 "user_metrics.cc", |
| 198 "weak_nsobject_counter.h", |
| 199 "weak_nsobject_counter.mm", |
| 200 "web_kit_constants.cc", |
| 201 "web_state/blocked_popup_info.h", |
| 202 "web_state/blocked_popup_info.mm", |
| 203 "web_state/credential.cc", |
| 204 "web_state/crw_recurring_task_delegate.h", |
| 205 "web_state/crw_web_view_proxy_impl.h", |
| 206 "web_state/crw_web_view_proxy_impl.mm", |
| 207 "web_state/crw_web_view_scroll_view_proxy.mm", |
| 208 "web_state/error_translation_util.h", |
| 209 "web_state/error_translation_util.mm", |
| 210 "web_state/frame_info.h", |
| 211 "web_state/global_web_state_event_tracker.cc", |
| 212 "web_state/global_web_state_event_tracker.h", |
| 213 "web_state/global_web_state_observer.cc", |
| 214 "web_state/js/credential_util.h", |
| 215 "web_state/js/credential_util.mm", |
| 216 "web_state/js/crw_js_early_script_manager.h", |
| 217 "web_state/js/crw_js_early_script_manager.mm", |
| 218 "web_state/js/crw_js_injection_manager.mm", |
| 219 "web_state/js/crw_js_injection_receiver.mm", |
| 220 "web_state/js/crw_js_invoke_parameter_queue.h", |
| 221 "web_state/js/crw_js_invoke_parameter_queue.mm", |
| 222 "web_state/js/crw_js_plugin_placeholder_manager.h", |
| 223 "web_state/js/crw_js_plugin_placeholder_manager.mm", |
| 224 "web_state/js/crw_js_window_id_manager.h", |
| 225 "web_state/js/crw_js_window_id_manager.mm", |
| 226 "web_state/js/page_script_util.h", |
| 227 "web_state/js/page_script_util.mm", |
| 228 "web_state/ui/crw_context_menu_provider.h", |
| 229 "web_state/ui/crw_context_menu_provider.mm", |
| 230 "web_state/ui/crw_debug_web_view.h", |
| 231 "web_state/ui/crw_debug_web_view.mm", |
| 232 "web_state/ui/crw_generic_content_view.mm", |
| 233 "web_state/ui/crw_simple_web_view_controller.h", |
| 234 "web_state/ui/crw_static_file_web_view.h", |
| 235 "web_state/ui/crw_static_file_web_view.mm", |
| 236 "web_state/ui/crw_swipe_recognizer_provider.h", |
| 237 "web_state/ui/crw_touch_tracking_recognizer.h", |
| 238 "web_state/ui/crw_touch_tracking_recognizer.mm", |
| 239 "web_state/ui/crw_ui_simple_web_view_controller.h", |
| 240 "web_state/ui/crw_ui_simple_web_view_controller.mm", |
| 241 "web_state/ui/crw_ui_web_view_web_controller.h", |
| 242 "web_state/ui/crw_ui_web_view_web_controller.mm", |
| 243 "web_state/ui/crw_web_controller+protected.h", |
| 244 "web_state/ui/crw_web_controller.h", |
| 245 "web_state/ui/crw_web_controller.mm", |
| 246 "web_state/ui/crw_web_controller_container_view.h", |
| 247 "web_state/ui/crw_web_controller_container_view.mm", |
| 248 "web_state/ui/crw_web_view_content_view.mm", |
| 249 "web_state/ui/crw_wk_simple_web_view_controller.h", |
| 250 "web_state/ui/crw_wk_simple_web_view_controller.mm", |
| 251 "web_state/ui/crw_wk_web_view_crash_detector.h", |
| 252 "web_state/ui/crw_wk_web_view_crash_detector.mm", |
| 253 "web_state/ui/crw_wk_web_view_web_controller.h", |
| 254 "web_state/ui/crw_wk_web_view_web_controller.mm", |
| 255 "web_state/ui/web_view_js_utils.h", |
| 256 "web_state/ui/web_view_js_utils.mm", |
| 257 "web_state/ui/wk_back_forward_list_item_holder.h", |
| 258 "web_state/ui/wk_back_forward_list_item_holder.mm", |
| 259 "web_state/ui/wk_web_view_configuration_provider.h", |
| 260 "web_state/ui/wk_web_view_configuration_provider.mm", |
| 261 "web_state/web_controller_observer_bridge.h", |
| 262 "web_state/web_controller_observer_bridge.mm", |
| 263 "web_state/web_state.cc", |
| 264 "web_state/web_state_facade_delegate.h", |
| 265 "web_state/web_state_impl.h", |
| 266 "web_state/web_state_impl.mm", |
| 267 "web_state/web_state_observer.cc", |
| 268 "web_state/web_state_observer_bridge.mm", |
| 269 "web_state/web_state_policy_decider.mm", |
| 270 "web_state/web_view_internal_creation_util.h", |
| 271 "web_state/web_view_internal_creation_util.mm", |
| 272 "web_state/wk_web_view_security_util.h", |
| 273 "web_state/wk_web_view_security_util.mm", |
| 274 "web_thread_impl.cc", |
| 275 "web_thread_impl.h", |
| 276 "web_view_counter_impl.h", |
| 277 "web_view_counter_impl.mm", |
| 278 "web_view_creation_util.mm", |
| 279 "webui/crw_web_ui_manager.h", |
| 280 "webui/crw_web_ui_manager.mm", |
| 281 "webui/crw_web_ui_page_builder.h", |
| 282 "webui/crw_web_ui_page_builder.mm", |
| 283 "webui/shared_resources_data_source_ios.cc", |
| 284 "webui/shared_resources_data_source_ios.h", |
| 285 "webui/url_data_manager_ios.cc", |
| 286 "webui/url_data_manager_ios.h", |
| 287 "webui/url_data_manager_ios_backend.cc", |
| 288 "webui/url_data_manager_ios_backend.h", |
| 289 "webui/url_data_source_ios.cc", |
| 290 "webui/url_data_source_ios_impl.cc", |
| 291 "webui/url_data_source_ios_impl.h", |
| 292 "webui/url_fetcher_block_adapter.h", |
| 293 "webui/url_fetcher_block_adapter.mm", |
| 294 "webui/web_ui_ios_controller_factory_registry.cc", |
| 295 "webui/web_ui_ios_controller_factory_registry.h", |
| 296 "webui/web_ui_ios_data_source_impl.cc", |
| 297 "webui/web_ui_ios_data_source_impl.h", |
| 298 "webui/web_ui_ios_impl.h", |
| 299 "webui/web_ui_ios_impl.mm", |
| 300 ] |
| 301 |
| 302 public_configs = [ ":config" ] |
| 303 } |
| 304 |
| 305 source_set("core") { |
| 306 deps = [ |
| 307 "//base", |
| 308 ] |
| 309 |
| 310 sources = [ |
| 311 "crw_network_activity_indicator_manager.h", |
| 312 "crw_network_activity_indicator_manager.mm", |
| 313 "history_state_util.h", |
| 314 "history_state_util.mm", |
| 315 ] |
| 316 } |
| 317 |
| 318 source_set("user_agent") { |
| 319 deps = [ |
| 320 "//base", |
| 321 ] |
| 322 |
| 323 sources = [ |
| 324 "public/user_agent.h", |
| 325 "public/user_agent.mm", |
| 326 ] |
| 327 } |
| 328 |
| 329 source_set("test_support") { |
| 330 testonly = true |
| 331 |
| 332 deps = [ |
| 333 "//ios/testing:ocmock_support", |
| 334 "//ios/third_party/gcdwebserver", |
| 335 "//testing/gmock", |
| 336 "//testing/gtest", |
| 337 "//third_party/ocmock", |
| 338 ":web", |
| 339 ] |
| 340 |
| 341 sources = [ |
| 342 "public/test/crw_test_js_injection_receiver.h", |
| 343 "public/test/crw_test_js_injection_receiver.mm", |
| 344 "public/test/http_server.h", |
| 345 "public/test/http_server.mm", |
| 346 "public/test/js_test_util.h", |
| 347 "public/test/js_test_util.mm", |
| 348 "public/test/response_providers/data_response_provider.h", |
| 349 "public/test/response_providers/data_response_provider.mm", |
| 350 "public/test/response_providers/file_based_response_provider.h", |
| 351 "public/test/response_providers/file_based_response_provider.mm", |
| 352 "public/test/response_providers/file_based_response_provider_impl.cc", |
| 353 "public/test/response_providers/file_based_response_provider_impl.h", |
| 354 "public/test/response_providers/response_provider.cc", |
| 355 "public/test/response_providers/response_provider.h", |
| 356 "public/test/test_browser_state.cc", |
| 357 "public/test/test_browser_state.h", |
| 358 "public/test/test_web_client.h", |
| 359 "public/test/test_web_client.mm", |
| 360 "public/test/test_web_state.cc", |
| 361 "public/test/test_web_state.h", |
| 362 "public/test/test_web_thread.h", |
| 363 "public/test/test_web_thread_bundle.h", |
| 364 "public/test/test_web_view_content_view.h", |
| 365 "public/test/test_web_view_content_view.mm", |
| 366 "public/test/web_test_util.h", |
| 367 "test/crw_fake_web_controller_observer.h", |
| 368 "test/crw_fake_web_controller_observer.mm", |
| 369 "test/test_web_thread.cc", |
| 370 "test/test_web_thread_bundle.cc", |
| 371 "test/web_test.h", |
| 372 "test/web_test.mm", |
| 373 "test/web_test_suite.cc", |
| 374 "test/web_test_suite.h", |
| 375 "test/wk_web_view_crash_utils.h", |
| 376 "test/wk_web_view_crash_utils.mm", |
| 377 ] |
| 378 } |
| 379 |
| 380 test("ios_web_unittests") { |
| 381 deps = [ |
| 382 "//base", |
| 383 "//base/test:test_support", |
| 384 "//net:test_support", |
| 385 "//testing/gmock", |
| 386 "//testing/gtest", |
| 387 "//third_party/ocmock", |
| 388 "//ui/base:test_support", |
| 389 "//ios/testing:ocmock_support", |
| 390 ":web", |
| 391 ":test_support", |
| 392 ] |
| 393 |
| 394 sources = [ |
| 395 "active_state_manager_impl_unittest.mm", |
| 396 "alloc_with_zone_interceptor_unittest.mm", |
| 397 "browser_state_unittest.cc", |
| 398 "browsing_data_partition_impl_unittest.mm", |
| 399 "crw_browsing_data_store_unittest.mm", |
| 400 "crw_network_activity_indicator_manager_unittest.mm", |
| 401 "history_state_util_unittest.mm", |
| 402 "navigation/crw_session_controller_unittest.mm", |
| 403 "navigation/crw_session_entry_unittest.mm", |
| 404 "navigation/navigation_item_impl_unittest.mm", |
| 405 "navigation/navigation_manager_impl_unittest.mm", |
| 406 "navigation/nscoder_util_unittest.mm", |
| 407 "net/cert_policy_unittest.cc", |
| 408 "net/cert_verifier_block_adapter_unittest.cc", |
| 409 "net/clients/crw_csp_network_client_unittest.mm", |
| 410 "net/clients/crw_js_injection_network_client_unittest.mm", |
| 411 "net/clients/crw_passkit_network_client_unittest.mm", |
| 412 "net/crw_cert_policy_cache_unittest.mm", |
| 413 "net/crw_cert_verification_controller_unittest.mm", |
| 414 "net/crw_url_verifying_protocol_handler_unittest.mm", |
| 415 "net/request_group_util_unittest.mm", |
| 416 "net/request_tracker_impl_unittest.mm", |
| 417 "net/web_http_protocol_handler_delegate_unittest.mm", |
| 418 "public/referrer_util_unittest.cc", |
| 419 "public/test/http_server_unittest.mm", |
| 420 "string_util_unittest.cc", |
| 421 "test/crw_fake_web_controller_observer_unittest.mm", |
| 422 "test/run_all_unittests.cc", |
| 423 "ui_web_view_util_unittest.mm", |
| 424 "url_scheme_util_unittest.mm", |
| 425 "url_util_unittest.cc", |
| 426 "weak_nsobject_counter_unittest.mm", |
| 427 "web_state/crw_web_view_scroll_view_proxy_unittest.mm", |
| 428 "web_state/js/common_js_unittest.mm", |
| 429 "web_state/js/core_js_unittest.mm", |
| 430 "web_state/js/credential_util_unittest.mm", |
| 431 "web_state/js/crw_js_early_script_manager_unittest.mm", |
| 432 "web_state/js/crw_js_injection_manager_unittest.mm", |
| 433 "web_state/js/crw_js_invoke_parameter_queue_unittest.mm", |
| 434 "web_state/js/crw_js_window_id_manager_unittest.mm", |
| 435 "web_state/js/page_script_util_unittest.mm", |
| 436 "web_state/ui/crw_static_file_web_view_unittest.mm", |
| 437 "web_state/ui/crw_ui_simple_web_view_controller_unittest.mm", |
| 438 "web_state/ui/crw_web_controller_container_view_unittest.mm", |
| 439 "web_state/ui/crw_web_controller_observer_unittest.mm", |
| 440 "web_state/ui/crw_web_controller_unittest.mm", |
| 441 "web_state/ui/crw_wk_simple_web_view_controller_unittest.mm", |
| 442 "web_state/ui/crw_wk_web_view_crash_detector_unittest.mm", |
| 443 "web_state/ui/web_view_js_utils_unittest.mm", |
| 444 "web_state/ui/wk_back_forward_list_item_holder_unittest.mm", |
| 445 "web_state/ui/wk_web_view_configuration_provider_unittest.mm", |
| 446 "web_state/web_state_impl_unittest.mm", |
| 447 "web_state/web_view_internal_creation_util_unittest.mm", |
| 448 "web_state/wk_web_view_security_util_unittest.mm", |
| 449 "web_view_counter_impl_unittest.mm", |
| 450 "webui/crw_web_ui_manager_unittest.mm", |
| 451 "webui/crw_web_ui_page_builder_unittest.mm", |
| 452 "webui/url_fetcher_block_adapter_unittest.mm", |
| 453 ] |
| 454 } |
| 455 |
| 456 js_compile_bundle("web_bundle_ui") { |
| 457 visibility = [ ":js_resources" ] |
| 458 closure_entry_point = "__crWeb.webBundle" |
| 459 |
| 460 sources = [ |
| 461 "web_state/js/resources/base.js", |
| 462 "web_state/js/resources/common.js", |
| 463 "web_state/js/resources/console.js", |
| 464 "web_state/js/resources/core.js", |
| 465 "web_state/js/resources/core_dynamic_ui.js", |
| 466 "web_state/js/resources/dialog_overrides.js", |
| 467 "web_state/js/resources/message.js", |
| 468 "web_state/js/resources/message_dynamic_ui.js", |
| 469 "web_state/js/resources/web_bundle_ui.js", |
| 470 "web_state/js/resources/window_open_ui.js", |
| 471 ] |
| 472 } |
| 473 |
| 474 js_compile_bundle("web_bundle_wk") { |
| 475 visibility = [ ":js_resources" ] |
| 476 closure_entry_point = "__crWeb.webBundle" |
| 477 |
| 478 sources = [ |
| 479 "web_state/js/resources/base.js", |
| 480 "web_state/js/resources/common.js", |
| 481 "web_state/js/resources/console.js", |
| 482 "web_state/js/resources/core.js", |
| 483 "web_state/js/resources/core_dynamic_wk.js", |
| 484 "web_state/js/resources/dialog_overrides.js", |
| 485 "web_state/js/resources/message.js", |
| 486 "web_state/js/resources/message_dynamic_wk.js", |
| 487 "web_state/js/resources/web_bundle_wk.js", |
| 488 "web_state/js/resources/window_open_wk.js", |
| 489 ] |
| 490 } |
| 491 |
| 492 js_compile_checked("js_resources") { |
| 493 deps = [ |
| 494 ":web_bundle_ui", |
| 495 ":web_bundle_wk", |
| 496 ] |
| 497 |
| 498 sources = [ |
| 499 "web_state/js/resources/plugin_placeholder.js", |
| 500 "web_state/js/resources/window_id.js", |
| 501 "webui/resources/web_ui.js", |
| 502 ] |
| 503 } |
OLD | NEW |