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

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: Merge with latest 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
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 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1674 'dependencies': ['js2c#host'], 1676 'dependencies': ['js2c#host'],
1675 }, { 1677 }, {
1676 'dependencies': ['js2c'], 1678 'dependencies': ['js2c'],
1677 }], 1679 }],
1678 ], 1680 ],
1679 'actions': [{ 1681 'actions': [{
1680 'action_name': 'concatenate_natives_blob', 1682 'action_name': 'concatenate_natives_blob',
1681 'inputs': [ 1683 'inputs': [
1682 '../../tools/concatenate-files.py', 1684 '../../tools/concatenate-files.py',
1683 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1685 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1686 '<(SHARED_INTERMEDIATE_DIR)/libraries-code-stub.bin',
1684 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin', 1687 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
1685 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', 1688 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin',
1686 ], 1689 ],
1687 'conditions': [ 1690 'conditions': [
1688 ['want_separate_host_toolset==1', { 1691 ['want_separate_host_toolset==1', {
1689 'target_conditions': [ 1692 'target_conditions': [
1690 ['_toolset=="host"', { 1693 ['_toolset=="host"', {
1691 'outputs': [ 1694 'outputs': [
1692 '<(PRODUCT_DIR)/natives_blob_host.bin', 1695 '<(PRODUCT_DIR)/natives_blob_host.bin',
1693 ], 1696 ],
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 '../../src/generator.js', 1787 '../../src/generator.js',
1785 '../../src/harmony-atomics.js', 1788 '../../src/harmony-atomics.js',
1786 '../../src/harmony-array-includes.js', 1789 '../../src/harmony-array-includes.js',
1787 '../../src/harmony-tostring.js', 1790 '../../src/harmony-tostring.js',
1788 '../../src/harmony-regexp.js', 1791 '../../src/harmony-regexp.js',
1789 '../../src/harmony-reflect.js', 1792 '../../src/harmony-reflect.js',
1790 '../../src/harmony-spread.js', 1793 '../../src/harmony-spread.js',
1791 '../../src/harmony-object.js', 1794 '../../src/harmony-object.js',
1792 '../../src/harmony-sharedarraybuffer.js', 1795 '../../src/harmony-sharedarraybuffer.js',
1793 ], 1796 ],
1797 'code_stub_library_files': [
1798 '../../src/macros.py',
1799 '../../src/messages.h',
1800 '../../src/code-stubs.js',
1801 ],
1794 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1802 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1803 'libraries_code_stub_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-co de-stub.bin',
1795 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin', 1804 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin',
1796 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra s.bin', 1805 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra s.bin',
1797 }, 1806 },
1798 'actions': [ 1807 'actions': [
1799 { 1808 {
1800 'action_name': 'js2c', 1809 'action_name': 'js2c',
1801 'inputs': [ 1810 'inputs': [
1802 '../../tools/js2c.py', 1811 '../../tools/js2c.py',
1803 '<@(library_files)', 1812 '<@(library_files)',
1804 '<@(i18n_library_files)' 1813 '<@(i18n_library_files)'
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1842 'conditions': [ 1851 'conditions': [
1843 [ 'v8_use_external_startup_data==1', { 1852 [ 'v8_use_external_startup_data==1', {
1844 'outputs': ['<@(libraries_experimental_bin_file)'], 1853 'outputs': ['<@(libraries_experimental_bin_file)'],
1845 'action': [ 1854 'action': [
1846 '--startup_blob', '<@(libraries_experimental_bin_file)' 1855 '--startup_blob', '<@(libraries_experimental_bin_file)'
1847 ], 1856 ],
1848 }], 1857 }],
1849 ], 1858 ],
1850 }, 1859 },
1851 { 1860 {
1861 'action_name': 'js2c_code_stubs',
1862 'inputs': [
1863 '../../tools/js2c.py',
1864 '<@(code_stub_library_files)',
1865 ],
1866 'outputs': [
1867 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
1868 ],
1869 'action': [
1870 'python',
1871 '../../tools/js2c.py',
1872 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
1873 'CODE_STUB',
1874 '<@(code_stub_library_files)'
1875 ],
1876 'conditions': [
1877 [ 'v8_use_external_startup_data==1', {
1878 'outputs': ['<@(libraries_code_stub_bin_file)'],
1879 'action': [
1880 '--startup_blob', '<@(libraries_code_stub_bin_file)'
1881 ],
1882 }],
1883 ],
1884 },
1885 {
1852 'action_name': 'js2c_extras', 1886 'action_name': 'js2c_extras',
1853 'inputs': [ 1887 'inputs': [
1854 '../../tools/js2c.py', 1888 '../../tools/js2c.py',
1855 '<@(v8_extra_library_files)', 1889 '<@(v8_extra_library_files)',
1856 ], 1890 ],
1857 'outputs': [ 1891 'outputs': [
1858 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', 1892 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
1859 ], 1893 ],
1860 'action': [ 1894 'action': [
1861 'python', 1895 'python',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1922 }], 1956 }],
1923 ['want_separate_host_toolset==1', { 1957 ['want_separate_host_toolset==1', {
1924 'toolsets': ['host'], 1958 'toolsets': ['host'],
1925 }, { 1959 }, {
1926 'toolsets': ['target'], 1960 'toolsets': ['target'],
1927 }], 1961 }],
1928 ], 1962 ],
1929 }, 1963 },
1930 ], 1964 ],
1931 } 1965 }
OLDNEW
« src/snapshot/serialize.cc ('K') | « 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