Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 1252652aad3967549f8c88b37aa7e0b34ed86b9f..49a859ac5e1c54864790f9b82e191e45368dbce8 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -2,11 +2,13 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//build/config/gcc/gcc_version.gni") |
import("//build/config/android/config.gni") |
if (cpu_arch == "arm") { |
import("//build/config/arm.gni") |
} |
+if (is_posix) { |
+ import("//build/config/gcc/gcc_version.gni") |
+} |
declare_args() { |
# Normally, Android builds are lightly optimized, even for debug builds, to |