Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: tools/gyp/v8.gyp

Issue 1131903002: Revert of Make V8 extras a separate type of native (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/snapshot/natives-external.cc ('k') | tools/js2c.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 ], 173 ],
174 'dependencies': [ 174 'dependencies': [
175 'v8_base', 175 'v8_base',
176 ], 176 ],
177 'include_dirs+': [ 177 'include_dirs+': [
178 '../..', 178 '../..',
179 ], 179 ],
180 'sources': [ 180 'sources': [
181 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 181 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
182 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 182 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
183 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
184 '<(INTERMEDIATE_DIR)/snapshot.cc', 183 '<(INTERMEDIATE_DIR)/snapshot.cc',
185 ], 184 ],
186 'actions': [ 185 'actions': [
187 { 186 {
188 'action_name': 'run_mksnapshot', 187 'action_name': 'run_mksnapshot',
189 'inputs': [ 188 'inputs': [
190 '<(mksnapshot_exec)', 189 '<(mksnapshot_exec)',
191 '<(embed_script)', 190 '<(embed_script)',
192 ], 191 ],
193 'outputs': [ 192 'outputs': [
(...skipping 24 matching lines...) Expand all
218 'type': 'static_library', 217 'type': 'static_library',
219 'dependencies': [ 218 'dependencies': [
220 'v8_base', 219 'v8_base',
221 ], 220 ],
222 'include_dirs+': [ 221 'include_dirs+': [
223 '../..', 222 '../..',
224 ], 223 ],
225 'sources': [ 224 'sources': [
226 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 225 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
227 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 226 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
228 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
229 '../../src/snapshot/snapshot-empty.cc', 227 '../../src/snapshot/snapshot-empty.cc',
230 ], 228 ],
231 'conditions': [ 229 'conditions': [
232 ['want_separate_host_toolset==1', { 230 ['want_separate_host_toolset==1', {
233 'toolsets': ['host', 'target'], 231 'toolsets': ['host', 'target'],
234 'dependencies': ['js2c#host'], 232 'dependencies': ['js2c#host'],
235 }, { 233 }, {
236 'toolsets': ['target'], 234 'toolsets': ['target'],
237 'dependencies': ['js2c'], 235 'dependencies': ['js2c'],
238 }], 236 }],
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 }, { 1632 }, {
1635 'dependencies': ['js2c'], 1633 'dependencies': ['js2c'],
1636 }], 1634 }],
1637 ], 1635 ],
1638 'actions': [{ 1636 'actions': [{
1639 'action_name': 'concatenate_natives_blob', 1637 'action_name': 'concatenate_natives_blob',
1640 'inputs': [ 1638 'inputs': [
1641 '../../tools/concatenate-files.py', 1639 '../../tools/concatenate-files.py',
1642 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1640 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1643 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin', 1641 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
1644 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin',
1645 ], 1642 ],
1646 'conditions': [ 1643 'conditions': [
1647 ['want_separate_host_toolset==1', { 1644 ['want_separate_host_toolset==1', {
1648 'target_conditions': [ 1645 'target_conditions': [
1649 ['_toolset=="host"', { 1646 ['_toolset=="host"', {
1650 'outputs': [ 1647 'outputs': [
1651 '<(PRODUCT_DIR)/natives_blob_host.bin', 1648 '<(PRODUCT_DIR)/natives_blob_host.bin',
1652 ], 1649 ],
1653 'action': [ 1650 'action': [
1654 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host .bin' 1651 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host .bin'
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1741 '../../src/harmony-array-includes.js', 1738 '../../src/harmony-array-includes.js',
1742 '../../src/harmony-tostring.js', 1739 '../../src/harmony-tostring.js',
1743 '../../src/harmony-typedarray.js', 1740 '../../src/harmony-typedarray.js',
1744 '../../src/harmony-regexp.js', 1741 '../../src/harmony-regexp.js',
1745 '../../src/harmony-reflect.js', 1742 '../../src/harmony-reflect.js',
1746 '../../src/harmony-spread.js', 1743 '../../src/harmony-spread.js',
1747 '../../src/harmony-object.js' 1744 '../../src/harmony-object.js'
1748 ], 1745 ],
1749 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1746 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1750 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin', 1747 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin',
1751 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra s.bin',
1752 }, 1748 },
1753 'actions': [ 1749 'actions': [
1754 { 1750 {
1755 'action_name': 'js2c', 1751 'action_name': 'js2c',
1756 'inputs': [ 1752 'inputs': [
1757 '../../tools/js2c.py', 1753 '../../tools/js2c.py',
1758 '<@(library_files)', 1754 '<@(library_files)',
1759 '<@(i18n_library_files)' 1755 '<@(i18n_library_files)',
1756 '<@(v8_extra_library_files)',
1760 ], 1757 ],
1761 'outputs': [ 1758 'outputs': [
1762 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 1759 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
1763 ], 1760 ],
1764 'action': [ 1761 'action': [
1765 'python', 1762 'python',
1766 '../../tools/js2c.py', 1763 '../../tools/js2c.py',
1767 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 1764 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
1768 'CORE', 1765 'CORE',
1769 '<@(library_files)', 1766 '<@(library_files)',
1770 '<@(i18n_library_files)' 1767 '<@(i18n_library_files)',
1768 '--extra',
1769 '<@(v8_extra_library_files)',
1771 ], 1770 ],
1772 'conditions': [ 1771 'conditions': [
1773 [ 'v8_use_external_startup_data==1', { 1772 [ 'v8_use_external_startup_data==1', {
1774 'outputs': ['<@(libraries_bin_file)'], 1773 'outputs': ['<@(libraries_bin_file)'],
1775 'action': [ 1774 'action': [
1776 '--startup_blob', '<@(libraries_bin_file)', 1775 '--startup_blob', '<@(libraries_bin_file)',
1777 ], 1776 ],
1778 }], 1777 }],
1779 ], 1778 ],
1780 }, 1779 },
(...skipping 14 matching lines...) Expand all
1795 '<@(experimental_library_files)' 1794 '<@(experimental_library_files)'
1796 ], 1795 ],
1797 'conditions': [ 1796 'conditions': [
1798 [ 'v8_use_external_startup_data==1', { 1797 [ 'v8_use_external_startup_data==1', {
1799 'outputs': ['<@(libraries_experimental_bin_file)'], 1798 'outputs': ['<@(libraries_experimental_bin_file)'],
1800 'action': [ 1799 'action': [
1801 '--startup_blob', '<@(libraries_experimental_bin_file)' 1800 '--startup_blob', '<@(libraries_experimental_bin_file)'
1802 ], 1801 ],
1803 }], 1802 }],
1804 ], 1803 ],
1805 },
1806 {
1807 'action_name': 'js2c_extras',
1808 'inputs': [
1809 '../../tools/js2c.py',
1810 '<@(v8_extra_library_files)',
1811 ],
1812 'outputs': [
1813 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
1814 ],
1815 'action': [
1816 'python',
1817 '../../tools/js2c.py',
1818 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
1819 'EXTRAS',
1820 '<@(v8_extra_library_files)',
1821 ],
1822 'conditions': [
1823 [ 'v8_use_external_startup_data==1', {
1824 'outputs': ['<@(libraries_extras_bin_file)'],
1825 'action': [
1826 '--startup_blob', '<@(libraries_extras_bin_file)',
1827 ],
1828 }],
1829 ],
1830 }, 1804 },
1831 ], 1805 ],
1832 }, 1806 },
1833 { 1807 {
1834 'target_name': 'postmortem-metadata', 1808 'target_name': 'postmortem-metadata',
1835 'type': 'none', 1809 'type': 'none',
1836 'variables': { 1810 'variables': {
1837 'heapobject_files': [ 1811 'heapobject_files': [
1838 '../../src/objects.h', 1812 '../../src/objects.h',
1839 '../../src/objects-inl.h', 1813 '../../src/objects-inl.h',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1877 }], 1851 }],
1878 ['want_separate_host_toolset==1', { 1852 ['want_separate_host_toolset==1', {
1879 'toolsets': ['host'], 1853 'toolsets': ['host'],
1880 }, { 1854 }, {
1881 'toolsets': ['target'], 1855 'toolsets': ['target'],
1882 }], 1856 }],
1883 ], 1857 ],
1884 }, 1858 },
1885 ], 1859 ],
1886 } 1860 }
OLDNEW
« no previous file with comments | « src/snapshot/natives-external.cc ('k') | tools/js2c.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698