summaryrefslogtreecommitdiff
path: root/chromium/services/tracing/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/services/tracing/BUILD.gn')
-rw-r--r--chromium/services/tracing/BUILD.gn42
1 files changed, 42 insertions, 0 deletions
diff --git a/chromium/services/tracing/BUILD.gn b/chromium/services/tracing/BUILD.gn
index f03baabd789..e0c20c7c3cc 100644
--- a/chromium/services/tracing/BUILD.gn
+++ b/chromium/services/tracing/BUILD.gn
@@ -45,6 +45,31 @@ source_set("lib") {
]
}
+executable("trace_json_exporter") {
+ sources = [
+ "perfetto/json_exporter_main.cc",
+ "perfetto/json_trace_exporter.cc",
+ "perfetto/json_trace_exporter.h",
+ "perfetto/track_event_json_exporter.cc",
+ "perfetto/track_event_json_exporter.h",
+ ]
+
+ configs += [ "//build/config/compiler:rtti" ]
+
+ deps = [
+ "//base",
+ "//third_party/perfetto:libperfetto",
+ "//third_party/perfetto/include/perfetto/protozero:protozero",
+ "//third_party/perfetto/protos/perfetto/common:lite",
+ "//third_party/perfetto/protos/perfetto/trace:lite",
+ "//third_party/perfetto/protos/perfetto/trace/chrome:lite",
+ "//third_party/perfetto/protos/perfetto/trace/chrome:minimal_complete_lite",
+ "//third_party/perfetto/protos/perfetto/trace/interned_data:lite",
+ "//third_party/perfetto/protos/perfetto/trace/track_event:lite",
+ "//third_party/perfetto/src/protozero:protozero",
+ ]
+}
+
source_set("manifest") {
sources = [
"manifest.cc",
@@ -54,10 +79,27 @@ source_set("manifest") {
deps = [
"//base",
"//services/service_manager/public/cpp",
+ "//services/tracing/public/cpp",
"//services/tracing/public/mojom",
]
}
+source_set("privacy_check") {
+ testonly = true
+
+ sources = [
+ "perfetto/privacy_filtered_fields-inl.h",
+ "perfetto/privacy_filtering_check.cc",
+ "perfetto/privacy_filtering_check.h",
+ ]
+
+ deps = [
+ "//base",
+ "//third_party/perfetto:libperfetto",
+ "//third_party/perfetto/src/protozero:protozero",
+ ]
+}
+
source_set("tests") {
testonly = true