Index: components/tracing/BUILD.gn |
diff --git a/components/tracing/BUILD.gn b/components/tracing/BUILD.gn |
index 059f4f14330318bd12a3dffe9db840f88e54121a..bd5b2711492b16ba648880ec8e350a503a6b7237 100644 |
--- a/components/tracing/BUILD.gn |
+++ b/components/tracing/BUILD.gn |
@@ -23,8 +23,8 @@ component("tracing") { |
component("startup_tracing") { |
sources = [ |
- "startup_tracing.cc", |
- "startup_tracing.h", |
+ "trace_config_file.cc", |
+ "trace_config_file.h", |
"tracing_export.h", |
"tracing_switches.cc", |
"tracing_switches.h", |
@@ -36,3 +36,17 @@ component("startup_tracing") { |
"//base", |
] |
} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ |
+ sources = [ |
+ "trace_config_file_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":startup_tracing", |
+ "//base/test:test_support", |
+ "//testing/gtest", |
+ ] |
+} |