Index: ui/BUILD.gn |
diff --git a/ui/BUILD.gn b/ui/BUILD.gn |
index 7b7bedb4fd1b8a66c8d97a9d80d61371f744aea2..506e557604dd8abd0ad7f4b1983a77e391a49c6f 100644 |
--- a/ui/BUILD.gn |
+++ b/ui/BUILD.gn |
@@ -59,11 +59,14 @@ test("ui_unittests") { |
] |
if (!use_x11) { |
- sources -= [ |
- "base/ime/chromeos/character_composer_unittest.cc", |
- "base/ime/input_method_chromeos_unittest.cc", |
- "base/ime/composition_text_util_pango_unittest.cc", |
- ] |
+ if (is_chromeos) { |
+ # These were already removed in the chromeos case. |
+ sources -= [ |
+ "base/ime/chromeos/character_composer_unittest.cc", |
+ "base/ime/input_method_chromeos_unittest.cc", |
+ ] |
+ } |
+ sources -= [ "base/ime/composition_text_util_pango_unittest.cc" ] |
} |
} |