OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'version_py': '../../chrome/tools/build/version.py', | 3 'version_py': '../../chrome/tools/build/version.py', |
4 'version_path': '../../chrome/VERSION', | 4 'version_path': '../../chrome/VERSION', |
5 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 5 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
6 # 'branding_dir' is set in the 'conditions' section at the bottom. | 6 # 'branding_dir' is set in the 'conditions' section at the bottom. |
7 }, | 7 }, |
8 'conditions': [ | 8 'conditions': [ |
9 ['OS=="win"', { | 9 ['OS=="win"', { |
10 'targets': [ | 10 'targets': [ |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 ], | 372 ], |
373 'sources': [ | 373 'sources': [ |
374 'setup/run_all_unittests.cc', | 374 'setup/run_all_unittests.cc', |
375 'setup/setup_util.cc', | 375 'setup/setup_util.cc', |
376 'setup/setup_util_unittest.cc', | 376 'setup/setup_util_unittest.cc', |
377 ], | 377 ], |
378 }, | 378 }, |
379 ], | 379 ], |
380 }], | 380 }], |
381 ['OS=="linux" and branding=="Chrome"', { | 381 ['OS=="linux" and branding=="Chrome"', { |
382 # Always google_chrome since this only applies to branding==Chrome. | |
383 'variables': { | 382 'variables': { |
| 383 # Always google_chrome since this only applies to branding==Chrome. |
384 'branding_dir': '../app/theme/google_chrome', | 384 'branding_dir': '../app/theme/google_chrome', |
| 385 'version' : '<!(python <(version_py) -f ../../chrome/VERSION -t "@MAJOR@
.@MINOR@.@BUILD@.@PATCH@")', |
| 386 'revision' : '<!(python ../../build/util/lastchange.py | cut -d "=" -f 2
)', |
385 'packaging_files_common': [ | 387 'packaging_files_common': [ |
386 'linux/internal/common/apt.include', | 388 'linux/internal/common/apt.include', |
387 'linux/internal/common/default-app.template', | 389 'linux/internal/common/default-app.template', |
388 'linux/internal/common/default-app-block.template', | 390 'linux/internal/common/default-app-block.template', |
389 'linux/internal/common/desktop.template', | 391 'linux/internal/common/desktop.template', |
390 'linux/internal/common/google-chrome/google-chrome.info', | 392 'linux/internal/common/google-chrome/google-chrome.info', |
391 'linux/internal/common/installer.include', | 393 'linux/internal/common/installer.include', |
392 'linux/internal/common/postinst.include', | 394 'linux/internal/common/postinst.include', |
393 'linux/internal/common/prerm.include', | 395 'linux/internal/common/prerm.include', |
394 'linux/internal/common/repo.cron', | 396 'linux/internal/common/repo.cron', |
395 'linux/internal/common/rpm.include', | 397 'linux/internal/common/rpm.include', |
396 'linux/internal/common/rpmrepo.cron', | 398 'linux/internal/common/rpmrepo.cron', |
397 'linux/internal/common/updater', | 399 'linux/internal/common/updater', |
398 'linux/internal/common/variables.include', | 400 'linux/internal/common/variables.include', |
399 'linux/internal/common/wrapper', | 401 'linux/internal/common/wrapper', |
400 ], | 402 ], |
401 'packaging_files_deb': [ | 403 'packaging_files_deb': [ |
402 'linux/internal/debian/build.sh', | 404 'linux/internal/debian/build.sh', |
403 'linux/internal/debian/changelog.template', | 405 'linux/internal/debian/changelog.template', |
404 'linux/internal/debian/control.template', | 406 'linux/internal/debian/control.template', |
405 'linux/internal/debian/debian.menu', | 407 'linux/internal/debian/debian.menu', |
406 'linux/internal/debian/postinst', | 408 'linux/internal/debian/postinst', |
407 'linux/internal/debian/postrm', | 409 'linux/internal/debian/postrm', |
408 'linux/internal/debian/prerm', | 410 'linux/internal/debian/prerm', |
409 ], | 411 ], |
410 'packaging_files_rpm': [ | 412 'packaging_files_rpm': [ |
411 'linux/internal/rpm/build.sh', | 413 'linux/internal/rpm/build.sh', |
412 'linux/internal/rpm/chrome.spec.template', | 414 'linux/internal/rpm/chrome.spec.template', |
413 ], | 415 ], |
| 416 'packaging_files_binaries': [ |
| 417 # TODO(mmoss) Any convenient way to get all the relevant build |
| 418 # files? (e.g. all locales, resources, etc.) |
| 419 '<(PRODUCT_DIR)/chrome', |
| 420 '<(PRODUCT_DIR)/chrome.pak', |
| 421 '<(PRODUCT_DIR)/chrome_sandbox', |
| 422 '<(PRODUCT_DIR)/libffmpegsumo.so', |
| 423 '<(PRODUCT_DIR)/xdg-settings', |
| 424 '<(PRODUCT_DIR)/locales/en-US.pak', |
| 425 ], |
| 426 'flock_bash': ['flock', '--', '/tmp/linux_package_lock', 'bash'], |
| 427 'deb_build': '<(PRODUCT_DIR)/installer/debian/build.sh', |
| 428 'rpm_build': '<(PRODUCT_DIR)/installer/rpm/build.sh', |
| 429 'deb_cmd': ['<@(flock_bash)', '<(deb_build)', '-o' '<(PRODUCT_DIR)', |
| 430 '-b', '<(PRODUCT_DIR)', '-a', '<(target_arch)'], |
| 431 'rpm_cmd': ['<@(flock_bash)', '<(rpm_build)', '-o' '<(PRODUCT_DIR)', |
| 432 '-b', '<(PRODUCT_DIR)', '-a', '<(target_arch)'], |
| 433 'conditions': [ |
| 434 ['target_arch=="ia32"', { |
| 435 'deb_arch': 'i386', |
| 436 'rpm_arch': 'i386', |
| 437 }], |
| 438 ['target_arch=="x64"', { |
| 439 'deb_arch': 'amd64', |
| 440 'rpm_arch': 'x86_64', |
| 441 }], |
| 442 ], |
414 }, | 443 }, |
415 'targets': [ | 444 'targets': [ |
416 { | 445 { |
417 'target_name': 'installer_util', | 446 'target_name': 'linux_installer_configs', |
418 'type': 'none', | 447 'type': 'none', |
419 # Add these files to the build output so the build archives will be | 448 # Add these files to the build output so the build archives will be |
420 # "hermetic" for packaging. This is only for branding="Chrome" since | 449 # "hermetic" for packaging. This is only for branding="Chrome" since |
421 # we only create packages for official builds. | 450 # we only create packages for official builds. |
422 'copies': [ | 451 'copies': [ |
423 # Copy tools for generating packages from the build archive. | 452 # Copy tools for generating packages from the build archive. |
424 { | 453 { |
425 'destination': '<(PRODUCT_DIR)/installer/', | 454 'destination': '<(PRODUCT_DIR)/installer/', |
426 'files': [ | 455 'files': [ |
427 'linux/internal/build_from_archive.sh', | 456 'linux/internal/build_from_archive.sh', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 'python', '<(version_py)', | 503 'python', '<(version_py)', |
475 '-f', '<(branding_dir)/BRANDING', | 504 '-f', '<(branding_dir)/BRANDING', |
476 '-f', '<(version_path)', | 505 '-f', '<(version_path)', |
477 '-f', '<(lastchange_path)', | 506 '-f', '<(lastchange_path)', |
478 '-o', '<@(_outputs)' | 507 '-o', '<@(_outputs)' |
479 ], | 508 ], |
480 }, | 509 }, |
481 ], | 510 ], |
482 }, | 511 }, |
483 { | 512 { |
484 'target_name': 'linux_packages', | 513 'target_name': 'linux_packages_all', |
| 514 'suppress_wildcard': 1, |
| 515 'type': 'none', |
| 516 'dependencies': [ |
| 517 'linux_packages_unstable', |
| 518 'linux_packages_beta', |
| 519 'linux_packages_stable', |
| 520 ], |
| 521 }, |
| 522 { |
| 523 # 'trunk' is a developer, testing-only package, so it shouldn't be |
| 524 # included in the 'linux_packages_all' collection. |
| 525 'target_name': 'linux_packages_trunk', |
| 526 'suppress_wildcard': 1, |
| 527 'type': 'none', |
| 528 'dependencies': [ |
| 529 'linux_packages_trunk_deb', |
| 530 ], |
| 531 # ChromeOS doesn't care about RPM packages. |
| 532 'conditions': [ |
| 533 ['chromeos==0 and toolkit_views==0', { |
| 534 'dependencies': [ |
| 535 'linux_packages_trunk_rpm', |
| 536 ], |
| 537 }], |
| 538 ], |
| 539 }, |
| 540 { |
| 541 'target_name': 'linux_packages_unstable', |
| 542 'suppress_wildcard': 1, |
| 543 'type': 'none', |
| 544 'dependencies': [ |
| 545 'linux_packages_unstable_deb', |
| 546 ], |
| 547 # ChromeOS doesn't care about RPM packages. |
| 548 'conditions': [ |
| 549 ['chromeos==0 and toolkit_views==0', { |
| 550 'dependencies': [ |
| 551 'linux_packages_unstable_rpm', |
| 552 ], |
| 553 }], |
| 554 ], |
| 555 }, |
| 556 { |
| 557 'target_name': 'linux_packages_beta', |
| 558 'suppress_wildcard': 1, |
| 559 'type': 'none', |
| 560 'dependencies': [ |
| 561 'linux_packages_beta_deb', |
| 562 ], |
| 563 # ChromeOS doesn't care about RPM packages. |
| 564 'conditions': [ |
| 565 ['chromeos==0 and toolkit_views==0', { |
| 566 'dependencies': [ |
| 567 'linux_packages_beta_rpm', |
| 568 ], |
| 569 }], |
| 570 ], |
| 571 }, |
| 572 { |
| 573 'target_name': 'linux_packages_stable', |
| 574 'suppress_wildcard': 1, |
| 575 'type': 'none', |
| 576 'dependencies': [ |
| 577 'linux_packages_stable_deb', |
| 578 ], |
| 579 # ChromeOS doesn't care about RPM packages. |
| 580 'conditions': [ |
| 581 ['chromeos==0 and toolkit_views==0', { |
| 582 'dependencies': [ |
| 583 'linux_packages_stable_rpm', |
| 584 ], |
| 585 }], |
| 586 ], |
| 587 }, |
| 588 # TODO(mmoss) gyp looping construct would be handy here ... |
| 589 # These package actions are the same except for the 'channel' variable. |
| 590 { |
| 591 'target_name': 'linux_packages_trunk_deb', |
485 'suppress_wildcard': 1, | 592 'suppress_wildcard': 1, |
486 'type': 'none', | 593 'type': 'none', |
487 'dependencies': [ | 594 'dependencies': [ |
488 '../chrome.gyp:chrome', | 595 '../chrome.gyp:chrome', |
| 596 'linux_installer_configs', |
489 ], | 597 ], |
490 'variables': { | |
491 'version' : '<!(python <(version_py) -f ../../chrome/VERSION -t "@MA
JOR@.@MINOR@.@BUILD@.@PATCH@")', | |
492 'revision' : '<!(python ../../build/util/lastchange.py | cut -d "="
-f 2)', | |
493 'input_files': [ | |
494 # TODO(mmoss) Any convenient way to get all the relevant build | |
495 # files? (e.g. all locales, resources, etc.) | |
496 '<(PRODUCT_DIR)/chrome', | |
497 '<(PRODUCT_DIR)/chrome.pak', | |
498 '<(PRODUCT_DIR)/chrome_sandbox', | |
499 '<(PRODUCT_DIR)/libffmpegsumo.so', | |
500 '<(PRODUCT_DIR)/xdg-settings', | |
501 '<(PRODUCT_DIR)/locales/en-US.pak', | |
502 ], | |
503 'flock_bash': ['flock', '--', '/tmp/linux_package_lock', 'bash'], | |
504 'deb_build': '<(PRODUCT_DIR)/installer/debian/build.sh', | |
505 'rpm_build': '<(PRODUCT_DIR)/installer/rpm/build.sh', | |
506 'deb_cmd': ['<@(flock_bash)', '<(deb_build)', '-o' '<(PRODUCT_DIR)', | |
507 '-b', '<(PRODUCT_DIR)', '-a', '<(target_arch)'], | |
508 'rpm_cmd': ['<@(flock_bash)', '<(rpm_build)', '-o' '<(PRODUCT_DIR)', | |
509 '-b', '<(PRODUCT_DIR)', '-a', '<(target_arch)'], | |
510 'conditions': [ | |
511 ['target_arch=="ia32"', { | |
512 'deb_arch': 'i386', | |
513 'rpm_arch': 'i386', | |
514 }], | |
515 ['target_arch=="x64"', { | |
516 'deb_arch': 'amd64', | |
517 'rpm_arch': 'x86_64', | |
518 }], | |
519 ], | |
520 }, | |
521 'actions': [ | 598 'actions': [ |
522 # TODO(mmoss) gyp looping construct would be handy here ... | 599 { |
523 # These deb_packages* and rpm_packages* actions are the same except | 600 'variables': { |
524 # for the 'channel' variable. | 601 'channel': 'trunk', |
| 602 }, |
| 603 'action_name': 'deb_packages_<(channel)', |
| 604 'process_outputs_as_sources': 1, |
| 605 'inputs': [ |
| 606 '<(deb_build)', |
| 607 '<@(packaging_files_binaries)', |
| 608 '<@(packaging_files_common)', |
| 609 '<@(packaging_files_deb)', |
| 610 ], |
| 611 'outputs': [ |
| 612 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
| 613 ], |
| 614 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
| 615 }, |
| 616 ], |
| 617 }, |
| 618 { |
| 619 'target_name': 'linux_packages_unstable_deb', |
| 620 'suppress_wildcard': 1, |
| 621 'type': 'none', |
| 622 'dependencies': [ |
| 623 '../chrome.gyp:chrome', |
| 624 'linux_installer_configs', |
| 625 ], |
| 626 'actions': [ |
525 { | 627 { |
526 'variables': { | 628 'variables': { |
527 'channel': 'unstable', | 629 'channel': 'unstable', |
528 }, | 630 }, |
529 'action_name': 'deb_packages_<(channel)', | 631 'action_name': 'deb_packages_<(channel)', |
530 'process_outputs_as_sources': 1, | 632 'process_outputs_as_sources': 1, |
531 'inputs': [ | 633 'inputs': [ |
532 '<(deb_build)', | 634 '<(deb_build)', |
533 '<@(input_files)', | 635 '<@(packaging_files_binaries)', |
534 '<@(packaging_files_common)', | 636 '<@(packaging_files_common)', |
535 '<@(packaging_files_deb)', | 637 '<@(packaging_files_deb)', |
536 ], | 638 ], |
537 'outputs': [ | 639 'outputs': [ |
538 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', | 640 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
539 ], | 641 ], |
540 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], | 642 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
541 }, | 643 }, |
| 644 ], |
| 645 }, |
| 646 { |
| 647 'target_name': 'linux_packages_beta_deb', |
| 648 'suppress_wildcard': 1, |
| 649 'type': 'none', |
| 650 'dependencies': [ |
| 651 '../chrome.gyp:chrome', |
| 652 'linux_installer_configs', |
| 653 ], |
| 654 'actions': [ |
542 { | 655 { |
543 'variables': { | 656 'variables': { |
544 'channel': 'beta', | 657 'channel': 'beta', |
545 }, | 658 }, |
546 'action_name': 'deb_packages_<(channel)', | 659 'action_name': 'deb_packages_<(channel)', |
547 'process_outputs_as_sources': 1, | 660 'process_outputs_as_sources': 1, |
548 'inputs': [ | 661 'inputs': [ |
549 '<(deb_build)', | 662 '<(deb_build)', |
550 '<@(input_files)', | 663 '<@(packaging_files_binaries)', |
551 '<@(packaging_files_common)', | 664 '<@(packaging_files_common)', |
552 '<@(packaging_files_deb)', | 665 '<@(packaging_files_deb)', |
553 ], | 666 ], |
554 'outputs': [ | 667 'outputs': [ |
555 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', | 668 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
556 ], | 669 ], |
557 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], | 670 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
558 }, | 671 }, |
| 672 ], |
| 673 }, |
| 674 { |
| 675 'target_name': 'linux_packages_stable_deb', |
| 676 'suppress_wildcard': 1, |
| 677 'type': 'none', |
| 678 'dependencies': [ |
| 679 '../chrome.gyp:chrome', |
| 680 'linux_installer_configs', |
| 681 ], |
| 682 'actions': [ |
559 { | 683 { |
560 'variables': { | 684 'variables': { |
561 'channel': 'stable', | 685 'channel': 'stable', |
562 }, | 686 }, |
563 'action_name': 'deb_packages_<(channel)', | 687 'action_name': 'deb_packages_<(channel)', |
564 'process_outputs_as_sources': 1, | 688 'process_outputs_as_sources': 1, |
565 'inputs': [ | 689 'inputs': [ |
566 '<(deb_build)', | 690 '<(deb_build)', |
567 '<@(input_files)', | 691 '<@(packaging_files_binaries)', |
568 '<@(packaging_files_common)', | 692 '<@(packaging_files_common)', |
569 '<@(packaging_files_deb)', | 693 '<@(packaging_files_deb)', |
570 ], | 694 ], |
571 'outputs': [ | 695 'outputs': [ |
572 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', | 696 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
573 ], | 697 ], |
574 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], | 698 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
575 }, | 699 }, |
576 ], | 700 ], |
577 'conditions': [ | 701 }, |
578 ['chromeos==0 and toolkit_views==0', { | 702 { |
579 'actions': [ | 703 'target_name': 'linux_packages_trunk_rpm', |
580 { | 704 'suppress_wildcard': 1, |
581 'variables': { | 705 'type': 'none', |
582 'channel': 'unstable', | 706 'dependencies': [ |
583 }, | 707 '../chrome.gyp:chrome', |
584 'action_name': 'rpm_packages_<(channel)', | 708 'linux_installer_configs', |
585 'process_outputs_as_sources': 1, | 709 ], |
586 'inputs': [ | 710 'actions': [ |
587 '<(rpm_build)', | 711 { |
588 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', | 712 'variables': { |
589 '<@(input_files)', | 713 'channel': 'trunk', |
590 '<@(packaging_files_common)', | 714 }, |
591 '<@(packaging_files_rpm)', | 715 'action_name': 'rpm_packages_<(channel)', |
592 ], | 716 'process_outputs_as_sources': 1, |
593 'outputs': [ | 717 'inputs': [ |
594 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revisi
on).<(rpm_arch).rpm', | 718 '<(rpm_build)', |
595 ], | 719 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
596 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], | 720 '<@(packaging_files_binaries)', |
597 }, | 721 '<@(packaging_files_common)', |
598 { | 722 '<@(packaging_files_rpm)', |
599 'variables': { | |
600 'channel': 'beta', | |
601 }, | |
602 'action_name': 'rpm_packages_<(channel)', | |
603 'process_outputs_as_sources': 1, | |
604 'inputs': [ | |
605 '<(rpm_build)', | |
606 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', | |
607 '<@(input_files)', | |
608 '<@(packaging_files_common)', | |
609 '<@(packaging_files_rpm)', | |
610 ], | |
611 'outputs': [ | |
612 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revisi
on).<(rpm_arch).rpm', | |
613 ], | |
614 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], | |
615 }, | |
616 { | |
617 'variables': { | |
618 'channel': 'stable', | |
619 }, | |
620 'action_name': 'rpm_packages_<(channel)', | |
621 'process_outputs_as_sources': 1, | |
622 'inputs': [ | |
623 '<(rpm_build)', | |
624 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', | |
625 '<@(input_files)', | |
626 '<@(packaging_files_common)', | |
627 '<@(packaging_files_rpm)', | |
628 ], | |
629 'outputs': [ | |
630 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revisi
on).<(rpm_arch).rpm', | |
631 ], | |
632 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], | |
633 }, | |
634 ], | 723 ], |
635 }], | 724 'outputs': [ |
636 ['target_arch=="x64"', { | 725 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
637 # TODO(mmoss) 64-bit RPMs not ready yet. | 726 ], |
638 }], | 727 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 728 }, |
| 729 ], |
| 730 }, |
| 731 { |
| 732 'target_name': 'linux_packages_unstable_rpm', |
| 733 'suppress_wildcard': 1, |
| 734 'type': 'none', |
| 735 'dependencies': [ |
| 736 '../chrome.gyp:chrome', |
| 737 'linux_installer_configs', |
| 738 ], |
| 739 'actions': [ |
| 740 { |
| 741 'variables': { |
| 742 'channel': 'unstable', |
| 743 }, |
| 744 'action_name': 'rpm_packages_<(channel)', |
| 745 'process_outputs_as_sources': 1, |
| 746 'inputs': [ |
| 747 '<(rpm_build)', |
| 748 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
| 749 '<@(packaging_files_binaries)', |
| 750 '<@(packaging_files_common)', |
| 751 '<@(packaging_files_rpm)', |
| 752 ], |
| 753 'outputs': [ |
| 754 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
| 755 ], |
| 756 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 757 }, |
| 758 ], |
| 759 }, |
| 760 { |
| 761 'target_name': 'linux_packages_beta_rpm', |
| 762 'suppress_wildcard': 1, |
| 763 'type': 'none', |
| 764 'dependencies': [ |
| 765 '../chrome.gyp:chrome', |
| 766 'linux_installer_configs', |
| 767 ], |
| 768 'actions': [ |
| 769 { |
| 770 'variables': { |
| 771 'channel': 'beta', |
| 772 }, |
| 773 'action_name': 'rpm_packages_<(channel)', |
| 774 'process_outputs_as_sources': 1, |
| 775 'inputs': [ |
| 776 '<(rpm_build)', |
| 777 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
| 778 '<@(packaging_files_binaries)', |
| 779 '<@(packaging_files_common)', |
| 780 '<@(packaging_files_rpm)', |
| 781 ], |
| 782 'outputs': [ |
| 783 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
| 784 ], |
| 785 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 786 }, |
| 787 ], |
| 788 }, |
| 789 { |
| 790 'target_name': 'linux_packages_stable_rpm', |
| 791 'suppress_wildcard': 1, |
| 792 'type': 'none', |
| 793 'dependencies': [ |
| 794 '../chrome.gyp:chrome', |
| 795 'linux_installer_configs', |
| 796 ], |
| 797 'actions': [ |
| 798 { |
| 799 'variables': { |
| 800 'channel': 'stable', |
| 801 }, |
| 802 'action_name': 'rpm_packages_<(channel)', |
| 803 'process_outputs_as_sources': 1, |
| 804 'inputs': [ |
| 805 '<(rpm_build)', |
| 806 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
| 807 '<@(packaging_files_binaries)', |
| 808 '<@(packaging_files_common)', |
| 809 '<@(packaging_files_rpm)', |
| 810 ], |
| 811 'outputs': [ |
| 812 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
| 813 ], |
| 814 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 815 }, |
639 ], | 816 ], |
640 }, | 817 }, |
641 ], | 818 ], |
642 }], | 819 }], |
643 [ 'branding == "Chrome"', { | 820 [ 'branding == "Chrome"', { |
644 'variables': { | 821 'variables': { |
645 'branding_dir': '../app/theme/google_chrome', | 822 'branding_dir': '../app/theme/google_chrome', |
646 }, | 823 }, |
647 }, { # else branding!="Chrome" | 824 }, { # else branding!="Chrome" |
648 'variables': { | 825 'variables': { |
649 'branding_dir': '../app/theme/chromium', | 826 'branding_dir': '../app/theme/chromium', |
650 }, | 827 }, |
651 }], | 828 }], |
652 ], | 829 ], |
653 } | 830 } |
654 | 831 |
655 # Local Variables: | 832 # Local Variables: |
656 # tab-width:2 | 833 # tab-width:2 |
657 # indent-tabs-mode:nil | 834 # indent-tabs-mode:nil |
658 # End: | 835 # End: |
659 # vim: set expandtab tabstop=2 shiftwidth=2: | 836 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |