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

Unified Diff: build/config/mips.gni

Issue 1934713002: Set ARM/MIPS configuration for both host and target if needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « build/config/arm.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/mips.gni
diff --git a/build/config/mips.gni b/build/config/mips.gni
index 1b406572c73a27227c00addc7d9c02885a5cd234..cc6d53f8bebe2843aeb4817580019515410bb409 100644
--- a/build/config/mips.gni
+++ b/build/config/mips.gni
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-if (current_cpu == "mipsel") {
+if (current_cpu == "mipsel" || target_cpu == "mipsel") {
declare_args() {
# MIPS arch variant. Possible values are:
# "r1"
@@ -27,11 +27,11 @@ if (current_cpu == "mipsel") {
# "fpxx": sets the GCC -mfpxx option.
mips_fpu_mode = "fp32"
}
-} else if (current_cpu == "mips64el") {
+} else if (current_cpu == "mips64el" || target_cpu == "mips64el") {
# MIPS arch variant. Possible values are:
# "r2"
# "r6"
- if (is_android) {
+ if (current_os == "android" || target_os == "android") {
declare_args() {
mips_arch_variant = "r6"
}
« no previous file with comments | « build/config/arm.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698