Skip to content

Commit 7e4592e

Browse files
jkunkeeBridgeAR
authored andcommitted
win,build: add ARM64 sections to common.gypi
PR-URL: #25995 Reviewed-By: João Reis <[email protected]>
1 parent 8e60193 commit 7e4592e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: common.gypi

+11
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,14 @@
290290
}],
291291
],
292292
}],
293+
['target_arch=="arm64"', {
294+
'TargetMachine' : 0, # /MACHINE:ARM64 is inferred from the input files.
295+
'target_conditions': [
296+
['_type=="executable"', {
297+
'AdditionalOptions': [ '/SubSystem:Console' ],
298+
}],
299+
],
300+
}],
293301
],
294302
'GenerateDebugInformation': 'true',
295303
'GenerateMapFile': 'true', # /MAP
@@ -315,6 +323,9 @@
315323
# Ususaly safe. Disable for `dep`, enable for `src`
316324
'msvs_disabled_warnings': [4351, 4355, 4800, 4251, 4275, 4244, 4267],
317325
'conditions': [
326+
[ 'target_arch=="arm64"', {
327+
'msvs_configuration_platform': 'arm64',
328+
}],
318329
['asan == 1 and OS != "mac"', {
319330
'cflags+': [
320331
'-fno-omit-frame-pointer',

0 commit comments

Comments
 (0)