Index: base/test/BUILD.gn |
diff --git a/base/test/BUILD.gn b/base/test/BUILD.gn |
index 088f1d5e4300fd264573467a6ec5f989d0b4e6be..3aefb72e634f78353887dcf89b5aef5e4def5584 100644 |
--- a/base/test/BUILD.gn |
+++ b/base/test/BUILD.gn |
@@ -2,9 +2,12 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//build/config/android/rules.gni") |
import("//build/config/ui.gni") |
+if (is_android) { |
+ import("//build/config/android/rules.gni") |
+} |
+ |
source_set("test_support") { |
sources = [ |
"expectations/expectation.cc", |