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

Side by Side Diff: gypfiles/toolchain.gypi

Issue 2149963002: Add force_dynamic_crt to build as static library but with /MD on windows (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move default definition of force_dynamic_crt from standalone.gypi to toolchain.gypi Created 4 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
« no previous file with comments | « no previous file | 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 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 23 matching lines...) Expand all
34 'asan%': 0, 34 'asan%': 0,
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 # Native Client builds currently use the V8 ARM JIT and 45 # Native Client builds currently use the V8 ARM JIT and
45 # arm/simulator-arm.cc to defer the significant effort required 46 # arm/simulator-arm.cc to defer the significant effort required
46 # for NaCl JIT support. The nacl_target_arch variable provides 47 # for NaCl JIT support. The nacl_target_arch variable provides
47 # the 'true' target arch for places in this file that need it. 48 # the 'true' target arch for places in this file that need it.
48 # TODO(bradchen): get rid of nacl_target_arch when someday 49 # TODO(bradchen): get rid of nacl_target_arch when someday
49 # NaCl V8 builds stop using the ARM simulator 50 # NaCl V8 builds stop using the ARM simulator
50 'nacl_target_arch%': 'none', # must be set externally 51 'nacl_target_arch%': 'none', # must be set externally
51 52
52 # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP 53 # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP
53 # registers d16-d31 in the generated code, both in the snapshot and for the 54 # registers d16-d31 in the generated code, both in the snapshot and for the
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 }], 1104 }],
1104 ], # conditions 1105 ], # conditions
1105 'configurations': { 1106 'configurations': {
1106 # Abstract configuration for v8_optimized_debug == 0. 1107 # Abstract configuration for v8_optimized_debug == 0.
1107 'DebugBase0': { 1108 'DebugBase0': {
1108 'abstract': 1, 1109 'abstract': 1,
1109 'msvs_settings': { 1110 'msvs_settings': {
1110 'VCCLCompilerTool': { 1111 'VCCLCompilerTool': {
1111 'Optimization': '0', 1112 'Optimization': '0',
1112 'conditions': [ 1113 'conditions': [
1113 ['component=="shared_library"', { 1114 ['component=="shared_library" or force_dynamic_crt==1', {
1114 'RuntimeLibrary': '3', # /MDd 1115 'RuntimeLibrary': '3', # /MDd
1115 }, { 1116 }, {
1116 'RuntimeLibrary': '1', # /MTd 1117 'RuntimeLibrary': '1', # /MTd
1117 }], 1118 }],
1118 ], 1119 ],
1119 }, 1120 },
1120 'VCLinkerTool': { 1121 'VCLinkerTool': {
1121 'LinkIncremental': '2', 1122 'LinkIncremental': '2',
1122 }, 1123 },
1123 }, 1124 },
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 'abstract': 1, 1156 'abstract': 1,
1156 'msvs_settings': { 1157 'msvs_settings': {
1157 'VCCLCompilerTool': { 1158 'VCCLCompilerTool': {
1158 'Optimization': '2', 1159 'Optimization': '2',
1159 'InlineFunctionExpansion': '2', 1160 'InlineFunctionExpansion': '2',
1160 'EnableIntrinsicFunctions': 'true', 1161 'EnableIntrinsicFunctions': 'true',
1161 'FavorSizeOrSpeed': '0', 1162 'FavorSizeOrSpeed': '0',
1162 'StringPooling': 'true', 1163 'StringPooling': 'true',
1163 'BasicRuntimeChecks': '0', 1164 'BasicRuntimeChecks': '0',
1164 'conditions': [ 1165 'conditions': [
1165 ['component=="shared_library"', { 1166 ['component=="shared_library" or force_dynamic_crt==1', {
1166 'RuntimeLibrary': '3', #/MDd 1167 'RuntimeLibrary': '3', #/MDd
1167 }, { 1168 }, {
1168 'RuntimeLibrary': '1', #/MTd 1169 'RuntimeLibrary': '1', #/MTd
1169 }], 1170 }],
1170 ], 1171 ],
1171 }, 1172 },
1172 'VCLinkerTool': { 1173 'VCLinkerTool': {
1173 'LinkIncremental': '1', 1174 'LinkIncremental': '1',
1174 'OptimizeReferences': '2', 1175 'OptimizeReferences': '2',
1175 'EnableCOMDATFolding': '2', 1176 'EnableCOMDATFolding': '2',
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 }], # OS=="mac" 1347 }], # OS=="mac"
1347 ['OS=="win"', { 1348 ['OS=="win"', {
1348 'msvs_settings': { 1349 'msvs_settings': {
1349 'VCCLCompilerTool': { 1350 'VCCLCompilerTool': {
1350 'Optimization': '2', 1351 'Optimization': '2',
1351 'InlineFunctionExpansion': '2', 1352 'InlineFunctionExpansion': '2',
1352 'EnableIntrinsicFunctions': 'true', 1353 'EnableIntrinsicFunctions': 'true',
1353 'FavorSizeOrSpeed': '0', 1354 'FavorSizeOrSpeed': '0',
1354 'StringPooling': 'true', 1355 'StringPooling': 'true',
1355 'conditions': [ 1356 'conditions': [
1356 ['component=="shared_library"', { 1357 ['component=="shared_library" or force_dynamic_crt==1', {
1357 'RuntimeLibrary': '2', #/MD 1358 'RuntimeLibrary': '2', #/MD
1358 }, { 1359 }, {
1359 'RuntimeLibrary': '0', #/MT 1360 'RuntimeLibrary': '0', #/MT
1360 }], 1361 }],
1361 ], 1362 ],
1362 }, 1363 },
1363 'VCLinkerTool': { 1364 'VCLinkerTool': {
1364 'LinkIncremental': '1', 1365 'LinkIncremental': '1',
1365 'OptimizeReferences': '2', 1366 'OptimizeReferences': '2',
1366 'EnableCOMDATFolding': '2', 1367 'EnableCOMDATFolding': '2',
(...skipping 24 matching lines...) Expand all
1391 ], 1392 ],
1392 }, 1393 },
1393 'Release_x64': { 1394 'Release_x64': {
1394 'inherit_from': ['ReleaseBase'], 1395 'inherit_from': ['ReleaseBase'],
1395 }, 1396 },
1396 }], 1397 }],
1397 ], 1398 ],
1398 }, # configurations 1399 }, # configurations
1399 }, # target_defaults 1400 }, # target_defaults
1400 } 1401 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698