代码拉取完成,页面将自动刷新
Index: chromium-124.0.6367.201/third_party/cpuinfo/BUILD.gn
===================================================================
--- chromium-124.0.6367.201.orig/third_party/cpuinfo/BUILD.gn
+++ chromium-124.0.6367.201/third_party/cpuinfo/BUILD.gn
@@ -123,6 +123,12 @@ source_set("cpu_specific") {
]
}
+ if (current_cpu == "riscv64") {
+ sources = [
+ "src/src/riscv/uarch.c",
+ ]
+ }
+
# Because "init.c" is reused again, but only has sources in the corresponding
# build config.
deps = [ ":x86_cache" ]
@@ -209,6 +215,14 @@ source_set("cpu_and_os_specific") {
}
}
+ if (is_linux && current_cpu == "riscv64") {
+ sources = [
+ "src/src/riscv/linux/init.c",
+ "src/src/riscv/linux/riscv-hw.c",
+ "src/src/riscv/linux/riscv-isa.c",
+ ]
+ }
+
if (is_android && (current_cpu == "x86" || current_cpu == "x64")) {
sources = [
"src/src/x86/linux/cpuinfo.c",
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。