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

Side by Side Diff: gypfiles/toolchain.gypi

Issue 2175193003: Remove NaCl support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 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 | « gni/v8.gni ('k') | gypfiles/vs_toolchain.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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 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 24 matching lines...) Expand all
35 'lsan%': 0, 35 'lsan%': 0,
36 'msan%': 0, 36 'msan%': 0,
37 'tsan%': 0, 37 'tsan%': 0,
38 'ubsan%': 0, 38 'ubsan%': 0,
39 'ubsan_vptr%': 0, 39 'ubsan_vptr%': 0,
40 'has_valgrind%': 0, 40 'has_valgrind%': 0,
41 'coverage%': 0, 41 'coverage%': 0,
42 'v8_target_arch%': '<(target_arch)', 42 'v8_target_arch%': '<(target_arch)',
43 'v8_host_byteorder%': '<!(python -c "import sys; print sys.byteorder")', 43 'v8_host_byteorder%': '<!(python -c "import sys; print sys.byteorder")',
44 'force_dynamic_crt%': 0, 44 'force_dynamic_crt%': 0,
45 # Native Client builds currently use the V8 ARM JIT and
46 # arm/simulator-arm.cc to defer the significant effort required
47 # for NaCl JIT support. The nacl_target_arch variable provides
48 # the 'true' target arch for places in this file that need it.
49 # TODO(bradchen): get rid of nacl_target_arch when someday
50 # NaCl V8 builds stop using the ARM simulator
51 'nacl_target_arch%': 'none', # must be set externally
52 45
53 # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP 46 # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP
54 # registers d16-d31 in the generated code, both in the snapshot and for the 47 # registers d16-d31 in the generated code, both in the snapshot and for the
55 # ARM target. Leaving the default value of 'false' will avoid the use of 48 # ARM target. Leaving the default value of 'false' will avoid the use of
56 # these registers in the snapshot and use CPU feature probing when running 49 # these registers in the snapshot and use CPU feature probing when running
57 # on the target. 50 # on the target.
58 'v8_can_use_vfp32dregs%': 'false', 51 'v8_can_use_vfp32dregs%': 'false',
59 'arm_test_noprobe%': 'off', 52 'arm_test_noprobe%': 'off',
60 53
61 # Similar to vfp but on MIPS. 54 # Similar to vfp but on MIPS.
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 }], 1015 }],
1023 ], 1016 ],
1024 }], 1017 }],
1025 ], 1018 ],
1026 'xcode_settings': { 1019 'xcode_settings': {
1027 'ARCHS': [ 'i386' ], 1020 'ARCHS': [ 'i386' ],
1028 }, 1021 },
1029 }], 1022 }],
1030 ['_toolset=="target"', { 1023 ['_toolset=="target"', {
1031 'conditions': [ 1024 'conditions': [
1032 ['target_cxx_is_biarch==1 and nacl_target_arch!="nacl_x64"', { 1025 ['target_cxx_is_biarch==1', {
1033 'conditions': [ 1026 'conditions': [
1034 ['host_arch=="s390" or host_arch=="s390x"', { 1027 ['host_arch=="s390" or host_arch=="s390x"', {
1035 'cflags': [ '-m31' ], 1028 'cflags': [ '-m31' ],
1036 'ldflags': [ '-m31' ] 1029 'ldflags': [ '-m31' ]
1037 },{ 1030 },{
1038 'cflags': [ '-m32' ], 1031 'cflags': [ '-m32' ],
1039 'ldflags': [ '-m32' ], 1032 'ldflags': [ '-m32' ],
1040 }], 1033 }],
1041 ], 1034 ],
1042 }], 1035 }],
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 'cflags!': [ 1178 'cflags!': [
1186 '-O0', 1179 '-O0',
1187 '-O1', 1180 '-O1',
1188 '-Os', 1181 '-Os',
1189 ], 1182 ],
1190 'cflags': [ 1183 'cflags': [
1191 '-fdata-sections', 1184 '-fdata-sections',
1192 '-ffunction-sections', 1185 '-ffunction-sections',
1193 ], 1186 ],
1194 'conditions': [ 1187 'conditions': [
1195 # TODO(crbug.com/272548): Avoid -O3 in NaCl
1196 # Don't use -O3 with sanitizers. 1188 # Don't use -O3 with sanitizers.
1197 ['nacl_target_arch=="none" and asan==0 and msan==0 and lsan==0 \ 1189 ['asan==0 and msan==0 and lsan==0 \
1198 and tsan==0 and ubsan==0 and ubsan_vptr==0', { 1190 and tsan==0 and ubsan==0 and ubsan_vptr==0', {
1199 'cflags': ['-O3'], 1191 'cflags': ['-O3'],
1200 'cflags!': ['-O2'], 1192 'cflags!': ['-O2'],
1201 }, { 1193 }, {
1202 'cflags': ['-O2'], 1194 'cflags': ['-O2'],
1203 'cflags!': ['-O3'], 1195 'cflags!': ['-O3'],
1204 }], 1196 }],
1205 ], 1197 ],
1206 }], 1198 }],
1207 ['OS=="mac"', { 1199 ['OS=="mac"', {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 or OS=="aix"', { 1296 or OS=="aix"', {
1305 'cflags!': [ 1297 'cflags!': [
1306 '-Os', 1298 '-Os',
1307 ], 1299 ],
1308 'cflags': [ 1300 'cflags': [
1309 '-fdata-sections', 1301 '-fdata-sections',
1310 '-ffunction-sections', 1302 '-ffunction-sections',
1311 '<(wno_array_bounds)', 1303 '<(wno_array_bounds)',
1312 ], 1304 ],
1313 'conditions': [ 1305 'conditions': [
1314 # TODO(crbug.com/272548): Avoid -O3 in NaCl
1315 # Don't use -O3 with sanitizers. 1306 # Don't use -O3 with sanitizers.
1316 ['nacl_target_arch=="none" and asan==0 and msan==0 and lsan==0 \ 1307 ['asan==0 and msan==0 and lsan==0 \
1317 and tsan==0 and ubsan==0 and ubsan_vptr==0', { 1308 and tsan==0 and ubsan==0 and ubsan_vptr==0', {
1318 'cflags': ['-O3'], 1309 'cflags': ['-O3'],
1319 'cflags!': ['-O2'], 1310 'cflags!': ['-O2'],
1320 }, { 1311 }, {
1321 'cflags': ['-O2'], 1312 'cflags': ['-O2'],
1322 'cflags!': ['-O3'], 1313 'cflags!': ['-O3'],
1323 }], 1314 }],
1324 ], 1315 ],
1325 }], 1316 }],
1326 ['OS=="android"', { 1317 ['OS=="android"', {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 ], 1383 ],
1393 }, 1384 },
1394 'Release_x64': { 1385 'Release_x64': {
1395 'inherit_from': ['ReleaseBase'], 1386 'inherit_from': ['ReleaseBase'],
1396 }, 1387 },
1397 }], 1388 }],
1398 ], 1389 ],
1399 }, # configurations 1390 }, # configurations
1400 }, # target_defaults 1391 }, # target_defaults
1401 } 1392 }
OLDNEW
« no previous file with comments | « gni/v8.gni ('k') | gypfiles/vs_toolchain.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698