OLD | NEW |
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 'variables': { | 5 'variables': { |
6 # Apply Chrome-specific grit settings to all of this file. | 6 # Apply Chrome-specific grit settings to all of this file. |
7 # The advantage is that one entry here applies to the entire file. | 7 # The advantage is that one entry here applies to the entire file. |
8 # The caveat is these variables cannot be merged with other variable | 8 # The caveat is these variables cannot be merged with other variable |
9 # dictionaries in more inner scopes. If the variable should be merged, | 9 # dictionaries in more inner scopes. If the variable should be merged, |
10 # consider putting them in a gypi file and including it at the right scope | 10 # consider putting them in a gypi file and including it at the right scope |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 'pak_locales': '<(pseudo_locales)', | 535 'pak_locales': '<(pseudo_locales)', |
536 }, | 536 }, |
537 'includes': ['chrome_repack_locales.gypi'] | 537 'includes': ['chrome_repack_locales.gypi'] |
538 }, | 538 }, |
539 { | 539 { |
540 'includes': ['chrome_repack_chrome_100_percent.gypi'] | 540 'includes': ['chrome_repack_chrome_100_percent.gypi'] |
541 }, | 541 }, |
542 { | 542 { |
543 'includes': ['chrome_repack_chrome_200_percent.gypi'] | 543 'includes': ['chrome_repack_chrome_200_percent.gypi'] |
544 }, | 544 }, |
545 { | |
546 'includes': ['chrome_repack_chrome_material_100_percent.gypi'] | |
547 }, | |
548 { | |
549 'includes': ['chrome_repack_chrome_material_200_percent.gypi'] | |
550 }, | |
551 ], | 545 ], |
552 'conditions': [ # GN version: chrome_repack_locales.gni template("_repack
_one_locale") | 546 'conditions': [ # GN version: chrome_repack_locales.gni template("_repack
_one_locale") |
553 ['OS != "ios"', { | 547 ['OS != "ios"', { |
554 'dependencies': [ # Update duplicate logic in repack_locales.py | 548 'dependencies': [ # Update duplicate logic in repack_locales.py |
555 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resour
ces', | 549 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resour
ces', |
556 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings', | 550 '<(DEPTH)/content/app/strings/content_strings.gyp:content_strings', |
557 '<(DEPTH)/device/bluetooth/bluetooth_strings.gyp:bluetooth_strings', | 551 '<(DEPTH)/device/bluetooth/bluetooth_strings.gyp:bluetooth_strings', |
558 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resour
ces', | 552 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resour
ces', |
559 ], | 553 ], |
560 }, { # else | 554 }, { # else |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 ['enable_extensions==1', { | 587 ['enable_extensions==1', { |
594 'dependencies': [ # Update duplicate logic in repack_locales.py | 588 'dependencies': [ # Update duplicate logic in repack_locales.py |
595 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', | 589 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', |
596 ], | 590 ], |
597 }], | 591 }], |
598 ['enable_app_list==1', { | 592 ['enable_app_list==1', { |
599 'dependencies': [ | 593 'dependencies': [ |
600 '<(DEPTH)/ui/app_list/resources/app_list_resources.gyp:app_list_res
ources', | 594 '<(DEPTH)/ui/app_list/resources/app_list_resources.gyp:app_list_res
ources', |
601 ], | 595 ], |
602 }], | 596 }], |
| 597 ['OS == "mac"', { |
| 598 'actions': [ |
| 599 { |
| 600 'includes': ['chrome_repack_chrome_material_100_percent.gypi'] |
| 601 }, |
| 602 { |
| 603 'includes': ['chrome_repack_chrome_material_200_percent.gypi'] |
| 604 }, |
| 605 ], |
| 606 }], |
603 ['OS != "mac" and OS != "ios"', { | 607 ['OS != "mac" and OS != "ios"', { |
604 # Copy pak files to the product directory. These files will be picked | 608 # Copy pak files to the product directory. These files will be picked |
605 # up by the following installer scripts: | 609 # up by the following installer scripts: |
606 # - Windows: chrome/installer/mini_installer/chrome.release | 610 # - Windows: chrome/installer/mini_installer/chrome.release |
607 # - Linux: chrome/installer/linux/internal/common/installer.include | 611 # - Linux: chrome/installer/linux/internal/common/installer.include |
608 # Ensure that the above scripts are updated when adding or removing | 612 # Ensure that the above scripts are updated when adding or removing |
609 # pak files. | 613 # pak files. |
610 # Copying files to the product directory is not needed on the Mac | 614 # Copying files to the product directory is not needed on the Mac |
611 # since the framework build phase will copy them into the framework | 615 # since the framework build phase will copy them into the framework |
612 # bundle directly. | 616 # bundle directly. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 ['enable_hidpi == 1', { | 651 ['enable_hidpi == 1', { |
648 'copies': [ | 652 'copies': [ |
649 { | 653 { |
650 'destination': '<(PRODUCT_DIR)', | 654 'destination': '<(PRODUCT_DIR)', |
651 'files': [ | 655 'files': [ |
652 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', | 656 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', |
653 ], | 657 ], |
654 }, | 658 }, |
655 ], | 659 ], |
656 }], | 660 }], |
657 ['enable_topchrome_md == 1', { | |
658 'copies': [ | |
659 { | |
660 'destination': '<(PRODUCT_DIR)', | |
661 'files': [ | |
662 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_100_perce
nt.pak', | |
663 ], | |
664 }, | |
665 ], | |
666 }], | |
667 ['enable_hidpi == 1 and enable_topchrome_md == 1', { | |
668 'copies': [ | |
669 { | |
670 'destination': '<(PRODUCT_DIR)', | |
671 'files': [ | |
672 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_200_perce
nt.pak', | |
673 ], | |
674 }, | |
675 ], | |
676 }], | |
677 ], # conditions | 661 ], # conditions |
678 }], # end OS != "mac" and OS != "ios" | 662 }], # end OS != "mac" and OS != "ios" |
679 ], # conditions | 663 ], # conditions |
680 }, | 664 }, |
681 { | 665 { |
682 # GN version: //chrome/app/theme:chrome_unscaled_resources | 666 # GN version: //chrome/app/theme:chrome_unscaled_resources |
683 'target_name': 'chrome_unscaled_resources', | 667 'target_name': 'chrome_unscaled_resources', |
684 'type': 'none', | 668 'type': 'none', |
685 'actions': [ | 669 'actions': [ |
686 { | 670 { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', | 724 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', |
741 ], | 725 ], |
742 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | 726 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', |
743 }, | 727 }, |
744 'includes': [ '../build/repack_action.gypi' ], | 728 'includes': [ '../build/repack_action.gypi' ], |
745 }, | 729 }, |
746 ], | 730 ], |
747 }, | 731 }, |
748 ], # targets | 732 ], # targets |
749 } | 733 } |
OLD | NEW |