Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(943)

Unified Diff: components/tracing/BUILD.gn

Issue 2281903002: Tracing V2: Trace buffer writer uses proto. (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/tracing/BUILD.gn
diff --git a/components/tracing/BUILD.gn b/components/tracing/BUILD.gn
index 4638f3e1bc2f9fcd517d1befa3cfa814845adbba..effec00837fb4e1e2eb6740b4b2b93da78e93d1e 100644
--- a/components/tracing/BUILD.gn
+++ b/components/tracing/BUILD.gn
@@ -34,6 +34,7 @@ component("tracing") {
deps = [
"//base",
+ "//components/tracing/proto:tracing_protos",
"//ipc",
]
@@ -97,10 +98,10 @@ source_set("unit_tests") {
]
deps = [
- ":golden_protos_for_tests",
":proto_zero_testing_messages",
":tracing",
"//base/test:test_support",
+ "//components/tracing/proto:tracing_protos_golden",
"//ipc",
"//testing/gmock:gmock",
"//testing/gtest",
@@ -111,13 +112,3 @@ source_set("unit_tests") {
deps += [ ":startup_tracing" ]
}
}
-
-# Official protobuf used by tests to verify that the Tracing V2 output is
-# effectively proto-compatible.
-proto_library("golden_protos_for_tests") {
- visibility = [ ":unit_tests" ]
- proto_out_dir = "components/tracing/test/golden_protos"
- sources = [
- "proto/events_chunk.proto",
- ]
-}
« no previous file with comments | « no previous file | components/tracing/core/trace_buffer_writer.cc » ('j') | components/tracing/core/trace_buffer_writer_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698