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

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

Issue 1284413002: Add experimental, non-snapshotted V8 extras (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@non-experimental-extras
Patch Set: Missing gn entries Created 5 years, 4 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/cctest/test-experimental-extra.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 14 matching lines...) Expand all
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 { 28 {
29 'variables': { 29 'variables': {
30 'icu_use_data_file_flag%': 0, 30 'icu_use_data_file_flag%': 0,
31 'v8_code': 1, 31 'v8_code': 1,
32 'v8_random_seed%': 314159265, 32 'v8_random_seed%': 314159265,
33 'embed_script%': "", 33 'embed_script%': "",
34 'v8_extra_library_files%': [], 34 'v8_extra_library_files%': [],
35 'v8_experimental_extra_library_files%': [],
35 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL E_SUFFIX)', 36 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL E_SUFFIX)',
36 }, 37 },
37 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 38 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
38 'targets': [ 39 'targets': [
39 { 40 {
40 'target_name': 'v8', 41 'target_name': 'v8',
41 'dependencies_traverse': 1, 42 'dependencies_traverse': 1,
42 'dependencies': ['v8_maybe_snapshot'], 43 'dependencies': ['v8_maybe_snapshot'],
43 'conditions': [ 44 'conditions': [
44 ['want_separate_host_toolset==1', { 45 ['want_separate_host_toolset==1', {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 'v8_base', 176 'v8_base',
176 ], 177 ],
177 'include_dirs+': [ 178 'include_dirs+': [
178 '../..', 179 '../..',
179 ], 180 ],
180 'sources': [ 181 'sources': [
181 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 182 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
182 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc', 183 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
183 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 184 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
184 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', 185 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
186 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
185 '<(INTERMEDIATE_DIR)/snapshot.cc', 187 '<(INTERMEDIATE_DIR)/snapshot.cc',
186 ], 188 ],
187 'actions': [ 189 'actions': [
188 { 190 {
189 'action_name': 'run_mksnapshot', 191 'action_name': 'run_mksnapshot',
190 'inputs': [ 192 'inputs': [
191 '<(mksnapshot_exec)', 193 '<(mksnapshot_exec)',
192 '<(embed_script)', 194 '<(embed_script)',
193 ], 195 ],
194 'outputs': [ 196 'outputs': [
(...skipping 26 matching lines...) Expand all
221 'v8_base', 223 'v8_base',
222 ], 224 ],
223 'include_dirs+': [ 225 'include_dirs+': [
224 '../..', 226 '../..',
225 ], 227 ],
226 'sources': [ 228 'sources': [
227 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 229 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
228 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc', 230 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
229 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 231 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
230 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', 232 '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc',
233 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
231 '../../src/snapshot/snapshot-empty.cc', 234 '../../src/snapshot/snapshot-empty.cc',
232 ], 235 ],
233 'conditions': [ 236 'conditions': [
234 ['want_separate_host_toolset==1', { 237 ['want_separate_host_toolset==1', {
235 'toolsets': ['host', 'target'], 238 'toolsets': ['host', 'target'],
236 'dependencies': ['js2c#host'], 239 'dependencies': ['js2c#host'],
237 }, { 240 }, {
238 'toolsets': ['target'], 241 'toolsets': ['target'],
239 'dependencies': ['js2c'], 242 'dependencies': ['js2c'],
240 }], 243 }],
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 }], 1710 }],
1708 ], 1711 ],
1709 'actions': [{ 1712 'actions': [{
1710 'action_name': 'concatenate_natives_blob', 1713 'action_name': 'concatenate_natives_blob',
1711 'inputs': [ 1714 'inputs': [
1712 '../../tools/concatenate-files.py', 1715 '../../tools/concatenate-files.py',
1713 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1716 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1714 '<(SHARED_INTERMEDIATE_DIR)/libraries-code-stub.bin', 1717 '<(SHARED_INTERMEDIATE_DIR)/libraries-code-stub.bin',
1715 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin', 1718 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
1716 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', 1719 '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin',
1720 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin',
1717 ], 1721 ],
1718 'conditions': [ 1722 'conditions': [
1719 ['want_separate_host_toolset==1', { 1723 ['want_separate_host_toolset==1', {
1720 'target_conditions': [ 1724 'target_conditions': [
1721 ['_toolset=="host"', { 1725 ['_toolset=="host"', {
1722 'outputs': [ 1726 'outputs': [
1723 '<(PRODUCT_DIR)/natives_blob_host.bin', 1727 '<(PRODUCT_DIR)/natives_blob_host.bin',
1724 ], 1728 ],
1725 'action': [ 1729 'action': [
1726 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host .bin' 1730 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host .bin'
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 ], 1831 ],
1828 'code_stub_library_files': [ 1832 'code_stub_library_files': [
1829 '../../src/macros.py', 1833 '../../src/macros.py',
1830 '../../src/messages.h', 1834 '../../src/messages.h',
1831 '../../src/code-stubs.js', 1835 '../../src/code-stubs.js',
1832 ], 1836 ],
1833 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1837 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1834 'libraries_code_stub_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-co de-stub.bin', 1838 'libraries_code_stub_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-co de-stub.bin',
1835 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin', 1839 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin',
1836 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra s.bin', 1840 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extra s.bin',
1841 'libraries_experimental_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/li braries-experimental-extras.bin',
1837 }, 1842 },
1838 'actions': [ 1843 'actions': [
1839 { 1844 {
1840 'action_name': 'js2c', 1845 'action_name': 'js2c',
1841 'inputs': [ 1846 'inputs': [
1842 '../../tools/js2c.py', 1847 '../../tools/js2c.py',
1843 '<@(library_files)', 1848 '<@(library_files)',
1844 '<@(i18n_library_files)' 1849 '<@(i18n_library_files)'
1845 ], 1850 ],
1846 'outputs': [ 1851 'outputs': [
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1931 ], 1936 ],
1932 'conditions': [ 1937 'conditions': [
1933 [ 'v8_use_external_startup_data==1', { 1938 [ 'v8_use_external_startup_data==1', {
1934 'outputs': ['<@(libraries_extras_bin_file)'], 1939 'outputs': ['<@(libraries_extras_bin_file)'],
1935 'action': [ 1940 'action': [
1936 '--startup_blob', '<@(libraries_extras_bin_file)', 1941 '--startup_blob', '<@(libraries_extras_bin_file)',
1937 ], 1942 ],
1938 }], 1943 }],
1939 ], 1944 ],
1940 }, 1945 },
1946 {
1947 'action_name': 'js2c_experimental_extras',
1948 'inputs': [
1949 '../../tools/js2c.py',
1950 '<@(v8_experimental_extra_library_files)',
1951 ],
1952 'outputs': [
1953 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
1954 ],
1955 'action': [
1956 'python',
1957 '../../tools/js2c.py',
1958 '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc',
1959 'EXPERIMENTAL_EXTRAS',
1960 '<@(v8_experimental_extra_library_files)',
1961 ],
1962 'conditions': [
1963 [ 'v8_use_external_startup_data==1', {
1964 'outputs': ['<@(libraries_experimental_extras_bin_file)'],
1965 'action': [
1966 '--startup_blob', '<@(libraries_experimental_extras_bin_file)',
1967 ],
1968 }],
1969 ],
1970 },
1941 ], 1971 ],
1942 }, 1972 },
1943 { 1973 {
1944 'target_name': 'postmortem-metadata', 1974 'target_name': 'postmortem-metadata',
1945 'type': 'none', 1975 'type': 'none',
1946 'variables': { 1976 'variables': {
1947 'heapobject_files': [ 1977 'heapobject_files': [
1948 '../../src/objects.h', 1978 '../../src/objects.h',
1949 '../../src/objects-inl.h', 1979 '../../src/objects-inl.h',
1950 ], 1980 ],
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1987 }], 2017 }],
1988 ['want_separate_host_toolset==1', { 2018 ['want_separate_host_toolset==1', {
1989 'toolsets': ['host'], 2019 'toolsets': ['host'],
1990 }, { 2020 }, {
1991 'toolsets': ['target'], 2021 'toolsets': ['target'],
1992 }], 2022 }],
1993 ], 2023 ],
1994 }, 2024 },
1995 ], 2025 ],
1996 } 2026 }
OLDNEW
« no previous file with comments | « test/cctest/test-experimental-extra.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698