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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 'webui/url_fetcher_block_adapter.h', | 312 'webui/url_fetcher_block_adapter.h', |
314 'webui/url_fetcher_block_adapter.mm', | 313 'webui/url_fetcher_block_adapter.mm', |
315 'webui/web_ui_ios_controller_factory_registry.cc', | 314 'webui/web_ui_ios_controller_factory_registry.cc', |
316 'webui/web_ui_ios_controller_factory_registry.h', | 315 'webui/web_ui_ios_controller_factory_registry.h', |
317 'webui/web_ui_ios_data_source_impl.cc', | 316 'webui/web_ui_ios_data_source_impl.cc', |
318 'webui/web_ui_ios_data_source_impl.h', | 317 'webui/web_ui_ios_data_source_impl.h', |
319 'webui/web_ui_ios_impl.h', | 318 'webui/web_ui_ios_impl.h', |
320 'webui/web_ui_ios_impl.mm', | 319 'webui/web_ui_ios_impl.mm', |
321 ], | 320 ], |
322 'link_settings': { | 321 'link_settings': { |
| 322 # TODO(eugenebut): change to regular linking once support for iOS 7 |
| 323 # is dropped. http://crbug.com/541549 |
323 'xcode_settings': { | 324 'xcode_settings': { |
324 'OTHER_LDFLAGS': [ | 325 'OTHER_LDFLAGS': [ |
325 '-weak_framework WebKit', | 326 '-weak_framework WebKit', |
326 ] | 327 ] |
327 }, | 328 }, |
328 }, | 329 }, |
329 }, | 330 }, |
330 # Target that builds the actual WebThread implementation. This is a | 331 # Target that builds the actual WebThread implementation. This is a |
331 # separate target since it can't yet be used by Chrome (see comment below). | 332 # separate target since it can't yet be used by Chrome (see comment below). |
332 { | 333 { |
(...skipping 25 matching lines...) Expand all Loading... |
358 'include_dirs': [ | 359 'include_dirs': [ |
359 '../..', | 360 '../..', |
360 ], | 361 ], |
361 'sources': [ | 362 'sources': [ |
362 'web_thread_adapter.cc', | 363 'web_thread_adapter.cc', |
363 'web_thread_adapter.h', | 364 'web_thread_adapter.h', |
364 ], | 365 ], |
365 }, | 366 }, |
366 # Target shared by ios_web and CrNet. | 367 # Target shared by ios_web and CrNet. |
367 { | 368 { |
| 369 # GN version: //ios/web:core |
368 'target_name': 'ios_web_core', | 370 'target_name': 'ios_web_core', |
369 'type': 'static_library', | 371 'type': 'static_library', |
370 'dependencies': [ | 372 'dependencies': [ |
371 '../../base/base.gyp:base', | 373 '../../base/base.gyp:base', |
372 ], | 374 ], |
373 'include_dirs': [ | 375 'include_dirs': [ |
374 '../..', | 376 '../..', |
375 ], | 377 ], |
376 'sources': [ | 378 'sources': [ |
377 'crw_network_activity_indicator_manager.h', | 379 'crw_network_activity_indicator_manager.h', |
378 'crw_network_activity_indicator_manager.mm', | 380 'crw_network_activity_indicator_manager.mm', |
379 'history_state_util.h', | 381 'history_state_util.h', |
380 'history_state_util.mm', | 382 'history_state_util.mm', |
381 ], | 383 ], |
382 }, | 384 }, |
383 { | 385 { |
| 386 # GN version: //ios/web:web_bundle_ui |
384 'target_name': 'ios_web_js_bundle_ui', | 387 'target_name': 'ios_web_js_bundle_ui', |
385 'type': 'none', | 388 'type': 'none', |
386 'variables': { | 389 'variables': { |
387 'closure_entry_point': '__crWeb.webBundle', | 390 'closure_entry_point': '__crWeb.webBundle', |
388 'js_bundle_files': [ | 391 'js_bundle_files': [ |
389 'web_state/js/resources/base.js', | 392 'web_state/js/resources/base.js', |
390 'web_state/js/resources/common.js', | 393 'web_state/js/resources/common.js', |
391 'web_state/js/resources/console.js', | 394 'web_state/js/resources/console.js', |
392 'web_state/js/resources/core.js', | 395 'web_state/js/resources/core.js', |
393 'web_state/js/resources/core_dynamic_ui.js', | 396 'web_state/js/resources/core_dynamic_ui.js', |
(...skipping 10 matching lines...) Expand all Loading... |
404 'link_settings': { | 407 'link_settings': { |
405 'mac_bundle_resources': [ | 408 'mac_bundle_resources': [ |
406 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js', | 409 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js', |
407 ], | 410 ], |
408 }, | 411 }, |
409 'includes': [ | 412 'includes': [ |
410 'js_compile_bundle.gypi' | 413 'js_compile_bundle.gypi' |
411 ], | 414 ], |
412 }, | 415 }, |
413 { | 416 { |
| 417 # GN version: //ios/web:web_bundle_wk |
414 'target_name': 'ios_web_js_bundle_wk', | 418 'target_name': 'ios_web_js_bundle_wk', |
415 'type': 'none', | 419 'type': 'none', |
416 'variables': { | 420 'variables': { |
417 'closure_entry_point': '__crWeb.webBundle', | 421 'closure_entry_point': '__crWeb.webBundle', |
418 'js_bundle_files': [ | 422 'js_bundle_files': [ |
419 'web_state/js/resources/base.js', | 423 'web_state/js/resources/base.js', |
420 'web_state/js/resources/common.js', | 424 'web_state/js/resources/common.js', |
421 'web_state/js/resources/console.js', | 425 'web_state/js/resources/console.js', |
422 'web_state/js/resources/core.js', | 426 'web_state/js/resources/core.js', |
423 'web_state/js/resources/core_dynamic_wk.js', | 427 'web_state/js/resources/core_dynamic_wk.js', |
(...skipping 10 matching lines...) Expand all Loading... |
434 'link_settings': { | 438 'link_settings': { |
435 'mac_bundle_resources': [ | 439 'mac_bundle_resources': [ |
436 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js', | 440 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js', |
437 ], | 441 ], |
438 }, | 442 }, |
439 'includes': [ | 443 'includes': [ |
440 'js_compile_bundle.gypi' | 444 'js_compile_bundle.gypi' |
441 ], | 445 ], |
442 }, | 446 }, |
443 { | 447 { |
| 448 # GN version: //ios/web:js_resources |
444 'target_name': 'js_resources', | 449 'target_name': 'js_resources', |
445 'type': 'none', | 450 'type': 'none', |
446 'dependencies': [ | 451 'dependencies': [ |
447 'ios_web_js_bundle_ui', | 452 'ios_web_js_bundle_ui', |
448 'ios_web_js_bundle_wk', | 453 'ios_web_js_bundle_wk', |
449 ], | 454 ], |
450 'sources': [ | 455 'sources': [ |
451 'web_state/js/resources/plugin_placeholder.js', | 456 'web_state/js/resources/plugin_placeholder.js', |
452 'web_state/js/resources/window_id.js', | 457 'web_state/js/resources/window_id.js', |
453 'webui/resources/web_ui.js', | 458 'webui/resources/web_ui.js', |
454 ], | 459 ], |
455 'link_settings': { | 460 'link_settings': { |
456 'mac_bundle_resources': [ | 461 'mac_bundle_resources': [ |
457 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js', | 462 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js', |
458 '<(SHARED_INTERMEDIATE_DIR)/window_id.js', | 463 '<(SHARED_INTERMEDIATE_DIR)/window_id.js', |
459 '<(SHARED_INTERMEDIATE_DIR)/web_ui.js', | 464 '<(SHARED_INTERMEDIATE_DIR)/web_ui.js', |
460 ], | 465 ], |
461 }, | 466 }, |
462 'includes': [ | 467 'includes': [ |
463 'js_compile_checked.gypi' | 468 'js_compile_checked.gypi' |
464 ], | 469 ], |
465 }, | 470 }, |
466 { | 471 { |
| 472 # GN version: //ios/web:test_support |
467 'target_name': 'test_support_ios_web', | 473 'target_name': 'test_support_ios_web', |
468 'type': 'static_library', | 474 'type': 'static_library', |
469 'dependencies': [ | 475 'dependencies': [ |
470 'ios_web_thread', | 476 'ios_web_thread', |
471 'test_support_ios_web_without_threads', | 477 'test_support_ios_web_without_threads', |
472 ], | 478 ], |
473 'include_dirs': [ | 479 'include_dirs': [ |
474 '../..', | 480 '../..', |
475 ], | 481 ], |
476 'sources': [ | 482 'sources': [ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 'test/crw_fake_web_controller_observer.mm', | 549 'test/crw_fake_web_controller_observer.mm', |
544 'test/web_test.h', | 550 'test/web_test.h', |
545 'test/web_test.mm', | 551 'test/web_test.mm', |
546 'test/web_test_suite.cc', | 552 'test/web_test_suite.cc', |
547 'test/web_test_suite.h', | 553 'test/web_test_suite.h', |
548 'test/wk_web_view_crash_utils.h', | 554 'test/wk_web_view_crash_utils.h', |
549 'test/wk_web_view_crash_utils.mm', | 555 'test/wk_web_view_crash_utils.mm', |
550 ], | 556 ], |
551 }, | 557 }, |
552 { | 558 { |
| 559 # GN version: //ios/web:user_agent |
553 'target_name': 'user_agent', | 560 'target_name': 'user_agent', |
554 'type': 'static_library', | 561 'type': 'static_library', |
555 'include_dirs': [ | 562 'include_dirs': [ |
556 '../..', | 563 '../..', |
557 ], | 564 ], |
558 'dependencies': [ | 565 'dependencies': [ |
559 '../../base/base.gyp:base' | 566 '../../base/base.gyp:base' |
560 ], | 567 ], |
561 'sources': [ | 568 'sources': [ |
562 'public/user_agent.h', | 569 'public/user_agent.h', |
563 'public/user_agent.mm', | 570 'public/user_agent.mm', |
564 ], | 571 ], |
565 }, | 572 }, |
566 ], | 573 ], |
567 } | 574 } |
OLD | NEW |