| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 ['enable_extensions==1', { | 588 ['enable_extensions==1', { |
| 595 'dependencies': [ # Update duplicate logic in repack_locales.py | 589 'dependencies': [ # Update duplicate logic in repack_locales.py |
| 596 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', | 590 '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings', |
| 597 ], | 591 ], |
| 598 }], | 592 }], |
| 599 ['enable_app_list==1', { | 593 ['enable_app_list==1', { |
| 600 'dependencies': [ | 594 'dependencies': [ |
| 601 '<(DEPTH)/ui/app_list/resources/app_list_resources.gyp:app_list_res
ources', | 595 '<(DEPTH)/ui/app_list/resources/app_list_resources.gyp:app_list_res
ources', |
| 602 ], | 596 ], |
| 603 }], | 597 }], |
| 598 ['OS == "mac"', { |
| 599 'actions': [ |
| 600 { |
| 601 'includes': ['chrome_repack_chrome_material_100_percent.gypi'] |
| 602 }, |
| 603 { |
| 604 'includes': ['chrome_repack_chrome_material_200_percent.gypi'] |
| 605 }, |
| 606 ], |
| 607 }], |
| 604 ['OS != "mac" and OS != "ios"', { | 608 ['OS != "mac" and OS != "ios"', { |
| 605 # Copy pak files to the product directory. These files will be picked | 609 # Copy pak files to the product directory. These files will be picked |
| 606 # up by the following installer scripts: | 610 # up by the following installer scripts: |
| 607 # - Windows: chrome/installer/mini_installer/chrome.release | 611 # - Windows: chrome/installer/mini_installer/chrome.release |
| 608 # - Linux: chrome/installer/linux/internal/common/installer.include | 612 # - Linux: chrome/installer/linux/internal/common/installer.include |
| 609 # Ensure that the above scripts are updated when adding or removing | 613 # Ensure that the above scripts are updated when adding or removing |
| 610 # pak files. | 614 # pak files. |
| 611 # Copying files to the product directory is not needed on the Mac | 615 # Copying files to the product directory is not needed on the Mac |
| 612 # since the framework build phase will copy them into the framework | 616 # since the framework build phase will copy them into the framework |
| 613 # bundle directly. | 617 # bundle directly. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 ['enable_hidpi == 1', { | 652 ['enable_hidpi == 1', { |
| 649 'copies': [ | 653 'copies': [ |
| 650 { | 654 { |
| 651 'destination': '<(PRODUCT_DIR)', | 655 'destination': '<(PRODUCT_DIR)', |
| 652 'files': [ | 656 'files': [ |
| 653 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', | 657 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', |
| 654 ], | 658 ], |
| 655 }, | 659 }, |
| 656 ], | 660 ], |
| 657 }], | 661 }], |
| 658 ['enable_topchrome_md == 1', { | |
| 659 'copies': [ | |
| 660 { | |
| 661 'destination': '<(PRODUCT_DIR)', | |
| 662 'files': [ | |
| 663 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_100_perce
nt.pak', | |
| 664 ], | |
| 665 }, | |
| 666 ], | |
| 667 }], | |
| 668 ['enable_hidpi == 1 and enable_topchrome_md == 1', { | |
| 669 'copies': [ | |
| 670 { | |
| 671 'destination': '<(PRODUCT_DIR)', | |
| 672 'files': [ | |
| 673 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_200_perce
nt.pak', | |
| 674 ], | |
| 675 }, | |
| 676 ], | |
| 677 }], | |
| 678 ], # conditions | 662 ], # conditions |
| 679 }], # end OS != "mac" and OS != "ios" | 663 }], # end OS != "mac" and OS != "ios" |
| 680 ], # conditions | 664 ], # conditions |
| 681 }, | 665 }, |
| 682 { | 666 { |
| 683 # GN version: //chrome/app/theme:chrome_unscaled_resources | 667 # GN version: //chrome/app/theme:chrome_unscaled_resources |
| 684 'target_name': 'chrome_unscaled_resources', | 668 'target_name': 'chrome_unscaled_resources', |
| 685 'type': 'none', | 669 'type': 'none', |
| 686 'actions': [ | 670 'actions': [ |
| 687 { | 671 { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', | 725 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', |
| 742 ], | 726 ], |
| 743 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | 727 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', |
| 744 }, | 728 }, |
| 745 'includes': [ '../build/repack_action.gypi' ], | 729 'includes': [ '../build/repack_action.gypi' ], |
| 746 }, | 730 }, |
| 747 ], | 731 ], |
| 748 }, | 732 }, |
| 749 ], # targets | 733 ], # targets |
| 750 } | 734 } |
| OLD | NEW |