28 lines
1.6 KiB
Diff
28 lines
1.6 KiB
Diff
Index: chromium-128.0.6613.113/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
|
===================================================================
|
|
--- chromium-128.0.6613.113.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
|
+++ chromium-128.0.6613.113/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
|
@@ -348,6 +348,8 @@
|
|
info->arch = extensions::api::runtime::PlatformArch::kMips64;
|
|
} else if (strcmp(arch, "riscv64") == 0) {
|
|
info->arch = extensions::api::runtime::PlatformArch::kRiscv64;
|
|
+ } else if (strcmp(arch, "ppc64") == 0) {
|
|
+ info->arch = extensions::api::runtime::PlatformArch::kPpc64;
|
|
} else {
|
|
NOTREACHED();
|
|
}
|
|
Index: chromium-128.0.6613.113/extensions/common/api/runtime.json
|
|
===================================================================
|
|
--- chromium-128.0.6613.113.orig/extensions/common/api/runtime.json
|
|
+++ chromium-128.0.6613.113/extensions/common/api/runtime.json
|
|
@@ -99,7 +99,8 @@
|
|
{"name": "x86-64", "description": "Specifies the processer architecture as x86-64."},
|
|
{"name": "mips", "description": "Specifies the processer architecture as mips."},
|
|
{"name": "mips64", "description": "Specifies the processer architecture as mips64."},
|
|
- {"name": "riscv64", "description": "Specifies the processer architecture as riscv64."}
|
|
+ {"name": "riscv64", "description": "Specifies the processer architecture as riscv64."},
|
|
+ {"name": "ppc64", "description": "Specifies the processer architecture as ppc64."}
|
|
],
|
|
"description": "The machine's processor architecture."
|
|
},
|