|
70 | 70 | # https://github.com/nodejs/node/pull/22920/files#r222779926
|
71 | 71 | 'v8_enable_fast_mksnapshot': 0,
|
72 | 72 |
|
| 73 | + 'v8_win64_unwinding_info': 0, |
| 74 | + |
| 75 | + # TODO(refack): make v8-perfetto happen |
| 76 | + 'v8_use_perfetto': 0, |
| 77 | + |
73 | 78 | ##### end V8 defaults #####
|
74 | 79 |
|
75 | 80 | 'conditions': [
|
|
81 | 86 | }],
|
82 | 87 | ['GENERATOR=="ninja"', {
|
83 | 88 | 'obj_dir': '<(PRODUCT_DIR)/obj',
|
84 |
| - 'v8_base': '<(PRODUCT_DIR)/obj/tools/v8_gypfiles/libv8_base.a', |
| 89 | + 'v8_base': '<(PRODUCT_DIR)/obj/tools/v8_gypfiles/libv8_snapshot.a', |
85 | 90 | }, {
|
86 | 91 | 'obj_dir%': '<(PRODUCT_DIR)/obj.target',
|
87 |
| - 'v8_base': '<(PRODUCT_DIR)/obj.target/tools/v8_gypfiles/libv8_base.a', |
| 92 | + 'v8_base': '<(PRODUCT_DIR)/obj.target/tools/v8_gypfiles/libv8_snapshot.a', |
88 | 93 | }],
|
89 | 94 | ['OS == "win"', {
|
90 | 95 | 'os_posix': 0,
|
91 | 96 | 'v8_postmortem_support%': 0,
|
92 | 97 | 'obj_dir': '<(PRODUCT_DIR)/obj',
|
93 |
| - 'v8_base': '<(PRODUCT_DIR)/lib/v8_libbase.lib', |
| 98 | + 'v8_base': '<(PRODUCT_DIR)/lib/libv8_snapshot.a', |
94 | 99 | }, {
|
95 | 100 | 'os_posix': 1,
|
96 | 101 | 'v8_postmortem_support%': 1,
|
97 | 102 | }],
|
98 | 103 | ['OS == "mac"', {
|
99 | 104 | 'obj_dir%': '<(PRODUCT_DIR)/obj.target',
|
100 |
| - 'v8_base': '<(PRODUCT_DIR)/libv8_base.a', |
| 105 | + 'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a', |
101 | 106 | }],
|
102 | 107 | ['openssl_fips != ""', {
|
103 | 108 | 'openssl_product': '<(STATIC_LIB_PREFIX)crypto<(STATIC_LIB_SUFFIX)',
|
|
225 | 230 | 'msvs_settings': {
|
226 | 231 | 'VCCLCompilerTool': {
|
227 | 232 | 'BufferSecurityCheck': 'true',
|
228 |
| - 'DebugInformationFormat': 1, # /Z7 embed info in .obj files |
229 |
| - 'ExceptionHandling': 0, # /EHsc |
| 233 | + 'DebugInformationFormat': 1, # /Z7 embed info in .obj files |
| 234 | + 'ExceptionHandling': 0, # /EHsc |
230 | 235 | 'MultiProcessorCompilation': 'true',
|
231 |
| - 'StringPooling': 'true', # pool string literals |
| 236 | + 'StringPooling': 'true', # pool string literals |
232 | 237 | 'SuppressStartupBanner': 'true',
|
233 | 238 | 'WarnAsError': 'false',
|
234 |
| - 'WarningLevel': 3, # /W3 |
| 239 | + 'WarningLevel': 3, # /W3 |
235 | 240 | },
|
236 | 241 | 'VCLinkerTool': {
|
| 242 | + 'target_conditions': [ |
| 243 | + ['_type=="executable"', { |
| 244 | + 'SubSystem': 1, # /SUBSYSTEM:CONSOLE |
| 245 | + }], |
| 246 | + ], |
237 | 247 | 'conditions': [
|
238 | 248 | ['target_arch=="ia32"', {
|
239 |
| - 'TargetMachine' : 1, # /MACHINE:X86 |
240 |
| - 'target_conditions': [ |
241 |
| - ['_type=="executable"', { |
242 |
| - 'AdditionalOptions': [ '/SubSystem:Console,"5.01"' ], |
243 |
| - }], |
244 |
| - ], |
| 249 | + 'TargetMachine' : 1, # /MACHINE:X86 |
245 | 250 | }],
|
246 | 251 | ['target_arch=="x64"', {
|
247 |
| - 'TargetMachine' : 17, # /MACHINE:AMD64 |
248 |
| - 'target_conditions': [ |
249 |
| - ['_type=="executable"', { |
250 |
| - 'AdditionalOptions': [ '/SubSystem:Console,"5.02"' ], |
251 |
| - }], |
252 |
| - ], |
| 252 | + 'TargetMachine' : 17, # /MACHINE:X64 |
253 | 253 | }],
|
254 | 254 | ['target_arch=="arm64"', {
|
255 |
| - 'TargetMachine' : 0, # /MACHINE:ARM64 is inferred from the input files. |
256 |
| - 'target_conditions': [ |
257 |
| - ['_type=="executable"', { |
258 |
| - 'AdditionalOptions': [ '/SubSystem:Console' ], |
259 |
| - }], |
260 |
| - ], |
| 255 | + 'TargetMachine' : 0, # NotSet. MACHINE:ARM64 is inferred from the input files. |
261 | 256 | }],
|
262 | 257 | ],
|
263 | 258 | 'GenerateDebugInformation': 'true',
|
|
0 commit comments