OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 ], | 1163 ], |
1164 }], | 1164 }], |
1165 ['v8_target_arch=="x64"', { | 1165 ['v8_target_arch=="x64"', { |
1166 'sources': [ | 1166 'sources': [ |
1167 '../../src/compiler/x64/code-generator-x64.cc', | 1167 '../../src/compiler/x64/code-generator-x64.cc', |
1168 '../../src/compiler/x64/instruction-codes-x64.h', | 1168 '../../src/compiler/x64/instruction-codes-x64.h', |
1169 '../../src/compiler/x64/instruction-selector-x64.cc', | 1169 '../../src/compiler/x64/instruction-selector-x64.cc', |
1170 '../../src/compiler/x64/linkage-x64.cc', | 1170 '../../src/compiler/x64/linkage-x64.cc', |
1171 ], | 1171 ], |
1172 }], | 1172 }], |
1173 ['OS=="linux"', { | |
1174 'link_settings': { | |
1175 'conditions': [ | |
1176 ['v8_compress_startup_data=="bz2"', { | |
1177 'libraries': [ | |
1178 '-lbz2', | |
1179 ] | |
1180 }], | |
1181 ], | |
1182 }, | |
1183 } | |
1184 ], | |
1185 ['OS=="win"', { | 1173 ['OS=="win"', { |
1186 'variables': { | 1174 'variables': { |
1187 'gyp_generators': '<!(echo $GYP_GENERATORS)', | 1175 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
1188 }, | 1176 }, |
1189 'msvs_disabled_warnings': [4351, 4355, 4800], | 1177 'msvs_disabled_warnings': [4351, 4355, 4800], |
1190 }], | 1178 }], |
1191 ['component=="shared_library"', { | 1179 ['component=="shared_library"', { |
1192 'defines': [ | 1180 'defines': [ |
1193 'BUILDING_V8_SHARED', | 1181 'BUILDING_V8_SHARED', |
1194 'V8_SHARED', | 1182 'V8_SHARED', |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 '<@(i18n_library_files)', | 1634 '<@(i18n_library_files)', |
1647 ], | 1635 ], |
1648 'outputs': [ | 1636 'outputs': [ |
1649 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 1637 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
1650 ], | 1638 ], |
1651 'action': [ | 1639 'action': [ |
1652 'python', | 1640 'python', |
1653 '../../tools/js2c.py', | 1641 '../../tools/js2c.py', |
1654 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 1642 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
1655 'CORE', | 1643 'CORE', |
1656 '<(v8_compress_startup_data)', | |
1657 '<@(library_files)', | 1644 '<@(library_files)', |
1658 '<@(i18n_library_files)', | 1645 '<@(i18n_library_files)', |
1659 ], | 1646 ], |
1660 'conditions': [ | 1647 'conditions': [ |
1661 [ 'v8_use_external_startup_data==1', { | 1648 [ 'v8_use_external_startup_data==1', { |
1662 'outputs': ['<@(libraries_bin_file)'], | 1649 'outputs': ['<@(libraries_bin_file)'], |
1663 'action': [ | 1650 'action': [ |
1664 '--startup_blob', '<@(libraries_bin_file)', | 1651 '--startup_blob', '<@(libraries_bin_file)', |
1665 ], | 1652 ], |
1666 }], | 1653 }], |
1667 ], | 1654 ], |
1668 }, | 1655 }, |
1669 { | 1656 { |
1670 'action_name': 'js2c_experimental', | 1657 'action_name': 'js2c_experimental', |
1671 'inputs': [ | 1658 'inputs': [ |
1672 '../../tools/js2c.py', | 1659 '../../tools/js2c.py', |
1673 '<@(experimental_library_files)', | 1660 '<@(experimental_library_files)', |
1674 ], | 1661 ], |
1675 'outputs': [ | 1662 'outputs': [ |
1676 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 1663 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
1677 ], | 1664 ], |
1678 'action': [ | 1665 'action': [ |
1679 'python', | 1666 'python', |
1680 '../../tools/js2c.py', | 1667 '../../tools/js2c.py', |
1681 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 1668 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
1682 'EXPERIMENTAL', | 1669 'EXPERIMENTAL', |
1683 '<(v8_compress_startup_data)', | |
1684 '<@(experimental_library_files)' | 1670 '<@(experimental_library_files)' |
1685 ], | 1671 ], |
1686 'conditions': [ | 1672 'conditions': [ |
1687 [ 'v8_use_external_startup_data==1', { | 1673 [ 'v8_use_external_startup_data==1', { |
1688 'outputs': ['<@(libraries_experimental_bin_file)'], | 1674 'outputs': ['<@(libraries_experimental_bin_file)'], |
1689 'action': [ | 1675 'action': [ |
1690 '--startup_blob', '<@(libraries_experimental_bin_file)' | 1676 '--startup_blob', '<@(libraries_experimental_bin_file)' |
1691 ], | 1677 ], |
1692 }], | 1678 }], |
1693 ], | 1679 ], |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 'dependencies': [ | 1723 'dependencies': [ |
1738 '<(icu_gyp_path):icui18n', | 1724 '<(icu_gyp_path):icui18n', |
1739 '<(icu_gyp_path):icuuc', | 1725 '<(icu_gyp_path):icuuc', |
1740 ] | 1726 ] |
1741 }], | 1727 }], |
1742 ['want_separate_host_toolset==1', { | 1728 ['want_separate_host_toolset==1', { |
1743 'toolsets': ['host'], | 1729 'toolsets': ['host'], |
1744 }, { | 1730 }, { |
1745 'toolsets': ['target'], | 1731 'toolsets': ['target'], |
1746 }], | 1732 }], |
1747 ['v8_compress_startup_data=="bz2"', { | |
1748 'libraries': [ | |
1749 '-lbz2', | |
1750 ] | |
1751 }], | |
1752 ], | 1733 ], |
1753 }, | 1734 }, |
1754 ], | 1735 ], |
1755 } | 1736 } |
OLD | NEW |