diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-01-23 05:53:23 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2017-01-26 01:48:25 +0100 |
commit | bfd3c7e626306cc5793618da2b56d37df338eb05 (patch) | |
tree | bee34ef49283bdfdf7a48b89b74c4b683ce8dbae | |
parent | 997af07249a90bb1ef5389ba351a73204653ddf5 (diff) | |
download | android-node-v8-bfd3c7e626306cc5793618da2b56d37df338eb05.tar.gz android-node-v8-bfd3c7e626306cc5793618da2b56d37df338eb05.tar.bz2 android-node-v8-bfd3c7e626306cc5793618da2b56d37df338eb05.zip |
src: move trace_event.h include to internal header
Move the include from src/node.h to src/node_internals.h.
trace_event.h is not shipped in binary-only and headers-only tarballs,
making it currently impossible to build add-ons against them.
PR-URL: https://github.com/nodejs/node/pull/10959
Refs: https://github.com/nodejs/citgm/pull/226#issuecomment-274066280
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matthew Loring <mattloring@google.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
-rw-r--r-- | src/node.h | 1 | ||||
-rw-r--r-- | src/node_internals.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/node.h b/src/node.h index 24ebce87c8..1255a4af7f 100644 --- a/src/node.h +++ b/src/node.h @@ -41,7 +41,6 @@ #include "v8.h" // NOLINT(build/include_order) #include "node_version.h" // NODE_MODULE_VERSION -#include "tracing/trace_event.h" #define NODE_MAKE_VERSION(major, minor, patch) \ ((major) * 0x1000 + (minor) * 0x100 + (patch)) diff --git a/src/node_internals.h b/src/node_internals.h index 0a65be7642..c938709680 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -8,6 +8,7 @@ #include "util-inl.h" #include "uv.h" #include "v8.h" +#include "tracing/trace_event.h" #include <stdint.h> #include <stdlib.h> |