summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorJon Kunkee <jkunkee@microsoft.com>2018-12-12 12:57:30 -0800
committerJoão Reis <reis@janeasystems.com>2019-03-04 12:25:16 +0000
commit3796a69e00df046a0415381fdb331a08c0a5b122 (patch)
treebd1ebf053370a798b1b6e8d31315f3b52f2f2a5f /common.gypi
parent0ff6ce3fa64641044b8070eb5175a4f90a69b817 (diff)
downloadandroid-node-v8-3796a69e00df046a0415381fdb331a08c0a5b122.tar.gz
android-node-v8-3796a69e00df046a0415381fdb331a08c0a5b122.tar.bz2
android-node-v8-3796a69e00df046a0415381fdb331a08c0a5b122.zip
win,build: add ARM64 sections to common.gypi
PR-URL: https://github.com/nodejs/node/pull/25995 Reviewed-By: João Reis <reis@janeasystems.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi11
1 files changed, 11 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 9c351583b6..8f997dca4d 100644
--- a/common.gypi
+++ b/common.gypi
@@ -271,6 +271,14 @@
}],
],
}],
+ ['target_arch=="arm64"', {
+ 'TargetMachine' : 0, # /MACHINE:ARM64 is inferred from the input files.
+ 'target_conditions': [
+ ['_type=="executable"', {
+ 'AdditionalOptions': [ '/SubSystem:Console' ],
+ }],
+ ],
+ }],
],
'GenerateDebugInformation': 'true',
'SuppressStartupBanner': 'true',
@@ -296,6 +304,9 @@
[ 'target_arch=="x64"', {
'msvs_configuration_platform': 'x64',
}],
+ [ 'target_arch=="arm64"', {
+ 'msvs_configuration_platform': 'arm64',
+ }],
['asan == 1 and OS != "mac"', {
'cflags+': [
'-fno-omit-frame-pointer',