summaryrefslogtreecommitdiff
path: root/build/codegen.go
diff options
context:
space:
mode:
Diffstat (limited to 'build/codegen.go')
-rw-r--r--build/codegen.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/codegen.go b/build/codegen.go
index 66569becf9..3cc51a8e1f 100644
--- a/build/codegen.go
+++ b/build/codegen.go
@@ -218,6 +218,8 @@ func defaultDeviceCodegenArches(ctx android.LoadHookContext) []string {
arches[s] = true
if s == "arm64" {
arches["arm"] = true
+ } else if s == "riscv64" {
+ arches["riscv64"] = true
} else if s == "x86_64" {
arches["x86"] = true
}