OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 23 matching lines...) Expand all Loading... |
34 'public/app/web_main_delegate.h', | 34 'public/app/web_main_delegate.h', |
35 'public/app/web_main_parts.h', | 35 'public/app/web_main_parts.h', |
36 'public/app/web_main_parts.mm', | 36 'public/app/web_main_parts.mm', |
37 ], | 37 ], |
38 }, | 38 }, |
39 # Note: any embedder using ios_web will for now need to include either | 39 # Note: any embedder using ios_web will for now need to include either |
40 # ios_web_thread (any new embedder) or ios_web_content_thread_shim (Chrome). | 40 # ios_web_thread (any new embedder) or ios_web_content_thread_shim (Chrome). |
41 # This will become unnecessary once Chrome switches to using ios_web_thread, | 41 # This will become unnecessary once Chrome switches to using ios_web_thread, |
42 # at which point that will be folded into this target. | 42 # at which point that will be folded into this target. |
43 { | 43 { |
| 44 # GN version: //ios/web |
44 'target_name': 'ios_web', | 45 'target_name': 'ios_web', |
45 'type': 'static_library', | 46 'type': 'static_library', |
46 'include_dirs': [ | 47 'include_dirs': [ |
47 '../..', | 48 '../..', |
48 ], | 49 ], |
49 'dependencies': [ | 50 'dependencies': [ |
50 'ios_web_core', | 51 'ios_web_core', |
51 'js_resources', | 52 'js_resources', |
52 'user_agent', | 53 'user_agent', |
53 '../../base/base.gyp:base', | 54 '../../base/base.gyp:base', |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 'public/navigation_manager.h', | 168 'public/navigation_manager.h', |
168 'public/referrer.h', | 169 'public/referrer.h', |
169 'public/referrer_util.cc', | 170 'public/referrer_util.cc', |
170 'public/referrer_util.h', | 171 'public/referrer_util.h', |
171 'public/security_style.h', | 172 'public/security_style.h', |
172 'public/ssl_status.cc', | 173 'public/ssl_status.cc', |
173 'public/ssl_status.h', | 174 'public/ssl_status.h', |
174 'public/string_util.h', | 175 'public/string_util.h', |
175 'public/url_scheme_util.h', | 176 'public/url_scheme_util.h', |
176 'public/url_util.h', | 177 'public/url_util.h', |
177 'public/user_agent.h', | |
178 'public/user_agent.mm', | |
179 'public/user_metrics.h', | 178 'public/user_metrics.h', |
180 'public/web/url_data_source_ios.h', | 179 'public/web/url_data_source_ios.h', |
181 'public/web_client.h', | 180 'public/web_client.h', |
182 'public/web_client.mm', | 181 'public/web_client.mm', |
183 'public/web_controller_factory.h', | 182 'public/web_controller_factory.h', |
184 'public/web_controller_factory.mm', | 183 'public/web_controller_factory.mm', |
185 'public/web_kit_constants.h', | 184 'public/web_kit_constants.h', |
186 'public/web_state/credential.h', | 185 'public/web_state/credential.h', |
187 'public/web_state/crw_web_controller_observer.h', | 186 'public/web_state/crw_web_controller_observer.h', |
188 'public/web_state/crw_web_user_interface_delegate.h', | 187 'public/web_state/crw_web_user_interface_delegate.h', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 'webui/url_fetcher_block_adapter.h', | 314 'webui/url_fetcher_block_adapter.h', |
316 'webui/url_fetcher_block_adapter.mm', | 315 'webui/url_fetcher_block_adapter.mm', |
317 'webui/web_ui_ios_controller_factory_registry.cc', | 316 'webui/web_ui_ios_controller_factory_registry.cc', |
318 'webui/web_ui_ios_controller_factory_registry.h', | 317 'webui/web_ui_ios_controller_factory_registry.h', |
319 'webui/web_ui_ios_data_source_impl.cc', | 318 'webui/web_ui_ios_data_source_impl.cc', |
320 'webui/web_ui_ios_data_source_impl.h', | 319 'webui/web_ui_ios_data_source_impl.h', |
321 'webui/web_ui_ios_impl.h', | 320 'webui/web_ui_ios_impl.h', |
322 'webui/web_ui_ios_impl.mm', | 321 'webui/web_ui_ios_impl.mm', |
323 ], | 322 ], |
324 'link_settings': { | 323 'link_settings': { |
| 324 # TODO(eugenebut): change to regular linking once support for iOS 7 |
| 325 # is dropped. http://crbug.com/541549 |
325 'xcode_settings': { | 326 'xcode_settings': { |
326 'OTHER_LDFLAGS': [ | 327 'OTHER_LDFLAGS': [ |
327 '-weak_framework WebKit', | 328 '-weak_framework WebKit', |
328 ] | 329 ] |
329 }, | 330 }, |
330 }, | 331 }, |
331 }, | 332 }, |
332 # Target that builds the actual WebThread implementation. This is a | 333 # Target that builds the actual WebThread implementation. This is a |
333 # separate target since it can't yet be used by Chrome (see comment below). | 334 # separate target since it can't yet be used by Chrome (see comment below). |
334 { | 335 { |
(...skipping 25 matching lines...) Expand all Loading... |
360 'include_dirs': [ | 361 'include_dirs': [ |
361 '../..', | 362 '../..', |
362 ], | 363 ], |
363 'sources': [ | 364 'sources': [ |
364 'web_thread_adapter.cc', | 365 'web_thread_adapter.cc', |
365 'web_thread_adapter.h', | 366 'web_thread_adapter.h', |
366 ], | 367 ], |
367 }, | 368 }, |
368 # Target shared by ios_web and CrNet. | 369 # Target shared by ios_web and CrNet. |
369 { | 370 { |
| 371 # GN version: //ios/web:core |
370 'target_name': 'ios_web_core', | 372 'target_name': 'ios_web_core', |
371 'type': 'static_library', | 373 'type': 'static_library', |
372 'dependencies': [ | 374 'dependencies': [ |
373 '../../base/base.gyp:base', | 375 '../../base/base.gyp:base', |
374 ], | 376 ], |
375 'include_dirs': [ | 377 'include_dirs': [ |
376 '../..', | 378 '../..', |
377 ], | 379 ], |
378 'sources': [ | 380 'sources': [ |
379 'crw_network_activity_indicator_manager.h', | 381 'crw_network_activity_indicator_manager.h', |
380 'crw_network_activity_indicator_manager.mm', | 382 'crw_network_activity_indicator_manager.mm', |
381 'history_state_util.h', | 383 'history_state_util.h', |
382 'history_state_util.mm', | 384 'history_state_util.mm', |
383 ], | 385 ], |
384 }, | 386 }, |
385 { | 387 { |
| 388 # GN version: //ios/web:web_bundle_ui |
386 'target_name': 'ios_web_js_bundle_ui', | 389 'target_name': 'ios_web_js_bundle_ui', |
387 'type': 'none', | 390 'type': 'none', |
388 'variables': { | 391 'variables': { |
389 'closure_entry_point': '__crWeb.webBundle', | 392 'closure_entry_point': '__crWeb.webBundle', |
390 'js_bundle_files': [ | 393 'js_bundle_files': [ |
391 'web_state/js/resources/base.js', | 394 'web_state/js/resources/base.js', |
392 'web_state/js/resources/common.js', | 395 'web_state/js/resources/common.js', |
393 'web_state/js/resources/console.js', | 396 'web_state/js/resources/console.js', |
394 'web_state/js/resources/core.js', | 397 'web_state/js/resources/core.js', |
395 'web_state/js/resources/core_dynamic_ui.js', | 398 'web_state/js/resources/core_dynamic_ui.js', |
(...skipping 10 matching lines...) Expand all Loading... |
406 'link_settings': { | 409 'link_settings': { |
407 'mac_bundle_resources': [ | 410 'mac_bundle_resources': [ |
408 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js', | 411 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js', |
409 ], | 412 ], |
410 }, | 413 }, |
411 'includes': [ | 414 'includes': [ |
412 'js_compile_bundle.gypi' | 415 'js_compile_bundle.gypi' |
413 ], | 416 ], |
414 }, | 417 }, |
415 { | 418 { |
| 419 # GN version: //ios/web:web_bundle_wk |
416 'target_name': 'ios_web_js_bundle_wk', | 420 'target_name': 'ios_web_js_bundle_wk', |
417 'type': 'none', | 421 'type': 'none', |
418 'variables': { | 422 'variables': { |
419 'closure_entry_point': '__crWeb.webBundle', | 423 'closure_entry_point': '__crWeb.webBundle', |
420 'js_bundle_files': [ | 424 'js_bundle_files': [ |
421 'web_state/js/resources/base.js', | 425 'web_state/js/resources/base.js', |
422 'web_state/js/resources/common.js', | 426 'web_state/js/resources/common.js', |
423 'web_state/js/resources/console.js', | 427 'web_state/js/resources/console.js', |
424 'web_state/js/resources/core.js', | 428 'web_state/js/resources/core.js', |
425 'web_state/js/resources/core_dynamic_wk.js', | 429 'web_state/js/resources/core_dynamic_wk.js', |
(...skipping 10 matching lines...) Expand all Loading... |
436 'link_settings': { | 440 'link_settings': { |
437 'mac_bundle_resources': [ | 441 'mac_bundle_resources': [ |
438 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js', | 442 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js', |
439 ], | 443 ], |
440 }, | 444 }, |
441 'includes': [ | 445 'includes': [ |
442 'js_compile_bundle.gypi' | 446 'js_compile_bundle.gypi' |
443 ], | 447 ], |
444 }, | 448 }, |
445 { | 449 { |
| 450 # GN version: //ios/web:js_resources |
446 'target_name': 'js_resources', | 451 'target_name': 'js_resources', |
447 'type': 'none', | 452 'type': 'none', |
448 'dependencies': [ | 453 'dependencies': [ |
449 'ios_web_js_bundle_ui', | 454 'ios_web_js_bundle_ui', |
450 'ios_web_js_bundle_wk', | 455 'ios_web_js_bundle_wk', |
451 ], | 456 ], |
452 'sources': [ | 457 'sources': [ |
453 'web_state/js/resources/plugin_placeholder.js', | 458 'web_state/js/resources/plugin_placeholder.js', |
454 'web_state/js/resources/window_id.js', | 459 'web_state/js/resources/window_id.js', |
455 'webui/resources/web_ui.js', | 460 'webui/resources/web_ui.js', |
456 ], | 461 ], |
457 'link_settings': { | 462 'link_settings': { |
458 'mac_bundle_resources': [ | 463 'mac_bundle_resources': [ |
459 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js', | 464 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js', |
460 '<(SHARED_INTERMEDIATE_DIR)/window_id.js', | 465 '<(SHARED_INTERMEDIATE_DIR)/window_id.js', |
461 '<(SHARED_INTERMEDIATE_DIR)/web_ui.js', | 466 '<(SHARED_INTERMEDIATE_DIR)/web_ui.js', |
462 ], | 467 ], |
463 }, | 468 }, |
464 'includes': [ | 469 'includes': [ |
465 'js_compile_checked.gypi' | 470 'js_compile_checked.gypi' |
466 ], | 471 ], |
467 }, | 472 }, |
468 { | 473 { |
| 474 # GN version: //ios/web:test_support |
469 'target_name': 'test_support_ios_web', | 475 'target_name': 'test_support_ios_web', |
470 'type': 'static_library', | 476 'type': 'static_library', |
471 'dependencies': [ | 477 'dependencies': [ |
472 'ios_web_thread', | 478 'ios_web_thread', |
473 'test_support_ios_web_without_threads', | 479 'test_support_ios_web_without_threads', |
474 ], | 480 ], |
475 'include_dirs': [ | 481 'include_dirs': [ |
476 '../..', | 482 '../..', |
477 ], | 483 ], |
478 'sources': [ | 484 'sources': [ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 'test/crw_fake_web_controller_observer.mm', | 551 'test/crw_fake_web_controller_observer.mm', |
546 'test/web_test.h', | 552 'test/web_test.h', |
547 'test/web_test.mm', | 553 'test/web_test.mm', |
548 'test/web_test_suite.cc', | 554 'test/web_test_suite.cc', |
549 'test/web_test_suite.h', | 555 'test/web_test_suite.h', |
550 'test/wk_web_view_crash_utils.h', | 556 'test/wk_web_view_crash_utils.h', |
551 'test/wk_web_view_crash_utils.mm', | 557 'test/wk_web_view_crash_utils.mm', |
552 ], | 558 ], |
553 }, | 559 }, |
554 { | 560 { |
| 561 # GN version: //ios/web:user_agent |
555 'target_name': 'user_agent', | 562 'target_name': 'user_agent', |
556 'type': 'static_library', | 563 'type': 'static_library', |
557 'include_dirs': [ | 564 'include_dirs': [ |
558 '../..', | 565 '../..', |
559 ], | 566 ], |
560 'dependencies': [ | 567 'dependencies': [ |
561 '../../base/base.gyp:base' | 568 '../../base/base.gyp:base' |
562 ], | 569 ], |
563 'sources': [ | 570 'sources': [ |
564 'public/user_agent.h', | 571 'public/user_agent.h', |
565 'public/user_agent.mm', | 572 'public/user_agent.mm', |
566 ], | 573 ], |
567 }, | 574 }, |
568 ], | 575 ], |
569 } | 576 } |
OLD | NEW |