File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121#define NODE_BUILTIN_REPORT_MODULES (V )
2222#endif
2323
24+ #if HAVE_INSPECTOR
25+ #define NODE_BUILTIN_COVERAGE_MODULES (V ) V(coverage)
26+ #else
27+ #define NODE_BUILTIN_COVERAGE_MODULES (V )
28+ #endif
29+
2430// A list of built-in modules. In order to do module registration
2531// in node::Init(), need to add built-in modules in the following list.
2632// Then in binding::RegisterBuiltinModules(), it calls modules' registration
3339 V(cares_wrap) \
3440 V(config) \
3541 V(contextify) \
36- V(coverage) \
3742 V(credentials) \
3843 V(domain) \
3944 V(fs) \
7883 NODE_BUILTIN_STANDARD_MODULES (V) \
7984 NODE_BUILTIN_OPENSSL_MODULES(V) \
8085 NODE_BUILTIN_ICU_MODULES(V) \
81- NODE_BUILTIN_REPORT_MODULES(V)
86+ NODE_BUILTIN_REPORT_MODULES(V) \
87+ NODE_BUILTIN_COVERAGE_MODULES(V)
8288
8389// This is used to load built-in modules. Instead of using
8490// __attribute__((constructor)), we call the _register_<modname>
You can’t perform that action at this time.
0 commit comments