mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
build: remove precompiled header and debug information for host builds
PR-URL: https://github.com/nodejs/node/pull/42538 Refs: https://github.com/nodejs/node/issues/42375 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
1 parent
637820d1e3
commit
623dd2a70b
2 files changed
+12
-6
No files matched your search
+5
-1
@@ -286,7 +286,11 @@
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': ['/Zc:__cplusplus'],
|
||||
'BufferSecurityCheck': 'true',
|
||||
'DebugInformationFormat': 1, # /Z7 embed info in .obj files
|
||||
'target_conditions': [
|
||||
['_toolset=="target"', {
|
||||
'DebugInformationFormat': 1 # /Z7 embed info in .obj files
|
||||
}],
|
||||
],
|
||||
'ExceptionHandling': 0, # /EHsc
|
||||
'MultiProcessorCompilation': 'true',
|
||||
'StringPooling': 'true', # pool string literals
|
||||
|
||||
@@ -322,7 +322,7 @@
|
||||
'<(V8_ROOT)/src/builtins/builtins-intl-gen.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
@@ -670,7 +670,7 @@
|
||||
],
|
||||
'sources': ['<@(v8_compiler_sources)'],
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
@@ -695,7 +695,7 @@
|
||||
],
|
||||
'sources': ['<@(v8_compiler_sources)'],
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
@@ -880,13 +880,15 @@
|
||||
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")',
|
||||
],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
'<(_msvs_precompiled_header)',
|
||||
'<(_msvs_precompiled_source)',
|
||||
],
|
||||
]
|
||||
}],
|
||||
['OS=="win"', {
|
||||
# This will prevent V8's .cc files conflicting with the inspector's
|
||||
# .cpp files in the same shard.
|
||||
'msvs_settings': {
|
||||
|
||||
Reference in new issue
Block a user