0013-skia-add-riscv64-architecture-detection.patch 847 B

1234567891011121314151617181920212223242526
  1. From 0c2c523e20018495ef2b150154487697b7511901 Mon Sep 17 00:00:00 2001
  2. From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  3. Date: Fri, 14 Jan 2022 01:04:19 +0000
  4. Subject: [PATCH 13/68] skia: add riscv64 architecture detection
  5. Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  6. ---
  7. skia/BUILD.gn | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/skia/BUILD.gn b/skia/BUILD.gn
  10. index 5c3a90ee7fcd..daea4ff50a4b 100644
  11. --- a/skia/BUILD.gn
  12. +++ b/skia/BUILD.gn
  13. @@ -809,6 +809,8 @@ skia_source_set("skia_opts") {
  14. sources = skia_opts.none_sources
  15. } else if (current_cpu == "s390x") {
  16. sources = skia_opts.none_sources
  17. + } else if (current_cpu == "riscv64") {
  18. + sources = skia_opts.none_sources
  19. } else {
  20. assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp")
  21. }
  22. --
  23. 2.30.2