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

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

Issue 1113593002: Allow extra library files to be snapshotted (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 | « no previous file | 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 13 matching lines...) Expand all
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL E_SUFFIX)', 35 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABL E_SUFFIX)',
35 }, 36 },
36 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 37 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
37 'targets': [ 38 'targets': [
38 { 39 {
39 'target_name': 'v8', 40 'target_name': 'v8',
40 'dependencies_traverse': 1, 41 'dependencies_traverse': 1,
41 'dependencies': ['v8_maybe_snapshot'], 42 'dependencies': ['v8_maybe_snapshot'],
42 'conditions': [ 43 'conditions': [
43 ['want_separate_host_toolset==1', { 44 ['want_separate_host_toolset==1', {
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 '../../src/interface-descriptors.h', 743 '../../src/interface-descriptors.h',
743 '../../src/interpreter-irregexp.cc', 744 '../../src/interpreter-irregexp.cc',
744 '../../src/interpreter-irregexp.h', 745 '../../src/interpreter-irregexp.h',
745 '../../src/isolate.cc', 746 '../../src/isolate.cc',
746 '../../src/isolate.h', 747 '../../src/isolate.h',
747 '../../src/json-parser.h', 748 '../../src/json-parser.h',
748 '../../src/json-stringifier.h', 749 '../../src/json-stringifier.h',
749 '../../src/jsregexp-inl.h', 750 '../../src/jsregexp-inl.h',
750 '../../src/jsregexp.cc', 751 '../../src/jsregexp.cc',
751 '../../src/jsregexp.h', 752 '../../src/jsregexp.h',
752 » '../../src/layout-descriptor-inl.h', 753 '../../src/layout-descriptor-inl.h',
753 » '../../src/layout-descriptor.cc', 754 '../../src/layout-descriptor.cc',
754 » '../../src/layout-descriptor.h', 755 '../../src/layout-descriptor.h',
755 '../../src/list-inl.h', 756 '../../src/list-inl.h',
756 '../../src/list.h', 757 '../../src/list.h',
757 '../../src/lithium-allocator-inl.h', 758 '../../src/lithium-allocator-inl.h',
758 '../../src/lithium-allocator.cc', 759 '../../src/lithium-allocator.cc',
759 '../../src/lithium-allocator.h', 760 '../../src/lithium-allocator.h',
760 '../../src/lithium-codegen.cc', 761 '../../src/lithium-codegen.cc',
761 '../../src/lithium-codegen.h', 762 '../../src/lithium-codegen.h',
762 '../../src/lithium.cc', 763 '../../src/lithium.cc',
763 '../../src/lithium.h', 764 '../../src/lithium.h',
764 '../../src/lithium-inl.h', 765 '../../src/lithium-inl.h',
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1734 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1734 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin', 1735 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries -experimental.bin',
1735 }, 1736 },
1736 'actions': [ 1737 'actions': [
1737 { 1738 {
1738 'action_name': 'js2c', 1739 'action_name': 'js2c',
1739 'inputs': [ 1740 'inputs': [
1740 '../../tools/js2c.py', 1741 '../../tools/js2c.py',
1741 '<@(library_files)', 1742 '<@(library_files)',
1742 '<@(i18n_library_files)', 1743 '<@(i18n_library_files)',
1744 '<@(v8_extra_library_files)',
1743 ], 1745 ],
1744 'outputs': [ 1746 'outputs': [
1745 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 1747 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
1746 ], 1748 ],
1747 'action': [ 1749 'action': [
1748 'python', 1750 'python',
1749 '../../tools/js2c.py', 1751 '../../tools/js2c.py',
1750 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 1752 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
1751 'CORE', 1753 'CORE',
1752 '<@(library_files)', 1754 '<@(library_files)',
1753 '<@(i18n_library_files)', 1755 '<@(i18n_library_files)',
1756 '--extra',
1757 '<@(v8_extra_library_files)',
1754 ], 1758 ],
1755 'conditions': [ 1759 'conditions': [
1756 [ 'v8_use_external_startup_data==1', { 1760 [ 'v8_use_external_startup_data==1', {
1757 'outputs': ['<@(libraries_bin_file)'], 1761 'outputs': ['<@(libraries_bin_file)'],
1758 'action': [ 1762 'action': [
1759 '--startup_blob', '<@(libraries_bin_file)', 1763 '--startup_blob', '<@(libraries_bin_file)',
1760 ], 1764 ],
1761 }], 1765 }],
1762 ], 1766 ],
1763 }, 1767 },
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 }], 1839 }],
1836 ['want_separate_host_toolset==1', { 1840 ['want_separate_host_toolset==1', {
1837 'toolsets': ['host'], 1841 'toolsets': ['host'],
1838 }, { 1842 }, {
1839 'toolsets': ['target'], 1843 'toolsets': ['target'],
1840 }], 1844 }],
1841 ], 1845 ],
1842 }, 1846 },
1843 ], 1847 ],
1844 } 1848 }
OLDNEW
« no previous file with comments | « no previous file | tools/js2c.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698