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

Unified Diff: build/config/mips.gni

Issue 863253002: Update from https://crrev.com/312600 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
new file mode 100644
index 0000000000000000000000000000000000000000..f544d9452284276f3f35d6ad789f33af639cb864
--- /dev/null
+++ b/build/config/mips.gni
@@ -0,0 +1,20 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# MIPS arch variant.
+if (cpu_arch == "mipsel") {
+ declare_args() {
+ mips_arch_variant = "r1"
+ }
+} else if (cpu_arch == "mips64el") {
+ if (is_android) {
+ declare_args() {
+ mips_arch_variant = "r6"
+ }
+ } else {
+ declare_args() {
+ mips_arch_variant = "r2"
+ }
+ }
+}
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/ios/OWNERS » ('j') | testing/test.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698