diff options
Diffstat (limited to 'src/traced/probes/BUILD.gn')
-rw-r--r-- | src/traced/probes/BUILD.gn | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/traced/probes/BUILD.gn b/src/traced/probes/BUILD.gn index db547fcbf..7eec2362a 100644 --- a/src/traced/probes/BUILD.gn +++ b/src/traced/probes/BUILD.gn @@ -12,11 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("../../../gn/perfetto.gni") import("../../../gn/test.gni") -assert(enable_perfetto_traced_probes) - # The unprivileged daemon that is allowed to access tracefs (for ftrace). # Registers as a Producer on the traced daemon. executable("traced_probes") { @@ -38,14 +35,14 @@ source_set("probes") { "../../../gn:default_deps", "../../tracing/ipc/producer", ] + if (enable_perfetto_version_gen) { + deps += [ "//gn/standalone:gen_git_revision" ] + } sources = [ "probes.cc" ] } source_set("probes_src") { - public_deps = [ - "ftrace", - "ftrace:ftrace_procfs", - ] + public_deps = [ "ftrace" ] deps = [ ":data_source", "../../../gn:default_deps", @@ -53,7 +50,6 @@ source_set("probes_src") { "../../../protos/perfetto/config/ftrace:cpp", "../../../protos/perfetto/trace:zero", "../../../protos/perfetto/trace/ps:zero", - "../../android_stats", "../../base", "../../tracing/core", "../../tracing/ipc/producer", @@ -69,8 +65,6 @@ source_set("probes_src") { "system_info", ] sources = [ - "kmem_activity_trigger.cc", - "kmem_activity_trigger.h", "probes_producer.cc", "probes_producer.h", ] |