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

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