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

Unified Diff: components/tracing/BUILD.gn

Issue 1317333002: Reland [Startup Tracing] Add --trace-config-file flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test Created 5 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
« no previous file with comments | « components/tracing.gyp ('k') | components/tracing/startup_tracing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+}
« no previous file with comments | « components/tracing.gyp ('k') | components/tracing/startup_tracing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698