Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: chrome/chrome_installer.gypi

Issue 1311543003: Add Linux build packaging targets to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'lastchange_path': '../build/util/LASTCHANGE', 7 'lastchange_path': '../build/util/LASTCHANGE',
8 'branding_dir': 'app/theme/<(branding_path_component)', 8 'branding_dir': 'app/theme/<(branding_path_component)',
9 'branding_dir_100': 'app/theme/default_100_percent/<(branding_path_component )', 9 'branding_dir_100': 'app/theme/default_100_percent/<(branding_path_component )',
10 }, 10 },
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 }, 505 },
506 'targets': [ 506 'targets': [
507 { 507 {
508 'target_name': 'linux_installer_configs', 508 'target_name': 'linux_installer_configs',
509 'type': 'none', 509 'type': 'none',
510 # Add these files to the build output so the build archives will be 510 # Add these files to the build output so the build archives will be
511 # "hermetic" for packaging. This is only for branding="Chrome" since 511 # "hermetic" for packaging. This is only for branding="Chrome" since
512 # we only create packages for official builds. 512 # we only create packages for official builds.
513 'copies': [ 513 'copies': [
514 { 514 {
515 # GN version: //chrome/installer/linux:deb_packaging_files
515 'destination': '<(PRODUCT_DIR)/installer/debian/', 516 'destination': '<(PRODUCT_DIR)/installer/debian/',
516 'files': [ 517 'files': [
517 '<@(packaging_files_deb)', 518 '<@(packaging_files_deb)',
518 ] 519 ]
519 }, 520 },
520 { 521 {
522 # GN version: //chrome/installer/linux:rpm_packaging_files
521 'destination': '<(PRODUCT_DIR)/installer/rpm/', 523 'destination': '<(PRODUCT_DIR)/installer/rpm/',
522 'files': [ 524 'files': [
523 '<@(packaging_files_rpm)', 525 '<@(packaging_files_rpm)',
524 ] 526 ]
525 }, 527 },
526 { 528 {
529 # GN version: //chrome/installer/linux:common_packaging_files
527 'destination': '<(PRODUCT_DIR)/installer/common/', 530 'destination': '<(PRODUCT_DIR)/installer/common/',
528 'files': [ 531 'files': [
529 '<@(packaging_files_common)', 532 '<@(packaging_files_common)',
530 ] 533 ]
531 }, 534 },
532 # Additional theme resources needed for package building. 535 # Additional theme resources needed for package building.
533 { 536 {
537 # GN version: //chrome/installer/linux:theme_files
534 'destination': '<(PRODUCT_DIR)/installer/theme/', 538 'destination': '<(PRODUCT_DIR)/installer/theme/',
535 'files': [ 539 'files': [
536 '<(branding_dir)/linux/product_logo_32.xpm', 540 '<(branding_dir)/linux/product_logo_32.xpm',
537 '<(branding_dir_100)/product_logo_16.png', 541 '<(branding_dir_100)/product_logo_16.png',
538 '<(branding_dir)/product_logo_22.png', 542 '<(branding_dir)/product_logo_22.png',
539 '<(branding_dir)/product_logo_24.png', 543 '<(branding_dir)/product_logo_24.png',
540 '<(branding_dir_100)/product_logo_32.png', 544 '<(branding_dir_100)/product_logo_32.png',
541 '<(branding_dir)/product_logo_48.png', 545 '<(branding_dir)/product_logo_48.png',
542 '<(branding_dir)/product_logo_64.png', 546 '<(branding_dir)/product_logo_64.png',
543 '<(branding_dir)/product_logo_128.png', 547 '<(branding_dir)/product_logo_128.png',
544 '<(branding_dir)/product_logo_256.png', 548 '<(branding_dir)/product_logo_256.png',
545 '<(branding_dir)/BRANDING', 549 '<(branding_dir)/BRANDING',
546 ], 550 ],
547 }, 551 },
548 ], 552 ],
549 'actions': [ 553 'actions': [
550 { 554 {
555 # GN version: //chrome/installer/linux:save_build_info
551 'action_name': 'save_build_info', 556 'action_name': 'save_build_info',
552 'inputs': [ 557 'inputs': [
553 '<(branding_dir)/BRANDING', 558 '<(branding_dir)/BRANDING',
554 '<(version_path)', 559 '<(version_path)',
555 '<(lastchange_path)', 560 '<(lastchange_path)',
556 ], 561 ],
557 'outputs': [ 562 'outputs': [
558 '<(PRODUCT_DIR)/installer/version.txt', 563 '<(PRODUCT_DIR)/installer/version.txt',
559 ], 564 ],
560 # Just output the default version info variables. 565 # Just output the default version info variables.
561 'action': [ 566 'action': [
562 'python', '<(version_py_path)', 567 'python', '<(version_py_path)',
563 '-f', '<(branding_dir)/BRANDING', 568 '-f', '<(branding_dir)/BRANDING',
564 '-f', '<(version_path)', 569 '-f', '<(version_path)',
565 '-f', '<(lastchange_path)', 570 '-f', '<(lastchange_path)',
566 '-o', '<@(_outputs)' 571 '-o', '<@(_outputs)'
567 ], 572 ],
568 }, 573 },
569 ], 574 ],
570 }, 575 },
571 { 576 {
577 # GN version: //chrome/installer/linux
572 'target_name': 'linux_packages_all', 578 'target_name': 'linux_packages_all',
573 'suppress_wildcard': 1, 579 'suppress_wildcard': 1,
574 'type': 'none', 580 'type': 'none',
575 'dependencies': [ 581 'dependencies': [
576 'linux_packages_unstable', 582 'linux_packages_unstable',
577 'linux_packages_beta', 583 'linux_packages_beta',
578 'linux_packages_stable', 584 'linux_packages_stable',
579 ], 585 ],
580 }, 586 },
581 { 587 {
(...skipping 26 matching lines...) Expand all
608 # ChromeOS doesn't care about RPM packages. 614 # ChromeOS doesn't care about RPM packages.
609 'conditions': [ 615 'conditions': [
610 ['chromeos==0', { 616 ['chromeos==0', {
611 'dependencies': [ 617 'dependencies': [
612 'linux_packages_trunk_rpm', 618 'linux_packages_trunk_rpm',
613 ], 619 ],
614 }], 620 }],
615 ], 621 ],
616 }, 622 },
617 { 623 {
624 # GN version: //chrome/installer/linux:unstable
618 'target_name': 'linux_packages_unstable', 625 'target_name': 'linux_packages_unstable',
619 'suppress_wildcard': 1, 626 'suppress_wildcard': 1,
620 'type': 'none', 627 'type': 'none',
621 'dependencies': [ 628 'dependencies': [
622 'linux_packages_unstable_deb', 629 'linux_packages_unstable_deb',
623 ], 630 ],
624 # ChromeOS doesn't care about RPM packages. 631 # ChromeOS doesn't care about RPM packages.
625 'conditions': [ 632 'conditions': [
626 ['chromeos==0', { 633 ['chromeos==0', {
627 'dependencies': [ 634 'dependencies': [
628 'linux_packages_unstable_rpm', 635 'linux_packages_unstable_rpm',
629 ], 636 ],
630 }], 637 }],
631 ], 638 ],
632 }, 639 },
633 { 640 {
641 # GN version: //chrome/installer/linux:beta
634 'target_name': 'linux_packages_beta', 642 'target_name': 'linux_packages_beta',
635 'suppress_wildcard': 1, 643 'suppress_wildcard': 1,
636 'type': 'none', 644 'type': 'none',
637 'dependencies': [ 645 'dependencies': [
638 'linux_packages_beta_deb', 646 'linux_packages_beta_deb',
639 ], 647 ],
640 # ChromeOS doesn't care about RPM packages. 648 # ChromeOS doesn't care about RPM packages.
641 'conditions': [ 649 'conditions': [
642 ['chromeos==0', { 650 ['chromeos==0', {
643 'dependencies': [ 651 'dependencies': [
644 'linux_packages_beta_rpm', 652 'linux_packages_beta_rpm',
645 ], 653 ],
646 }], 654 }],
647 ], 655 ],
648 }, 656 },
649 { 657 {
658 # GN version: //chrome/installer/linux:stable
650 'target_name': 'linux_packages_stable', 659 'target_name': 'linux_packages_stable',
651 'suppress_wildcard': 1, 660 'suppress_wildcard': 1,
652 'type': 'none', 661 'type': 'none',
653 'dependencies': [ 662 'dependencies': [
654 'linux_packages_stable_deb', 663 'linux_packages_stable_deb',
655 ], 664 ],
656 # ChromeOS doesn't care about RPM packages. 665 # ChromeOS doesn't care about RPM packages.
657 'conditions': [ 666 'conditions': [
658 ['chromeos==0', { 667 ['chromeos==0', {
659 'dependencies': [ 668 'dependencies': [
660 'linux_packages_stable_rpm', 669 'linux_packages_stable_rpm',
661 ], 670 ],
662 }], 671 }],
663 ], 672 ],
664 }, 673 },
665 # TODO(mmoss) gyp looping construct would be handy here ... 674 # TODO(mmoss) gyp looping construct would be handy here ...
666 # These package actions are the same except for the 'channel' variable. 675 # These package actions are the same except for the 'channel' variable.
667 { 676 {
677 # GN version: //chrome/installer/linux:asan
668 'target_name': 'linux_packages_asan_deb', 678 'target_name': 'linux_packages_asan_deb',
669 'suppress_wildcard': 1, 679 'suppress_wildcard': 1,
670 'type': 'none', 680 'type': 'none',
671 'dependencies': [ 681 'dependencies': [
672 'chrome', 682 'chrome',
673 'linux_installer_configs', 683 'linux_installer_configs',
674 ], 684 ],
675 'actions': [ 685 'actions': [
676 { 686 {
677 'variables': { 687 'variables': {
678 'channel': 'asan', 688 'channel': 'asan',
679 }, 689 },
680 'action_name': 'deb_packages_<(channel)', 690 'action_name': 'deb_packages_<(channel)',
681 'process_outputs_as_sources': 1, 691 'process_outputs_as_sources': 1,
682 'inputs': [ 692 'inputs': [
683 '<(deb_build)', 693 '<(deb_build)',
684 '<@(packaging_files_binaries)', 694 '<@(packaging_files_binaries)',
685 '<@(packaging_files_common)', 695 '<@(packaging_files_common)',
686 '<@(packaging_files_deb)', 696 '<@(packaging_files_deb)',
687 ], 697 ],
688 'outputs': [ 698 'outputs': [
689 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb', 699 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb',
690 ], 700 ],
691 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], 701 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
692 }, 702 },
693 ], 703 ],
694 }, 704 },
695 { 705 {
706 # GN version: //chrome/installer/linux:trunk
696 'target_name': 'linux_packages_trunk_deb', 707 'target_name': 'linux_packages_trunk_deb',
697 'suppress_wildcard': 1, 708 'suppress_wildcard': 1,
698 'type': 'none', 709 'type': 'none',
699 'dependencies': [ 710 'dependencies': [
700 'chrome', 711 'chrome',
701 'linux_installer_configs', 712 'linux_installer_configs',
702 ], 713 ],
703 'actions': [ 714 'actions': [
704 { 715 {
705 'variables': { 716 'variables': {
706 'channel': 'trunk', 717 'channel': 'trunk',
707 }, 718 },
708 'action_name': 'deb_packages_<(channel)', 719 'action_name': 'deb_packages_<(channel)',
709 'process_outputs_as_sources': 1, 720 'process_outputs_as_sources': 1,
710 'inputs': [ 721 'inputs': [
711 '<(deb_build)', 722 '<(deb_build)',
712 '<@(packaging_files_binaries)', 723 '<@(packaging_files_binaries)',
713 '<@(packaging_files_common)', 724 '<@(packaging_files_common)',
714 '<@(packaging_files_deb)', 725 '<@(packaging_files_deb)',
715 ], 726 ],
716 'outputs': [ 727 'outputs': [
717 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb', 728 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb',
718 ], 729 ],
719 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], 730 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
720 }, 731 },
721 ], 732 ],
722 }, 733 },
723 { 734 {
735 # GN version: //chrome/installer/linux:unstable
724 'target_name': 'linux_packages_unstable_deb', 736 'target_name': 'linux_packages_unstable_deb',
725 'suppress_wildcard': 1, 737 'suppress_wildcard': 1,
726 'type': 'none', 738 'type': 'none',
727 'dependencies': [ 739 'dependencies': [
728 'chrome', 740 'chrome',
729 'linux_installer_configs', 741 'linux_installer_configs',
730 ], 742 ],
731 'actions': [ 743 'actions': [
732 { 744 {
733 'variables': { 745 'variables': {
734 'channel': 'unstable', 746 'channel': 'unstable',
735 }, 747 },
736 'action_name': 'deb_packages_<(channel)', 748 'action_name': 'deb_packages_<(channel)',
737 'process_outputs_as_sources': 1, 749 'process_outputs_as_sources': 1,
738 'inputs': [ 750 'inputs': [
739 '<(deb_build)', 751 '<(deb_build)',
740 '<@(packaging_files_binaries)', 752 '<@(packaging_files_binaries)',
741 '<@(packaging_files_common)', 753 '<@(packaging_files_common)',
742 '<@(packaging_files_deb)', 754 '<@(packaging_files_deb)',
743 ], 755 ],
744 'outputs': [ 756 'outputs': [
745 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb', 757 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb',
746 ], 758 ],
747 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], 759 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
748 }, 760 },
749 ], 761 ],
750 }, 762 },
751 { 763 {
764 # GN version: //chrome/installer/linux:beta
752 'target_name': 'linux_packages_beta_deb', 765 'target_name': 'linux_packages_beta_deb',
753 'suppress_wildcard': 1, 766 'suppress_wildcard': 1,
754 'type': 'none', 767 'type': 'none',
755 'dependencies': [ 768 'dependencies': [
756 'chrome', 769 'chrome',
757 'linux_installer_configs', 770 'linux_installer_configs',
758 ], 771 ],
759 'actions': [ 772 'actions': [
760 { 773 {
761 'variables': { 774 'variables': {
762 'channel': 'beta', 775 'channel': 'beta',
763 }, 776 },
764 'action_name': 'deb_packages_<(channel)', 777 'action_name': 'deb_packages_<(channel)',
765 'process_outputs_as_sources': 1, 778 'process_outputs_as_sources': 1,
766 'inputs': [ 779 'inputs': [
767 '<(deb_build)', 780 '<(deb_build)',
768 '<@(packaging_files_binaries)', 781 '<@(packaging_files_binaries)',
769 '<@(packaging_files_common)', 782 '<@(packaging_files_common)',
770 '<@(packaging_files_deb)', 783 '<@(packaging_files_deb)',
771 ], 784 ],
772 'outputs': [ 785 'outputs': [
773 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb', 786 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb',
774 ], 787 ],
775 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], 788 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
776 }, 789 },
777 ], 790 ],
778 }, 791 },
779 { 792 {
793 # GN version: //chrome/installer/linux:stable
780 'target_name': 'linux_packages_stable_deb', 794 'target_name': 'linux_packages_stable_deb',
781 'suppress_wildcard': 1, 795 'suppress_wildcard': 1,
782 'type': 'none', 796 'type': 'none',
783 'dependencies': [ 797 'dependencies': [
784 'chrome', 798 'chrome',
785 'linux_installer_configs', 799 'linux_installer_configs',
786 ], 800 ],
787 'actions': [ 801 'actions': [
788 { 802 {
789 'variables': { 803 'variables': {
790 'channel': 'stable', 804 'channel': 'stable',
791 }, 805 },
792 'action_name': 'deb_packages_<(channel)', 806 'action_name': 'deb_packages_<(channel)',
793 'process_outputs_as_sources': 1, 807 'process_outputs_as_sources': 1,
794 'inputs': [ 808 'inputs': [
795 '<(deb_build)', 809 '<(deb_build)',
796 '<@(packaging_files_binaries)', 810 '<@(packaging_files_binaries)',
797 '<@(packaging_files_common)', 811 '<@(packaging_files_common)',
798 '<@(packaging_files_deb)', 812 '<@(packaging_files_deb)',
799 ], 813 ],
800 'outputs': [ 814 'outputs': [
801 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb', 815 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch ).deb',
802 ], 816 ],
803 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], 817 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
804 }, 818 },
805 ], 819 ],
806 }, 820 },
807 { 821 {
822 # GN version: //chrome/installer/linux:asan
808 'target_name': 'linux_packages_asan_rpm', 823 'target_name': 'linux_packages_asan_rpm',
809 'suppress_wildcard': 1, 824 'suppress_wildcard': 1,
810 'type': 'none', 825 'type': 'none',
811 'dependencies': [ 826 'dependencies': [
812 'chrome', 827 'chrome',
813 'linux_installer_configs', 828 'linux_installer_configs',
814 ], 829 ],
815 'actions': [ 830 'actions': [
816 { 831 {
817 'variables': { 832 'variables': {
818 'channel': 'asan', 833 'channel': 'asan',
819 }, 834 },
820 'action_name': 'rpm_packages_<(channel)', 835 'action_name': 'rpm_packages_<(channel)',
821 'process_outputs_as_sources': 1, 836 'process_outputs_as_sources': 1,
822 'inputs': [ 837 'inputs': [
823 '<(rpm_build)', 838 '<(rpm_build)',
824 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', 839 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
825 '<@(packaging_files_binaries)', 840 '<@(packaging_files_binaries)',
826 '<@(packaging_files_common)', 841 '<@(packaging_files_common)',
827 '<@(packaging_files_rpm)', 842 '<@(packaging_files_rpm)',
828 ], 843 ],
829 'outputs': [ 844 'outputs': [
830 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm', 845 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm',
831 ], 846 ],
832 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], 847 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
833 }, 848 },
834 ], 849 ],
835 }, 850 },
836 { 851 {
852 # GN version: //chrome/installer/linux:trunk
837 'target_name': 'linux_packages_trunk_rpm', 853 'target_name': 'linux_packages_trunk_rpm',
838 'suppress_wildcard': 1, 854 'suppress_wildcard': 1,
839 'type': 'none', 855 'type': 'none',
840 'dependencies': [ 856 'dependencies': [
841 'chrome', 857 'chrome',
842 'linux_installer_configs', 858 'linux_installer_configs',
843 ], 859 ],
844 'actions': [ 860 'actions': [
845 { 861 {
846 'variables': { 862 'variables': {
847 'channel': 'trunk', 863 'channel': 'trunk',
848 }, 864 },
849 'action_name': 'rpm_packages_<(channel)', 865 'action_name': 'rpm_packages_<(channel)',
850 'process_outputs_as_sources': 1, 866 'process_outputs_as_sources': 1,
851 'inputs': [ 867 'inputs': [
852 '<(rpm_build)', 868 '<(rpm_build)',
853 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', 869 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
854 '<@(packaging_files_binaries)', 870 '<@(packaging_files_binaries)',
855 '<@(packaging_files_common)', 871 '<@(packaging_files_common)',
856 '<@(packaging_files_rpm)', 872 '<@(packaging_files_rpm)',
857 ], 873 ],
858 'outputs': [ 874 'outputs': [
859 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm', 875 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm',
860 ], 876 ],
861 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], 877 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
862 }, 878 },
863 ], 879 ],
864 }, 880 },
865 { 881 {
882 # GN version: //chrome/installer/linux:unstable
866 'target_name': 'linux_packages_unstable_rpm', 883 'target_name': 'linux_packages_unstable_rpm',
867 'suppress_wildcard': 1, 884 'suppress_wildcard': 1,
868 'type': 'none', 885 'type': 'none',
869 'dependencies': [ 886 'dependencies': [
870 'chrome', 887 'chrome',
871 'linux_installer_configs', 888 'linux_installer_configs',
872 ], 889 ],
873 'actions': [ 890 'actions': [
874 { 891 {
875 'variables': { 892 'variables': {
876 'channel': 'unstable', 893 'channel': 'unstable',
877 }, 894 },
878 'action_name': 'rpm_packages_<(channel)', 895 'action_name': 'rpm_packages_<(channel)',
879 'process_outputs_as_sources': 1, 896 'process_outputs_as_sources': 1,
880 'inputs': [ 897 'inputs': [
881 '<(rpm_build)', 898 '<(rpm_build)',
882 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', 899 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
883 '<@(packaging_files_binaries)', 900 '<@(packaging_files_binaries)',
884 '<@(packaging_files_common)', 901 '<@(packaging_files_common)',
885 '<@(packaging_files_rpm)', 902 '<@(packaging_files_rpm)',
886 ], 903 ],
887 'outputs': [ 904 'outputs': [
888 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm', 905 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm',
889 ], 906 ],
890 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], 907 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
891 }, 908 },
892 ], 909 ],
893 }, 910 },
894 { 911 {
912 # GN version: //chrome/installer/linux:beta
895 'target_name': 'linux_packages_beta_rpm', 913 'target_name': 'linux_packages_beta_rpm',
896 'suppress_wildcard': 1, 914 'suppress_wildcard': 1,
897 'type': 'none', 915 'type': 'none',
898 'dependencies': [ 916 'dependencies': [
899 'chrome', 917 'chrome',
900 'linux_installer_configs', 918 'linux_installer_configs',
901 ], 919 ],
902 'actions': [ 920 'actions': [
903 { 921 {
904 'variables': { 922 'variables': {
905 'channel': 'beta', 923 'channel': 'beta',
906 }, 924 },
907 'action_name': 'rpm_packages_<(channel)', 925 'action_name': 'rpm_packages_<(channel)',
908 'process_outputs_as_sources': 1, 926 'process_outputs_as_sources': 1,
909 'inputs': [ 927 'inputs': [
910 '<(rpm_build)', 928 '<(rpm_build)',
911 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', 929 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
912 '<@(packaging_files_binaries)', 930 '<@(packaging_files_binaries)',
913 '<@(packaging_files_common)', 931 '<@(packaging_files_common)',
914 '<@(packaging_files_rpm)', 932 '<@(packaging_files_rpm)',
915 ], 933 ],
916 'outputs': [ 934 'outputs': [
917 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm', 935 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch ).rpm',
918 ], 936 ],
919 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], 937 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
920 }, 938 },
921 ], 939 ],
922 }, 940 },
923 { 941 {
942 # GN version: //chrome/installer/linux:stable
924 'target_name': 'linux_packages_stable_rpm', 943 'target_name': 'linux_packages_stable_rpm',
925 'suppress_wildcard': 1, 944 'suppress_wildcard': 1,
926 'type': 'none', 945 'type': 'none',
927 'dependencies': [ 946 'dependencies': [
928 'chrome', 947 'chrome',
929 'linux_installer_configs', 948 'linux_installer_configs',
930 ], 949 ],
931 'actions': [ 950 'actions': [
932 { 951 {
933 'variables': { 952 'variables': {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 '../build/isolate.gypi', 1120 '../build/isolate.gypi',
1102 ], 1121 ],
1103 'sources': [ 1122 'sources': [
1104 'setup_unittests.isolate', 1123 'setup_unittests.isolate',
1105 ], 1124 ],
1106 }, 1125 },
1107 ], 1126 ],
1108 }], 1127 }],
1109 ], 1128 ],
1110 } 1129 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/chrome_watcher/BUILD.gn » ('j') | chrome/installer/linux/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698