Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index b5efa05d348bdf336b2d72335a5b0969eeaa349e..2ab44d39a696f08661503d822af2eb6e21f436d1 100644 |
--- a/base/BUILD.gn |
+++ b/base/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") |
+} |
+ |
component("base") { |
sources = [ |
"third_party/dmg_fp/dmg_fp.h", |