diff options
author | Ben Wagner <benjaminwagner@google.com> | 2018-04-04 15:35:01 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-04 20:37:28 +0000 |
commit | 9bd736b9b4be1ea23baa3975bbe855cee74f43e8 (patch) | |
tree | 161fe9fd7f15112bcc1a02c121869214ed3874cd /gn | |
parent | c5509955b98daa0643da7fcd7ad356a9aa5a42da (diff) |
Add loongson3a Build jobs.
Change-Id: I4a0259f82272099e08df0e7dea91489f6d641ca4
Reviewed-on: https://skia-review.googlesource.com/113670
Commit-Queue: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/BUILD.gn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index e7fffa2ab9..4c6eac27b0 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -112,6 +112,17 @@ config("default") { "-mfpu=neon", "-mthumb", ] + } else if (current_cpu == "loongson3a") { + asmflags += [ "-march=loongson3a" ] + cflags += [ + "-march=loongson3a", + + # Causes an internal compiler error. + "-DSKCMS_PORTABLE", + ] + } else if (current_cpu == "mips64el") { + asmflags += [ "-march=mips64" ] + cflags += [ "-march=mips64" ] } else if (current_cpu == "x86" && !is_win) { asmflags += [ "-m32" ] cflags += [ |