summaryrefslogtreecommitdiff
path: root/tools/msvs
diff options
context:
space:
mode:
authorJoão Reis <reis@janeasystems.com>2018-07-11 22:25:18 +0100
committerRich Trott <rtrott@gmail.com>2018-07-27 00:43:43 -0700
commit48e5b350b3dd236353e3e8e1196a09f5c5bcda77 (patch)
tree20927e0bcdb88fa5abd3f14c06ae532aa740c93e /tools/msvs
parent186c2fb6d88c473c6b811f36c87656785131b2d7 (diff)
downloadandroid-node-v8-48e5b350b3dd236353e3e8e1196a09f5c5bcda77.tar.gz
android-node-v8-48e5b350b3dd236353e3e8e1196a09f5c5bcda77.tar.bz2
android-node-v8-48e5b350b3dd236353e3e8e1196a09f5c5bcda77.zip
build,win,v8: allow precompiling objects-inl.h
This makes compiling v8_base much faster on Windows. Sharding is disabled because the header would have to be precompiled for each shard but is only once. The library is much smaller, so sharding is unnecessary. This is enabled by default, but disabled for CI and releases. PR-URL: https://github.com/nodejs/node/pull/21772 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Diffstat (limited to 'tools/msvs')
-rw-r--r--tools/msvs/pch/pch_v8_base.cc1
-rw-r--r--tools/msvs/pch/pch_v8_base.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/msvs/pch/pch_v8_base.cc b/tools/msvs/pch/pch_v8_base.cc
new file mode 100644
index 0000000000..828977c036
--- /dev/null
+++ b/tools/msvs/pch/pch_v8_base.cc
@@ -0,0 +1 @@
+#include "tools/msvs/pch/pch_v8_base.h"
diff --git a/tools/msvs/pch/pch_v8_base.h b/tools/msvs/pch/pch_v8_base.h
new file mode 100644
index 0000000000..ebac791482
--- /dev/null
+++ b/tools/msvs/pch/pch_v8_base.h
@@ -0,0 +1 @@
+#include "src/objects-inl.h"