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 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1595 }, | 1595 }, |
1596 ]}, # 'targets' | 1596 ]}, # 'targets' |
1597 ], # OS=="win" | 1597 ], # OS=="win" |
1598 ['OS != "mac"', { | 1598 ['OS != "mac"', { |
1599 'targets': [{ | 1599 'targets': [{ |
1600 'target_name': 'packed_resources', | 1600 'target_name': 'packed_resources', |
1601 'type': 'none', | 1601 'type': 'none', |
1602 'variables': { | 1602 'variables': { |
1603 'repack_path': '../tools/data_pack/repack.py', | 1603 'repack_path': '../tools/data_pack/repack.py', |
1604 }, | 1604 }, |
| 1605 'dependencies': [ |
| 1606 # MSVS needs the dependencies explictly named, Make is able to |
| 1607 # derive the dependencies from the output files. |
| 1608 'chrome_resources', |
| 1609 'chrome_strings', |
| 1610 'default_plugin/default_plugin.gyp:default_plugin_resources', |
| 1611 'platform_locale_settings', |
| 1612 'theme_resources', |
| 1613 '<(DEPTH)/net/net.gyp:net_resources', |
| 1614 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings', |
| 1615 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
| 1616 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 1617 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', |
| 1618 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', |
| 1619 ], |
1605 'actions': [ | 1620 'actions': [ |
1606 # TODO(mark): These actions are duplicated for the Mac in the | 1621 # TODO(mark): These actions are duplicated for the Mac in the |
1607 # chrome_dll target. Can they be unified? | 1622 # chrome_dll target. Can they be unified? |
1608 # | 1623 # |
1609 # Mac needs 'process_outputs_as_mac_bundle_resources' to be set, | 1624 # Mac needs 'process_outputs_as_mac_bundle_resources' to be set, |
1610 # and the option is only effective when the target type is native | 1625 # and the option is only effective when the target type is native |
1611 # binary. Hence we cannot build the Mac bundle resources here. | 1626 # binary. Hence we cannot build the Mac bundle resources here. |
1612 { | 1627 { |
1613 'action_name': 'repack_chrome', | 1628 'action_name': 'repack_chrome', |
1614 'variables': { | 1629 'variables': { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1722 'destination': '<(PRODUCT_DIR)', | 1737 'destination': '<(PRODUCT_DIR)', |
1723 'files': [ | 1738 'files': [ |
1724 '<(INTERMEDIATE_DIR)/repack/chrome.pak' | 1739 '<(INTERMEDIATE_DIR)/repack/chrome.pak' |
1725 ], | 1740 ], |
1726 }, | 1741 }, |
1727 ], | 1742 ], |
1728 }], # targets | 1743 }], # targets |
1729 }], # OS != "mac" | 1744 }], # OS != "mac" |
1730 ], # 'conditions' | 1745 ], # 'conditions' |
1731 } | 1746 } |
OLD | NEW |