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

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

Issue 1213203007: Create a internal, global native context used only for generated code stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 5 years, 5 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 | « test/mjsunit/compiler/stubs/floor-stub.js ('k') | no next file » | 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 }], 172 }],
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)/code-stub-libraries.cc',
182 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 183 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
183 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', 184 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
184 '<(INTERMEDIATE_DIR)/snapshot.cc', 185 '<(INTERMEDIATE_DIR)/snapshot.cc',
185 ], 186 ],
186 'actions': [ 187 'actions': [
187 { 188 {
188 'action_name': 'run_mksnapshot', 189 'action_name': 'run_mksnapshot',
189 'inputs': [ 190 'inputs': [
190 '<(mksnapshot_exec)', 191 '<(mksnapshot_exec)',
191 '<(embed_script)', 192 '<(embed_script)',
(...skipping 25 matching lines...) Expand all
217 'target_name': 'v8_nosnapshot', 218 'target_name': 'v8_nosnapshot',
218 'type': 'static_library', 219 'type': 'static_library',
219 'dependencies': [ 220 'dependencies': [
220 'v8_base', 221 'v8_base',
221 ], 222 ],
222 'include_dirs+': [ 223 'include_dirs+': [
223 '../..', 224 '../..',
224 ], 225 ],
225 'sources': [ 226 'sources': [
226 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 227 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
228 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
227 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 229 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
228 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', 230 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
229 '../../src/snapshot/snapshot-empty.cc', 231 '../../src/snapshot/snapshot-empty.cc',
230 ], 232 ],
231 'conditions': [ 233 'conditions': [
232 ['want_separate_host_toolset==1', { 234 ['want_separate_host_toolset==1', {
233 'toolsets': ['host', 'target'], 235 'toolsets': ['host', 'target'],
234 'dependencies': ['js2c#host'], 236 'dependencies': ['js2c#host'],
235 }, { 237 }, {
236 'toolsets': ['target'], 238 'toolsets': ['target'],
(...skipping 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 'dependencies': ['js2c#host'], 1680 'dependencies': ['js2c#host'],
1679 }, { 1681 }, {
1680 'dependencies': ['js2c'], 1682 'dependencies': ['js2c'],
1681 }], 1683 }],
1682 ], 1684 ],
1683 'actions': [{ 1685 'actions': [{
1684 'action_name': 'concatenate_natives_blob', 1686 'action_name': 'concatenate_natives_blob',
1685 'inputs': [ 1687 'inputs': [
1686 '../../tools/concatenate-files.py', 1688 '../../tools/concatenate-files.py',
1687 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1689 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1690 '<(SHARED_INTERMEDIATE_DIR)/libraries-code-stub.bin',
1688 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin', 1691 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
1689 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', 1692 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin',
1690 ], 1693 ],
1691 'conditions': [ 1694 'conditions': [
1692 ['want_separate_host_toolset==1', { 1695 ['want_separate_host_toolset==1', {
1693 'target_conditions': [ 1696 'target_conditions': [
1694 ['_toolset=="host"', { 1697 ['_toolset=="host"', {
1695 'outputs': [ 1698 'outputs': [
1696 '<(PRODUCT_DIR)/natives_blob_host.bin', 1699 '<(PRODUCT_DIR)/natives_blob_host.bin',
1697 ], 1700 ],
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1788 '../../src/generator.js', 1791 '../../src/generator.js',
1789 '../../src/harmony-atomics.js', 1792 '../../src/harmony-atomics.js',
1790 '../../src/harmony-array-includes.js', 1793 '../../src/harmony-array-includes.js',
1791 '../../src/harmony-tostring.js', 1794 '../../src/harmony-tostring.js',
1792 '../../src/harmony-regexp.js', 1795 '../../src/harmony-regexp.js',
1793 '../../src/harmony-reflect.js', 1796 '../../src/harmony-reflect.js',
1794 '../../src/harmony-spread.js', 1797 '../../src/harmony-spread.js',
1795 '../../src/harmony-object.js', 1798 '../../src/harmony-object.js',
1796 '../../src/harmony-sharedarraybuffer.js', 1799 '../../src/harmony-sharedarraybuffer.js',
1797 ], 1800 ],
1801 'code_stub_library_files': [
1802 '../../src/macros.py',
1803 '../../src/messages.h',
1804 '../../src/code-stubs.js',
1805 ],
1798 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1806 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1807 'libraries_code_stub_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-co de-stub.bin',
1799 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin', 1808 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin',
1800 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra s.bin', 1809 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra s.bin',
1801 }, 1810 },
1802 'actions': [ 1811 'actions': [
1803 { 1812 {
1804 'action_name': 'js2c', 1813 'action_name': 'js2c',
1805 'inputs': [ 1814 'inputs': [
1806 '../../tools/js2c.py', 1815 '../../tools/js2c.py',
1807 '<@(library_files)', 1816 '<@(library_files)',
1808 '<@(i18n_library_files)' 1817 '<@(i18n_library_files)'
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 'conditions': [ 1855 'conditions': [
1847 [ 'v8_use_external_startup_data==1', { 1856 [ 'v8_use_external_startup_data==1', {
1848 'outputs': ['<@(libraries_experimental_bin_file)'], 1857 'outputs': ['<@(libraries_experimental_bin_file)'],
1849 'action': [ 1858 'action': [
1850 '--startup_blob', '<@(libraries_experimental_bin_file)' 1859 '--startup_blob', '<@(libraries_experimental_bin_file)'
1851 ], 1860 ],
1852 }], 1861 }],
1853 ], 1862 ],
1854 }, 1863 },
1855 { 1864 {
1865 'action_name': 'js2c_code_stubs',
1866 'inputs': [
1867 '../../tools/js2c.py',
1868 '<@(code_stub_library_files)',
1869 ],
1870 'outputs': [
1871 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
1872 ],
1873 'action': [
1874 'python',
1875 '../../tools/js2c.py',
1876 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
1877 'CODE_STUB',
1878 '<@(code_stub_library_files)'
1879 ],
1880 'conditions': [
1881 [ 'v8_use_external_startup_data==1', {
1882 'outputs': ['<@(libraries_code_stub_bin_file)'],
1883 'action': [
1884 '--startup_blob', '<@(libraries_code_stub_bin_file)'
1885 ],
1886 }],
1887 ],
1888 },
1889 {
1856 'action_name': 'js2c_extras', 1890 'action_name': 'js2c_extras',
1857 'inputs': [ 1891 'inputs': [
1858 '../../tools/js2c.py', 1892 '../../tools/js2c.py',
1859 '<@(v8_extra_library_files)', 1893 '<@(v8_extra_library_files)',
1860 ], 1894 ],
1861 'outputs': [ 1895 'outputs': [
1862 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', 1896 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
1863 ], 1897 ],
1864 'action': [ 1898 'action': [
1865 'python', 1899 'python',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1926 }], 1960 }],
1927 ['want_separate_host_toolset==1', { 1961 ['want_separate_host_toolset==1', {
1928 'toolsets': ['host'], 1962 'toolsets': ['host'],
1929 }, { 1963 }, {
1930 'toolsets': ['target'], 1964 'toolsets': ['target'],
1931 }], 1965 }],
1932 ], 1966 ],
1933 }, 1967 },
1934 ], 1968 ],
1935 } 1969 }
OLDNEW
« no previous file with comments | « test/mjsunit/compiler/stubs/floor-stub.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698