Skip to content

Commit

Permalink
hack: no pch
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Sep 30, 2020
1 parent a238789 commit e0b3e1c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
12 changes: 6 additions & 6 deletions node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
'NOMINMAX',
'_UNICODE=1',
],
'msvs_precompiled_header': 'tools/msvs/pch/node_pch.h',
'msvs_precompiled_source': 'tools/msvs/pch/node_pch.cc',
'sources': [
'<(_msvs_precompiled_header)',
'<(_msvs_precompiled_source)',
],
# 'msvs_precompiled_header': 'tools/msvs/pch/node_pch.h',
# 'msvs_precompiled_source': 'tools/msvs/pch/node_pch.cc',
# 'sources': [
# '<(_msvs_precompiled_header)',
# '<(_msvs_precompiled_source)',
# ],
}, { # POSIX
'defines': [ '__POSIX__' ],
}],
Expand Down
60 changes: 30 additions & 30 deletions tools/v8_gypfiles/v8.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -460,14 +460,14 @@
'<(V8_ROOT)/src/builtins/builtins-intl-gen.cc',
],
}],
['OS=="win"', {
'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"', {
# '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)',
# ],
# }],
],
}, # v8_initializers
{
Expand Down Expand Up @@ -653,14 +653,14 @@
['want_separate_host_toolset', {
'toolsets': ['host', 'target'],
}],
['OS=="win"', {
'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"', {
# '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)',
# ],
# }],
],
}, # v8_compiler_opt
{
Expand All @@ -676,14 +676,14 @@
['want_separate_host_toolset', {
'toolsets': ['host', 'target'],
}],
['OS=="win"', {
'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"', {
# '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)',
# ],
# }],
],
}, # v8_compiler
{
Expand Down Expand Up @@ -838,12 +838,12 @@
],
}],
['OS=="win"', {
'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)',
],
# '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)',
# ],
# This will prevent V8's .cc files conflicting with the inspector's
# .cpp files in the same shard.
'msvs_settings': {
Expand Down

0 comments on commit e0b3e1c

Please sign in to comment.