profiling: Add heapprofd config.
Change-Id: Iaf55fd8dbacc83467b8f3682524253f9005cc935
diff --git a/BUILD.gn b/BUILD.gn
index 7cfc772..a6d4a63 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -292,7 +292,9 @@
"src/profiling/memory:malloc_hooks",
]
}
+}
+if (should_build_heapprofd) {
executable("heapprofd") {
deps = [
"gn:default_deps",
@@ -300,6 +302,7 @@
"src/base:unix_socket",
"src/profiling/memory:daemon",
"src/profiling/memory:wire_protocol",
+ "src/tracing:ipc",
]
sources = [
"src/profiling/memory/main.cc",