diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-05-17 13:36:05 -0700 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-05-28 07:33:28 +0200 |
commit | d774ea5ccece3da399a05839adaa525d5ea6177e (patch) | |
tree | e7723524098ddbbd43cfbf806dae27ea2d3d9de2 /tools | |
parent | 02f794a53f98dc372c972e67aa592dd0ba758ea4 (diff) | |
download | android-node-v8-d774ea5ccece3da399a05839adaa525d5ea6177e.tar.gz android-node-v8-d774ea5ccece3da399a05839adaa525d5ea6177e.tar.bz2 android-node-v8-d774ea5ccece3da399a05839adaa525d5ea6177e.zip |
src: remove env-inl.h from header files
Inline headers should only be included into the .cc files that use them.
PR-URL: https://github.com/nodejs/node/pull/27755
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/js2c.py | 1 | ||||
-rw-r--r-- | tools/snapshot/node_mksnapshot.cc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/js2c.py b/tools/js2c.py index 9c5130a916..4131587655 100755 --- a/tools/js2c.py +++ b/tools/js2c.py @@ -177,6 +177,7 @@ def ReadMacros(macro_files): TEMPLATE = """ +#include "env-inl.h" #include "node_native_module.h" #include "node_internals.h" diff --git a/tools/snapshot/node_mksnapshot.cc b/tools/snapshot/node_mksnapshot.cc index c273ba20b6..5cf24f32b4 100644 --- a/tools/snapshot/node_mksnapshot.cc +++ b/tools/snapshot/node_mksnapshot.cc @@ -5,9 +5,11 @@ #include <string> #include <vector> +#include "env-inl.h" #include "libplatform/libplatform.h" #include "node_internals.h" #include "snapshot_builder.h" +#include "util-inl.h" #include "v8.h" #ifdef _WIN32 |