Index: components/metrics/BUILD.gn |
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn |
index bfae327cbe49841008ff02bd8746472ef94daeb0..d6a12e29e1d61b855790078f171003b053b4cc3b 100644 |
--- a/components/metrics/BUILD.gn |
+++ b/components/metrics/BUILD.gn |
@@ -204,6 +204,18 @@ source_set("unit_tests") { |
"//testing/gtest", |
] |
+ if (!is_ios) { |
+ deps += [ |
+ "//content/public/common", |
+ ":gpu", |
+ ":profiler", |
+ ] |
+ sources += [ |
+ "gpu/gpu_metrics_provider_unittest.cc", |
+ "profiler/profiler_metrics_provider_unittest.cc", |
+ "profiler/tracking_synchronizer_unittest.cc", |
+ ] |
+ } |
if (is_linux) { |
sources += [ "serialization/serialization_utils_unittest.cc" ] |
deps += [ ":serialization" ] |