Browse Source

skia: add riscv64 architecture detection

Upstream status: In progress
https://chromium-review.googlesource.com/c/chromium/src/+/3855562

Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
Rebecca Chang Swee Fun 2 years ago
parent
commit
0cffb76456
1 changed files with 2 additions and 0 deletions
  1. 2 0
      skia/BUILD.gn

+ 2 - 0
skia/BUILD.gn

@@ -809,6 +809,8 @@ skia_source_set("skia_opts") {
     sources = skia_opts.none_sources
   } else if (current_cpu == "s390x") {
     sources = skia_opts.none_sources
+  } else if (current_cpu == "riscv64") {
+    sources = skia_opts.none_sources
   } else {
     assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp")
   }