Small cleanups to perfetto_unittests.gni
- Move tracing_integration_test to perfetto_integrationtests.gni
- Move unittests for subdirs of src/traced/probes into the group target
- Move tool/sanitizers_unittests to test/sanitizers:unittests
Change-Id: I07bb84af0be3d209494be5a5c37b491826364737
diff --git a/gn/perfetto_unittests.gni b/gn/perfetto_unittests.gni
index dec85bc..52020a6 100644
--- a/gn/perfetto_unittests.gni
+++ b/gn/perfetto_unittests.gni
@@ -25,20 +25,13 @@
"src/profiling/symbolizer:unittests",
]
-if (enable_perfetto_ipc) {
- perfetto_unittests_targets += [ "src/tracing/test:tracing_integration_test" ]
-}
-
if (enable_perfetto_tools && current_toolchain == host_toolchain) {
perfetto_unittests_targets += [ "tools/ftrace_proto_gen:unittests" ]
}
-# TODO(primiano): sanitizers_unittests shouldn't really be under tools. It's
-# not a tool and it's intended to run on both host and targets to check that
-# sanitizers are actually working.
if ((is_linux || is_android) && !perfetto_build_with_embedder) {
# This test depends on pthread and can't run on non-Linux-based OS.
- perfetto_unittests_targets += [ "tools/sanitizers_unittests" ]
+ perfetto_unittests_targets += [ "test/sanitizers:unittests" ]
}
if (enable_perfetto_ipc) {
@@ -56,8 +49,6 @@
if (enable_perfetto_traced_probes) {
perfetto_unittests_targets += [
"src/traced/probes:unittests",
- "src/traced/probes/filesystem:unittests",
- "src/traced/probes/ftrace:unittests",
"src/kallsyms:unittests",
]
}