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

Unified Diff: snapshot_toolchain.gni

Issue 2913353004: MIPS[64]: Add support for big endian build using GN (Closed)
Patch Set: Created 3 years, 7 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.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot_toolchain.gni
diff --git a/snapshot_toolchain.gni b/snapshot_toolchain.gni
index 893bdc589f95ca0435c005e946ad591bbc8e3c7e..80cd1bd390c1dc7c363a768123b69ce3b1d74ef9 100644
--- a/snapshot_toolchain.gni
+++ b/snapshot_toolchain.gni
@@ -76,9 +76,11 @@ if (v8_snapshot_toolchain == "") {
if (v8_current_cpu == "x64" || v8_current_cpu == "x86") {
_cpus = v8_current_cpu
- } else if (v8_current_cpu == "arm64" || v8_current_cpu == "mips64el") {
+ } else if (v8_current_cpu == "arm64" || v8_current_cpu == "mips64el" ||
+ v8_current_cpu == "mips64") {
_cpus = "x64_v8_${v8_current_cpu}"
- } else if (v8_current_cpu == "arm" || v8_current_cpu == "mipsel") {
+ } else if (v8_current_cpu == "arm" || v8_current_cpu == "mipsel" ||
+ v8_current_cpu == "mips") {
_cpus = "x86_v8_${v8_current_cpu}"
} else {
# This branch should not be reached; leave _cpus blank so the assert
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698