Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: build/config/mips.gni

Issue 2116183002: Land chromium-side work to clean up handling of v8_target_cpu in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for review Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/config/mips.gni
diff --git a/build/config/mips.gni b/build/config/mips.gni
index e23e74885919cb113792c536c2763e8b691761ef..e9d2f616d49ef8340ac551bf96a055b9f00d480f 100644
--- a/build/config/mips.gni
+++ b/build/config/mips.gni
@@ -2,13 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//build/config/v8_target_cpu.gni")
-
# These are primarily relevant in current_cpu == "mips*" contexts, where
# MIPS 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 == "mipsel" || v8_target_cpu == "mipsel") {
+if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") {
declare_args() {
# MIPS arch variant. Possible values are:
# "r1"
@@ -33,7 +31,7 @@ if (current_cpu == "mipsel" || v8_target_cpu == "mipsel") {
# "fpxx": sets the GCC -mfpxx option.
mips_fpu_mode = "fp32"
}
-} else if (current_cpu == "mips64el" || v8_target_cpu == "mips64el") {
+} else if (current_cpu == "mips64el" || v8_current_cpu == "mips64el") {
# MIPS arch variant. Possible values are:
# "r2"
# "r6"

Powered by Google App Engine
This is Rietveld 408576698