Skip to content

Commit 7e89684

Browse files
jkunkeeBethGriggs
authored andcommitted
win,build: add ARM64 sections to common.gypi
PR-URL: #25995 Reviewed-By: João Reis <reis@janeasystems.com>
1 parent 103635c commit 7e89684

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

common.gypi

+11
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,14 @@
307307
}],
308308
],
309309
}],
310+
['target_arch=="arm64"', {
311+
'TargetMachine' : 0, # /MACHINE:ARM64 is inferred from the input files.
312+
'target_conditions': [
313+
['_type=="executable"', {
314+
'AdditionalOptions': [ '/SubSystem:Console' ],
315+
}],
316+
],
317+
}],
310318
],
311319
'GenerateDebugInformation': 'true',
312320
'GenerateMapFile': 'true', # /MAP
@@ -332,6 +340,9 @@
332340
# Ususaly safe. Disable for `dep`, enable for `src`
333341
'msvs_disabled_warnings': [4351, 4355, 4800, 4251, 4275, 4244, 4267],
334342
'conditions': [
343+
[ 'target_arch=="arm64"', {
344+
'msvs_configuration_platform': 'arm64',
345+
}],
335346
['asan == 1 and OS != "mac"', {
336347
'cflags+': [
337348
'-fno-omit-frame-pointer',

0 commit comments

Comments
 (0)