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.gn10
1 files changed, 8 insertions, 2 deletions
diff --git a/chromium/services/tracing/BUILD.gn b/chromium/services/tracing/BUILD.gn
index 5d54f9483d6..e879ab855b4 100644
--- a/chromium/services/tracing/BUILD.gn
+++ b/chromium/services/tracing/BUILD.gn
@@ -28,6 +28,7 @@ source_set("lib") {
configs += [ "//build/config/compiler:wexit_time_destructors" ]
public_deps = [
+ ":privacy_check",
"//base",
"//mojo/public/cpp/bindings",
"//services/tracing/public/cpp",
@@ -41,8 +42,6 @@ source_set("lib") {
}
source_set("privacy_check") {
- testonly = true
-
sources = [
"perfetto/privacy_filtered_fields-inl.h",
"perfetto/privacy_filtering_check.cc",
@@ -84,6 +83,7 @@ source_set("tests") {
sources = [
"perfetto/consumer_host_unittest.cc",
"perfetto/perfetto_integration_unittest.cc",
+ "perfetto/privacy_filtering_check_unittest.cc",
"public/cpp/perfetto/producer_test_utils.cc",
"public/cpp/perfetto/producer_test_utils.h",
"public/cpp/perfetto/task_runner_unittest.cc",
@@ -112,6 +112,7 @@ source_set("tests") {
deps = [
":lib",
+ ":privacy_check",
":test_utils",
"//base",
"//base/test:test_support",
@@ -126,12 +127,17 @@ source_set("tests") {
"//third_party/perfetto/protos/perfetto/trace:lite",
"//third_party/perfetto/protos/perfetto/trace/chrome:lite",
"//third_party/perfetto/protos/perfetto/trace/interned_data:lite",
+ "//third_party/perfetto/protos/perfetto/trace/profiling:lite",
"//third_party/perfetto/protos/perfetto/trace/track_event:lite",
]
if (is_posix) {
sources += [ "perfetto/system_perfetto_unittest.cc" ]
+ if (!is_android) {
+ sources += [ "public/cpp/system_tracing_service_unittest.cc" ]
+ }
+
if (can_unwind_with_cfi_table && is_official_build) {
if (is_android) {
sources +=