Index: components/metrics/BUILD.gn |
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn |
index 5552136e64ebc7cbad70f16ca6a05932c10cea7e..7932f0696848c2bcdd7ce8b5b1613dc885d1dc58 100644 |
--- a/components/metrics/BUILD.gn |
+++ b/components/metrics/BUILD.gn |
@@ -205,22 +205,21 @@ source_set("unit_tests") { |
"//testing/gtest", |
] |
- if (is_linux) { |
- sources += [ "serialization/serialization_utils_unittest.cc" ] |
- deps += [ ":serialization" ] |
- } |
- |
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", |
] |
- deps += [ |
- ":gpu", |
- ":profiler", |
- "//content/public/common", |
- ] |
+ } |
+ if (is_linux) { |
+ sources += [ "serialization/serialization_utils_unittest.cc" ] |
+ deps += [ ":serialization" ] |
} |
} |
# TODO(GYP): metrics_chromeos |