Index: build/config/arm.gni |
diff --git a/build/config/arm.gni b/build/config/arm.gni |
index 326a49ece16530816b979cacec9e70b265284c1b..cc468d89e18e21b0c123d6fa9476a008471f0474 100644 |
--- a/build/config/arm.gni |
+++ b/build/config/arm.gni |
@@ -8,7 +8,7 @@ import("//build/config/v8_target_cpu.gni") |
# ARM code is being compiled. But they can also be relevant in the |
# other contexts when the code will change its behavior based on the |
# cpu it wants to generate code for. |
-if (current_cpu == "arm" || v8_target_cpu == "arm") { |
+if (current_cpu == "arm" || v8_current_cpu == "arm") { |
declare_args() { |
# Version of the ARM processor when compiling on ARM. Ignored on non-ARM |
# platforms. |
@@ -87,7 +87,7 @@ if (current_cpu == "arm" || v8_target_cpu == "arm") { |
arm_fpu = "vfpv3-d16" |
} |
} |
-} else if (current_cpu == "arm64" || v8_target_cpu == "arm64") { |
+} else if (current_cpu == "arm64" || v8_current_cpu == "arm64") { |
# arm64 supports only "hard". |
arm_float_abi = "hard" |
arm_use_neon = true |