summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2015-07-24 17:59:14 -0700
committerAli Ijaz Sheikh <ofrobots@google.com>2015-07-29 09:36:25 -0700
commit24dd016deb23c951df3fb7940fd67a9f1b8197e6 (patch)
treebae78f59d84d9b6a5a7d020f7421867f2f40c9a3 /common.gypi
parentbc733f70652bd9255287b223dc6cabd64a7659c9 (diff)
downloadandroid-node-v8-24dd016deb23c951df3fb7940fd67a9f1b8197e6.tar.gz
android-node-v8-24dd016deb23c951df3fb7940fd67a9f1b8197e6.tar.bz2
android-node-v8-24dd016deb23c951df3fb7940fd67a9f1b8197e6.zip
build: produce symbol map files on windows
This produces map files as part of the build on windows. The existence of these files enable profiling and tick-processing using the --prof command line. See: https://github.com/nodejs/io.js/pull/2090#issuecomment-124746673 Map files are documented here: https://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx PR-URL: https://github.com/nodejs/io.js/pull/2243 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 4c1b90b29a..871b9b4091 100644
--- a/common.gypi
+++ b/common.gypi
@@ -163,6 +163,8 @@
}],
],
'GenerateDebugInformation': 'true',
+ 'GenerateMapFile': 'true', # /MAP
+ 'MapExports': 'true', # /MAPINFO:EXPORTS
'RandomizedBaseAddress': 2, # enable ASLR
'DataExecutionPrevention': 2, # enable DEP
'AllowIsolation': 'true',