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

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

Issue 148503002: A64: Synchronize with r15545. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « tools/grokdump.py ('k') | tools/oom_dump/oom_dump.cc » ('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
11 # with the distribution. 11 # with the distribution.
12 # * Neither the name of Google Inc. nor the names of its 12 # * Neither the name of Google Inc. nor the names of its
13 # contributors may be used to endorse or promote products derived 13 # contributors may be used to endorse or promote products derived
14 # from this software without specific prior written permission. 14 # from this software without specific prior written permission.
15 # 15 #
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
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': {
30 'v8_code': 1,
31 },
29 'includes': ['../../build/common.gypi'], 32 'includes': ['../../build/common.gypi'],
30 'targets': [ 33 'targets': [
31 { 34 {
32 'target_name': 'v8', 35 'target_name': 'v8',
33 'dependencies_traverse': 1, 36 'dependencies_traverse': 1,
34 'conditions': [ 37 'conditions': [
35 ['want_separate_host_toolset==1', { 38 ['want_separate_host_toolset==1', {
36 'toolsets': ['host', 'target'], 39 'toolsets': ['host', 'target'],
37 }, { 40 }, {
38 'toolsets': ['target'], 41 'toolsets': ['target'],
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 'V8_SHARED', 122 'V8_SHARED',
120 'BUILDING_V8_SHARED', 123 'BUILDING_V8_SHARED',
121 ], 124 ],
122 'direct_dependent_settings': { 125 'direct_dependent_settings': {
123 'defines': [ 126 'defines': [
124 'V8_SHARED', 127 'V8_SHARED',
125 'USING_V8_SHARED', 128 'USING_V8_SHARED',
126 ], 129 ],
127 }, 130 },
128 }], 131 }],
132 ['v8_enable_i18n_support==1', {
133 'sources': [
134 '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc',
135 ],
136 }],
129 ], 137 ],
130 'dependencies': [ 138 'dependencies': [
131 'v8_base.<(v8_target_arch)', 139 'v8_base.<(v8_target_arch)',
132 ], 140 ],
133 'include_dirs+': [ 141 'include_dirs+': [
134 '../../src', 142 '../../src',
135 ], 143 ],
136 'sources': [ 144 'sources': [
137 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 145 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
138 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 146 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 }, { 190 }, {
183 'toolsets': ['target'], 191 'toolsets': ['target'],
184 'dependencies': ['js2c'], 192 'dependencies': ['js2c'],
185 }], 193 }],
186 ['component=="shared_library"', { 194 ['component=="shared_library"', {
187 'defines': [ 195 'defines': [
188 'BUILDING_V8_SHARED', 196 'BUILDING_V8_SHARED',
189 'V8_SHARED', 197 'V8_SHARED',
190 ], 198 ],
191 }], 199 }],
200 ['v8_enable_i18n_support==1', {
201 'sources': [
202 '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc',
203 ],
204 }],
192 ] 205 ]
193 }, 206 },
194 { 207 {
195 'target_name': 'v8_base.<(v8_target_arch)', 208 'target_name': 'v8_base.<(v8_target_arch)',
196 'type': 'static_library', 209 'type': 'static_library',
197 'variables': { 210 'variables': {
198 'optimize': 'max', 211 'optimize': 'max',
199 }, 212 },
200 'include_dirs+': [ 213 'include_dirs+': [
201 '../../src', 214 '../../src',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 '../../src/handles.h', 328 '../../src/handles.h',
316 '../../src/hashmap.h', 329 '../../src/hashmap.h',
317 '../../src/heap-inl.h', 330 '../../src/heap-inl.h',
318 '../../src/heap-profiler.cc', 331 '../../src/heap-profiler.cc',
319 '../../src/heap-profiler.h', 332 '../../src/heap-profiler.h',
320 '../../src/heap-snapshot-generator-inl.h', 333 '../../src/heap-snapshot-generator-inl.h',
321 '../../src/heap-snapshot-generator.cc', 334 '../../src/heap-snapshot-generator.cc',
322 '../../src/heap-snapshot-generator.h', 335 '../../src/heap-snapshot-generator.h',
323 '../../src/heap.cc', 336 '../../src/heap.cc',
324 '../../src/heap.h', 337 '../../src/heap.h',
338 '../../src/hydrogen-bce.cc',
339 '../../src/hydrogen-bce.h',
340 '../../src/hydrogen-dce.cc',
341 '../../src/hydrogen-dce.h',
325 '../../src/hydrogen-environment-liveness.cc', 342 '../../src/hydrogen-environment-liveness.cc',
326 '../../src/hydrogen-environment-liveness.h', 343 '../../src/hydrogen-environment-liveness.h',
344 '../../src/hydrogen-escape-analysis.cc',
345 '../../src/hydrogen-escape-analysis.h',
327 '../../src/hydrogen-instructions.cc', 346 '../../src/hydrogen-instructions.cc',
328 '../../src/hydrogen-instructions.h', 347 '../../src/hydrogen-instructions.h',
329 '../../src/hydrogen.cc', 348 '../../src/hydrogen.cc',
330 '../../src/hydrogen.h', 349 '../../src/hydrogen.h',
331 '../../src/hydrogen-gvn.cc', 350 '../../src/hydrogen-gvn.cc',
332 '../../src/hydrogen-gvn.h', 351 '../../src/hydrogen-gvn.h',
352 '../../src/hydrogen-infer-representation.cc',
353 '../../src/hydrogen-infer-representation.h',
354 '../../src/hydrogen-infer-types.cc',
355 '../../src/hydrogen-infer-types.h',
356 '../../src/hydrogen-range-analysis.cc',
357 '../../src/hydrogen-range-analysis.h',
358 '../../src/hydrogen-redundant-phi.cc',
359 '../../src/hydrogen-redundant-phi.h',
360 '../../src/hydrogen-representation-changes.cc',
361 '../../src/hydrogen-representation-changes.h',
362 '../../src/hydrogen-sce.cc',
363 '../../src/hydrogen-sce.h',
364 '../../src/hydrogen-uint32-analysis.cc',
365 '../../src/hydrogen-uint32-analysis.h',
366 '../../src/hydrogen-osr.cc',
367 '../../src/hydrogen-osr.h',
333 '../../src/ic-inl.h', 368 '../../src/ic-inl.h',
334 '../../src/ic.cc', 369 '../../src/ic.cc',
335 '../../src/ic.h', 370 '../../src/ic.h',
336 '../../src/incremental-marking.cc', 371 '../../src/incremental-marking.cc',
337 '../../src/incremental-marking.h', 372 '../../src/incremental-marking.h',
338 '../../src/interface.cc', 373 '../../src/interface.cc',
339 '../../src/interface.h', 374 '../../src/interface.h',
340 '../../src/interpreter-irregexp.cc', 375 '../../src/interpreter-irregexp.cc',
341 '../../src/interpreter-irregexp.h', 376 '../../src/interpreter-irregexp.h',
342 '../../src/isolate.cc', 377 '../../src/isolate.cc',
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 'defines': [ 847 'defines': [
813 'BUILDING_V8_SHARED', 848 'BUILDING_V8_SHARED',
814 'V8_SHARED', 849 'V8_SHARED',
815 ], 850 ],
816 }], 851 }],
817 ['v8_postmortem_support=="true"', { 852 ['v8_postmortem_support=="true"', {
818 'sources': [ 853 'sources': [
819 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', 854 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
820 ] 855 ]
821 }], 856 }],
857 ['v8_enable_i18n_support==1', {
858 'sources': [
859 '../../src/extensions/i18n/break-iterator.cc',
860 '../../src/extensions/i18n/break-iterator.h',
861 '../../src/extensions/i18n/collator.cc',
862 '../../src/extensions/i18n/collator.h',
863 '../../src/extensions/i18n/date-format.cc',
864 '../../src/extensions/i18n/date-format.h',
865 '../../src/extensions/i18n/i18n-extension.cc',
866 '../../src/extensions/i18n/i18n-extension.h',
867 '../../src/extensions/i18n/i18n-utils.cc',
868 '../../src/extensions/i18n/i18n-utils.h',
869 '../../src/extensions/i18n/locale.cc',
870 '../../src/extensions/i18n/locale.h',
871 '../../src/extensions/i18n/number-format.cc',
872 '../../src/extensions/i18n/number-format.h',
873 ],
874 'dependencies': [
875 '<(DEPTH)/third_party/icu/icu.gyp:*',
876 ]
877 }],
822 ], 878 ],
823 }, 879 },
824 { 880 {
825 'target_name': 'js2c', 881 'target_name': 'js2c',
826 'type': 'none', 882 'type': 'none',
827 'conditions': [ 883 'conditions': [
828 ['want_separate_host_toolset==1', { 884 ['want_separate_host_toolset==1', {
829 'toolsets': ['host'], 885 'toolsets': ['host'],
830 }, { 886 }, {
831 'toolsets': ['target'], 887 'toolsets': ['target'],
832 }], 888 }],
889 ['v8_enable_i18n_support==1', {
890 'actions': [{
891 'action_name': 'js2c_i18n',
892 'inputs': [
893 '../../tools/js2c.py',
894 '<@(i18n_library_files)',
895 ],
896 'outputs': [
897 '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc',
898 ],
899 'action': [
900 'python',
901 '../../tools/js2c.py',
902 '<@(_outputs)',
903 'I18N',
904 '<(v8_compress_startup_data)',
905 '<@(i18n_library_files)'
906 ],
907 }],
908 }],
833 ], 909 ],
834 'variables': { 910 'variables': {
835 'library_files': [ 911 'library_files': [
836 '../../src/runtime.js', 912 '../../src/runtime.js',
837 '../../src/v8natives.js', 913 '../../src/v8natives.js',
838 '../../src/array.js', 914 '../../src/array.js',
839 '../../src/string.js', 915 '../../src/string.js',
840 '../../src/uri.js', 916 '../../src/uri.js',
841 '../../src/math.js', 917 '../../src/math.js',
842 '../../src/messages.js', 918 '../../src/messages.js',
843 '../../src/apinatives.js', 919 '../../src/apinatives.js',
844 '../../src/debug-debugger.js', 920 '../../src/debug-debugger.js',
845 '../../src/mirror-debugger.js', 921 '../../src/mirror-debugger.js',
846 '../../src/liveedit-debugger.js', 922 '../../src/liveedit-debugger.js',
847 '../../src/date.js', 923 '../../src/date.js',
848 '../../src/json.js', 924 '../../src/json.js',
849 '../../src/regexp.js', 925 '../../src/regexp.js',
850 '../../src/macros.py', 926 '../../src/macros.py',
851 ], 927 ],
852 'experimental_library_files': [ 928 'experimental_library_files': [
853 '../../src/macros.py', 929 '../../src/macros.py',
854 '../../src/symbol.js', 930 '../../src/symbol.js',
855 '../../src/proxy.js', 931 '../../src/proxy.js',
856 '../../src/collection.js', 932 '../../src/collection.js',
857 '../../src/object-observe.js', 933 '../../src/object-observe.js',
858 '../../src/arraybuffer.js', 934 '../../src/arraybuffer.js',
859 '../../src/typedarray.js', 935 '../../src/typedarray.js',
860 '../../src/generator.js' 936 '../../src/generator.js'
861 ], 937 ],
938 'i18n_library_files': [
939 '../../src/extensions/i18n/header.js',
940 '../../src/extensions/i18n/globals.js',
941 '../../src/extensions/i18n/locale.js',
942 '../../src/extensions/i18n/collator.js',
943 '../../src/extensions/i18n/number-format.js',
944 '../../src/extensions/i18n/date-format.js',
945 '../../src/extensions/i18n/break-iterator.js',
946 '../../src/extensions/i18n/i18n-utils.js',
947 '../../src/extensions/i18n/overrides.js',
948 '../../src/extensions/i18n/footer.js',
949 ],
862 }, 950 },
863 'actions': [ 951 'actions': [
864 { 952 {
865 'action_name': 'js2c', 953 'action_name': 'js2c',
866 'inputs': [ 954 'inputs': [
867 '../../tools/js2c.py', 955 '../../tools/js2c.py',
868 '<@(library_files)', 956 '<@(library_files)',
869 ], 957 ],
870 'outputs': [ 958 'outputs': [
871 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 959 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 }], 1062 }],
975 ['v8_compress_startup_data=="bz2"', { 1063 ['v8_compress_startup_data=="bz2"', {
976 'libraries': [ 1064 'libraries': [
977 '-lbz2', 1065 '-lbz2',
978 ] 1066 ]
979 }], 1067 }],
980 ], 1068 ],
981 }, 1069 },
982 ], 1070 ],
983 } 1071 }
OLDNEW
« no previous file with comments | « tools/grokdump.py ('k') | tools/oom_dump/oom_dump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698