Unify test targets under perfetto_{tests,benchmarks}
To avoid collisions in chrome on binary names like base_unittests.
Also drop the ipc_test.cc which was a half demo and not really a
test. The full code and real tests will come in the next weeks.
Bug: 68710794
Change-Id: Ib472cc344e0a3316dfbad90108c9638647409809
diff --git a/src/tracing/BUILD.gn b/src/tracing/BUILD.gn
index 4723c4e..8bcf572 100644
--- a/src/tracing/BUILD.gn
+++ b/src/tracing/BUILD.gn
@@ -67,7 +67,7 @@
]
}
-executable("tracing_unittests") {
+source_set("tracing_unittests") {
testonly = true
deps = [
":ipc",
@@ -86,24 +86,8 @@
]
}
-executable("tracing_test") {
- testonly = true
- deps = [
- ":ipc",
- ":ipc_protos",
- ":tracing",
- "../../gn:default_deps",
- "../base",
- "../base:test_support",
- "../ipc",
- ]
- sources = [
- "test/ipc_test.cc",
- ]
-}
-
if (!build_with_chromium) {
- executable("tracing_benchmarks") {
+ source_set("tracing_benchmarks") {
testonly = true
deps = [
"../../gn:default_deps",