| 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 { |
| 11 # GN version: //ios/chrome/app |
| 11 'target_name': 'ios_chrome_app', | 12 'target_name': 'ios_chrome_app', |
| 12 'type': 'static_library', | 13 'type': 'static_library', |
| 13 'include_dirs': [ | 14 'include_dirs': [ |
| 14 '../..', | 15 '../..', |
| 15 ], | 16 ], |
| 16 'dependencies': [ | 17 'dependencies': [ |
| 17 '../../base/base.gyp:base', | 18 '../../base/base.gyp:base', |
| 18 'ios_chrome_browser', | 19 'ios_chrome_browser', |
| 19 ], | 20 ], |
| 20 'link_settings': { | 21 'link_settings': { |
| 21 'libraries': [ | 22 'libraries': [ |
| 22 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 23 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 23 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | 24 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 24 ], | 25 ], |
| 25 }, | 26 }, |
| 26 'sources': [ | 27 'sources': [ |
| 27 'app/UIApplication+ExitsOnSuspend.h', | 28 'app/UIApplication+ExitsOnSuspend.h', |
| 28 'app/UIApplication+ExitsOnSuspend.mm', | 29 'app/UIApplication+ExitsOnSuspend.mm', |
| 29 'app/deferred_initialization_runner.h', | 30 'app/deferred_initialization_runner.h', |
| 30 'app/deferred_initialization_runner.mm', | 31 'app/deferred_initialization_runner.mm', |
| 31 'app/safe_mode_crashing_modules_config.h', | 32 'app/safe_mode_crashing_modules_config.h', |
| 32 'app/safe_mode_crashing_modules_config.mm', | 33 'app/safe_mode_crashing_modules_config.mm', |
| 33 'app/safe_mode_util.cc', | 34 'app/safe_mode_util.cc', |
| 34 'app/safe_mode_util.h', | 35 'app/safe_mode_util.h', |
| 35 ], | 36 ], |
| 36 }, | 37 }, |
| 37 { | 38 { |
| 39 # GN version: //ios/chrome/browser |
| 38 'target_name': 'ios_chrome_browser', | 40 'target_name': 'ios_chrome_browser', |
| 39 'type': 'static_library', | 41 'type': 'static_library', |
| 40 'include_dirs': [ | 42 'include_dirs': [ |
| 41 '../..', | 43 '../..', |
| 42 ], | 44 ], |
| 43 'dependencies': [ | 45 'dependencies': [ |
| 44 '../../base/base.gyp:base', | 46 '../../base/base.gyp:base', |
| 45 '../../base/base.gyp:base_prefs', | 47 '../../base/base.gyp:base_prefs', |
| 46 '../../breakpad/breakpad.gyp:breakpad_client', | 48 '../../breakpad/breakpad.gyp:breakpad_client', |
| 47 '../../components/components.gyp:autofill_core_browser', | 49 '../../components/components.gyp:autofill_core_browser', |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 }], | 564 }], |
| 563 ['configuration_policy==1', { | 565 ['configuration_policy==1', { |
| 564 'dependencies': [ | 566 'dependencies': [ |
| 565 '../../components/components.gyp:policy_component_browser', | 567 '../../components/components.gyp:policy_component_browser', |
| 566 '../../components/components.gyp:policy_component_common', | 568 '../../components/components.gyp:policy_component_common', |
| 567 ], | 569 ], |
| 568 }], | 570 }], |
| 569 ], | 571 ], |
| 570 }, | 572 }, |
| 571 { | 573 { |
| 574 # GN version: //ios/chrome/common |
| 572 'target_name': 'ios_chrome_common', | 575 'target_name': 'ios_chrome_common', |
| 573 'type': 'static_library', | 576 'type': 'static_library', |
| 574 'include_dirs': [ | 577 'include_dirs': [ |
| 575 '../..', | 578 '../..', |
| 576 ], | 579 ], |
| 577 'dependencies': [ | 580 'dependencies': [ |
| 578 '../../base/base.gyp:base', | 581 '../../base/base.gyp:base', |
| 579 '../../components/components.gyp:version_info', | 582 '../../components/components.gyp:version_info', |
| 580 'app_group_mainapp', | 583 'app_group_mainapp', |
| 581 ], | 584 ], |
| 582 'link_settings': { | 585 'link_settings': { |
| 583 'libraries': [ | 586 'libraries': [ |
| 584 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | 587 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 585 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 588 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 586 ], | 589 ], |
| 587 }, | 590 }, |
| 588 'sources': [ | 591 'sources': [ |
| 589 'common/channel_info.h', | 592 'common/channel_info.h', |
| 590 'common/channel_info.mm', | 593 'common/channel_info.mm', |
| 591 'common/string_util.h', | 594 'common/string_util.h', |
| 592 'common/string_util.mm', | 595 'common/string_util.mm', |
| 593 ], | 596 ], |
| 594 }, | 597 }, |
| 595 { | 598 { |
| 599 # GN version: //ios/chrome/browser:injected_js |
| 596 'target_name': 'injected_js', | 600 'target_name': 'injected_js', |
| 597 'type': 'none', | 601 'type': 'none', |
| 598 'sources': [ | 602 'sources': [ |
| 599 'browser/find_in_page/resources/find_in_page.js', | 603 'browser/find_in_page/resources/find_in_page.js', |
| 600 ], | 604 ], |
| 601 'includes': [ '../../ios/web/js_compile.gypi' ], | 605 'includes': [ '../../ios/web/js_compile.gypi' ], |
| 602 'link_settings': { | 606 'link_settings': { |
| 603 'mac_bundle_resources': [ | 607 'mac_bundle_resources': [ |
| 604 '<(SHARED_INTERMEDIATE_DIR)/find_in_page.js', | 608 '<(SHARED_INTERMEDIATE_DIR)/find_in_page.js', |
| 605 ], | 609 ], |
| 606 }, | 610 }, |
| 607 }, | 611 }, |
| 608 { | 612 { |
| 613 # GN version: //ios/chrome/common/app_group |
| 609 'target_name': 'app_group_common', | 614 'target_name': 'app_group_common', |
| 610 'type': 'static_library', | 615 'type': 'static_library', |
| 611 'sources': [ | 616 'sources': [ |
| 612 'common/app_group/app_group_constants.h', | 617 'common/app_group/app_group_constants.h', |
| 613 'common/app_group/app_group_constants.mm', | 618 'common/app_group/app_group_constants.mm', |
| 614 'common/app_group/app_group_metrics.h', | 619 'common/app_group/app_group_metrics.h', |
| 615 'common/app_group/app_group_metrics.mm', | 620 'common/app_group/app_group_metrics.mm', |
| 616 ], | 621 ], |
| 617 'dependencies': [ | 622 'dependencies': [ |
| 618 # This target will be included into application extensions and the list | 623 # This target will be included into application extensions and the list |
| 619 # of its dependencies must be kept as short as possible. | 624 # of its dependencies must be kept as short as possible. |
| 620 '../../base/base.gyp:base', | 625 '../../base/base.gyp:base', |
| 621 '../../components/components.gyp:version_info', | 626 '../../components/components.gyp:version_info', |
| 622 ], | 627 ], |
| 623 'include_dirs': [ | 628 'include_dirs': [ |
| 624 '../..', | 629 '../..', |
| 625 ], | 630 ], |
| 626 }, | 631 }, |
| 627 { | 632 { |
| 633 # GN version: //ios/chrome/common/app_group:client |
| 628 'target_name': 'app_group_client', | 634 'target_name': 'app_group_client', |
| 629 'type': 'static_library', | 635 'type': 'static_library', |
| 630 'sources': [ | 636 'sources': [ |
| 631 'common/app_group/app_group_metrics_client.h', | 637 'common/app_group/app_group_metrics_client.h', |
| 632 'common/app_group/app_group_metrics_client.mm', | 638 'common/app_group/app_group_metrics_client.mm', |
| 633 ], | 639 ], |
| 634 'dependencies': [ | 640 'dependencies': [ |
| 635 # This target will be included into application extensions and the list | 641 # This target will be included into application extensions and the list |
| 636 # of its dependencies must be kept as short as possible. | 642 # of its dependencies must be kept as short as possible. |
| 637 'app_group_common', | 643 'app_group_common', |
| 638 ], | 644 ], |
| 639 'include_dirs': [ | 645 'include_dirs': [ |
| 640 '../..', | 646 '../..', |
| 641 ], | 647 ], |
| 642 }, | 648 }, |
| 643 { | 649 { |
| 650 # GN version: //ios/chrome/common/app_group:main_app |
| 644 'target_name': 'app_group_mainapp', | 651 'target_name': 'app_group_mainapp', |
| 645 'type': 'static_library', | 652 'type': 'static_library', |
| 646 'sources': [ | 653 'sources': [ |
| 647 'common/app_group/app_group_metrics_mainapp.h', | 654 'common/app_group/app_group_metrics_mainapp.h', |
| 648 'common/app_group/app_group_metrics_mainapp.mm', | 655 'common/app_group/app_group_metrics_mainapp.mm', |
| 649 ], | 656 ], |
| 650 'dependencies': [ | 657 'dependencies': [ |
| 651 'app_group_common', | 658 'app_group_common', |
| 652 ], | 659 ], |
| 653 'include_dirs': [ | 660 'include_dirs': [ |
| 654 '../..', | 661 '../..', |
| 655 ], | 662 ], |
| 656 }, | 663 }, |
| 657 ], | 664 ], |
| 658 'conditions': [ | 665 'conditions': [ |
| 659 ['enable_rlz_support==1', { | 666 ['enable_rlz_support==1', { |
| 660 'targets': [ | 667 'targets': [ |
| 661 { | 668 { |
| 669 # GN version: //ios/chrome/browser/rlz |
| 662 'target_name': 'ios_chrome_browser_rlz', | 670 'target_name': 'ios_chrome_browser_rlz', |
| 663 'type': 'static_library', | 671 'type': 'static_library', |
| 664 'sources': [ | 672 'sources': [ |
| 665 'browser/rlz/rlz_tracker_delegate_impl.cc', | 673 'browser/rlz/rlz_tracker_delegate_impl.cc', |
| 666 'browser/rlz/rlz_tracker_delegate_impl.h', | 674 'browser/rlz/rlz_tracker_delegate_impl.h', |
| 667 ], | 675 ], |
| 668 'dependencies': [ | 676 'dependencies': [ |
| 669 '../../components/components.gyp:google_core_browser', | 677 '../../components/components.gyp:google_core_browser', |
| 670 '../../components/components.gyp:omnibox_browser', | 678 '../../components/components.gyp:omnibox_browser', |
| 671 '../../components/components.gyp:rlz', | 679 '../../components/components.gyp:rlz', |
| 672 '../../components/components.gyp:search_engines', | 680 '../../components/components.gyp:search_engines', |
| 673 '../../rlz/rlz.gyp:rlz_lib', | 681 '../../rlz/rlz.gyp:rlz_lib', |
| 674 ], | 682 ], |
| 675 }, | 683 }, |
| 676 ], | 684 ], |
| 677 }], | 685 }], |
| 678 ], | 686 ], |
| 679 } | 687 } |
| OLD | NEW |