Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit e43c403

Browse files
committed
build: [gn] remove node_use_perfctr
nodejs/node#22485
1 parent 10a72d9 commit e43c403

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

BUILD.gn

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ declare_args() {
2424
# Build with ETW support.
2525
node_use_etw = false
2626

27-
# Build with performance counters.
28-
node_use_perfctr = false
29-
3027
# Build JavaScript in lib/ with DCHECK macros.
3128
node_debug_lib = false
3229

@@ -44,7 +41,6 @@ declare_args() {
4441

4542
assert(!node_use_dtrace, "node_use_dtrace not supported in GN")
4643
assert(!node_use_etw, "node_use_etw not supported in GN")
47-
assert(!node_use_perfctr, "node_use_perfctr not supported in GN")
4844

4945
assert(!node_enable_inspector || node_use_openssl,
5046
"node_enable_inspector requires node_use_openssl")
@@ -81,9 +77,6 @@ chdir_action("node_js2c") {
8177
if (!node_use_dtrace && !node_use_etw) {
8278
macro_inputs += [ "src/notrace_macros.py" ]
8379
}
84-
if (!node_use_perfctr) {
85-
macro_inputs += [ "src/noperfctr_macros.py" ]
86-
}
8780
if (node_debug_lib) {
8881
macro_inputs += [ "tools/nodcheck_macros.py" ]
8982
} else {

0 commit comments

Comments
 (0)