From 21e7c6c9945b99c2a0716189c188e3e86a63c5f1 Mon Sep 17 00:00:00 2001 From: McKnight22 Date: Sat, 13 May 2023 18:24:11 +0800 Subject: [PATCH] [riscv64][android] support 64-bit builds on riscv64 For arch riscv, android supports riscv64 only. So, only riscv64 is added to be supported. co-authors: McKnight22 Wang Chen Bug: angleproject:8165 Change-Id: Iaa732ece963e82abeb7ae517eae3a26e1314f56c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4530628 Reviewed-by: Cody Northrop Commit-Queue: Cody Northrop (cherry picked from commit 9de2cfb06593d3ddf7ceb4cd125ff2b23b347db3) Signed-off-by: Wang Chen --- AUTHORS | 2 ++ CONTRIBUTORS | 3 +++ gni/angle.gni | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 4eb97c33abc..ca9b85b66aa 100644 --- a/AUTHORS +++ b/AUTHORS @@ -41,6 +41,7 @@ The Khronos Group, Inc. Numfum GmbH Yandex LLC Rive +Institute of Software, Chinese Academy of Sciences Jacek Caban Mark Callow @@ -79,3 +80,4 @@ SeongHwan Park Xiaopeng Li Akihiko Odaki Ho Cheung +Tao Wang diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 706134f8c75..23797279ceb 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -232,3 +232,6 @@ Yandex LLC Rive Chris Dalton + +Institute of Software, Chinese Academy of Sciences + Wang Chen diff --git a/gni/angle.gni b/gni/angle.gni index 3f73df11541..0769dfc188a 100644 --- a/gni/angle.gni +++ b/gni/angle.gni @@ -107,7 +107,8 @@ declare_args() { if (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "mips64el" || current_cpu == "s390x" || - current_cpu == "ppc64" || current_cpu == "loong64") { + current_cpu == "ppc64" || current_cpu == "loong64" || + current_cpu == "riscv64") { angle_64bit_current_cpu = true } else if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel" || current_cpu == "s390" ||