Index: components/metrics/BUILD.gn |
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn |
index bfae327cbe49841008ff02bd8746472ef94daeb0..6abfdcc22c207c71fac40eace0c9b7b6afa20f00 100644 |
--- a/components/metrics/BUILD.gn |
+++ b/components/metrics/BUILD.gn |
@@ -204,22 +204,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 |