OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 'variables': { | 8 'variables': { |
9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
(...skipping 1621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1632 }, | 1632 }, |
1633 ]}, # 'targets' | 1633 ]}, # 'targets' |
1634 ], # OS=="win" | 1634 ], # OS=="win" |
1635 ['OS != "mac"', { | 1635 ['OS != "mac"', { |
1636 'targets': [{ | 1636 'targets': [{ |
1637 'target_name': 'packed_resources', | 1637 'target_name': 'packed_resources', |
1638 'type': 'none', | 1638 'type': 'none', |
1639 'variables': { | 1639 'variables': { |
1640 'repack_path': '../tools/data_pack/repack.py', | 1640 'repack_path': '../tools/data_pack/repack.py', |
1641 }, | 1641 }, |
| 1642 'dependencies': [ |
| 1643 # MSVS needs the dependencies explictly named, Make is able to |
| 1644 # derive the dependencies from the output files. |
| 1645 'chrome_resources', |
| 1646 'chrome_strings', |
| 1647 'default_plugin/default_plugin.gyp:default_plugin_resources', |
| 1648 'platform_locale_settings', |
| 1649 'theme_resources', |
| 1650 '<(DEPTH)/net/net.gyp:net_resources', |
| 1651 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings', |
| 1652 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
| 1653 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 1654 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', |
| 1655 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', |
| 1656 ], |
1642 'actions': [ | 1657 'actions': [ |
1643 # TODO(mark): These actions are duplicated for the Mac in the | 1658 # TODO(mark): These actions are duplicated for the Mac in the |
1644 # chrome_dll target. Can they be unified? | 1659 # chrome_dll target. Can they be unified? |
1645 # | 1660 # |
1646 # Mac needs 'process_outputs_as_mac_bundle_resources' to be set, | 1661 # Mac needs 'process_outputs_as_mac_bundle_resources' to be set, |
1647 # and the option is only effective when the target type is native | 1662 # and the option is only effective when the target type is native |
1648 # binary. Hence we cannot build the Mac bundle resources here. | 1663 # binary. Hence we cannot build the Mac bundle resources here. |
1649 { | 1664 { |
1650 'action_name': 'repack_chrome', | 1665 'action_name': 'repack_chrome', |
1651 'variables': { | 1666 'variables': { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1759 'destination': '<(PRODUCT_DIR)', | 1774 'destination': '<(PRODUCT_DIR)', |
1760 'files': [ | 1775 'files': [ |
1761 '<(INTERMEDIATE_DIR)/repack/chrome.pak' | 1776 '<(INTERMEDIATE_DIR)/repack/chrome.pak' |
1762 ], | 1777 ], |
1763 }, | 1778 }, |
1764 ], | 1779 ], |
1765 }], # targets | 1780 }], # targets |
1766 }], # OS != "mac" | 1781 }], # OS != "mac" |
1767 ], # 'conditions' | 1782 ], # 'conditions' |
1768 } | 1783 } |
OLD | NEW |