Skip to content

Commit 3796a69

Browse files
jkunkeejoaocgreis
authored andcommitted
win,build: add ARM64 sections to common.gypi
PR-URL: #25995 Reviewed-By: João Reis <reis@janeasystems.com>
1 parent 0ff6ce3 commit 3796a69

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

common.gypi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,14 @@
271271
}],
272272
],
273273
}],
274+
['target_arch=="arm64"', {
275+
'TargetMachine' : 0, # /MACHINE:ARM64 is inferred from the input files.
276+
'target_conditions': [
277+
['_type=="executable"', {
278+
'AdditionalOptions': [ '/SubSystem:Console' ],
279+
}],
280+
],
281+
}],
274282
],
275283
'GenerateDebugInformation': 'true',
276284
'SuppressStartupBanner': 'true',
@@ -296,6 +304,9 @@
296304
[ 'target_arch=="x64"', {
297305
'msvs_configuration_platform': 'x64',
298306
}],
307+
[ 'target_arch=="arm64"', {
308+
'msvs_configuration_platform': 'arm64',
309+
}],
299310
['asan == 1 and OS != "mac"', {
300311
'cflags+': [
301312
'-fno-omit-frame-pointer',

0 commit comments

Comments
 (0)