Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
Chromium
OpenPOWER Patches
Commits
433c330c
Commit
433c330c
authored
3 months ago
by
Timothy Pearson
Browse files
Options
Download
Email Patches
Plain Diff
Update to Chromium 131.0.6778.108
parent
a85b64f0
Changes
164
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
265 additions
and
262 deletions
+265
-262
README
README
+1
-1
patches/ppc64le/breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
.../breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
+69
-69
patches/ppc64le/core/add-ppc64-architecture-string.patch
patches/ppc64le/core/add-ppc64-architecture-string.patch
+4
-4
patches/ppc64le/core/add-ppc64-architecture-to-extensions.diff
...es/ppc64le/core/add-ppc64-architecture-to-extensions.diff
+6
-6
patches/ppc64le/core/add-ppc64-pthread-stack-size.patch
patches/ppc64le/core/add-ppc64-pthread-stack-size.patch
+5
-3
patches/ppc64le/core/baseline-isa-3-0.patch
patches/ppc64le/core/baseline-isa-3-0.patch
+11
-11
patches/ppc64le/core/cargo-add-ppc64.diff
patches/ppc64le/core/cargo-add-ppc64.diff
+4
-4
patches/ppc64le/crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
.../crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
+99
-99
patches/ppc64le/fixes/fix-breakpad-compile.patch
patches/ppc64le/fixes/fix-breakpad-compile.patch
+3
-3
patches/ppc64le/fixes/fix-clang-selection.patch
patches/ppc64le/fixes/fix-clang-selection.patch
+3
-3
patches/ppc64le/fixes/fix-different-data-layouts.patch
patches/ppc64le/fixes/fix-different-data-layouts.patch
+3
-3
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
+3
-3
patches/ppc64le/fixes/fix-rust-linking.patch
patches/ppc64le/fixes/fix-rust-linking.patch
+3
-3
patches/ppc64le/fixes/fix-rustc.patch
patches/ppc64le/fixes/fix-rustc.patch
+7
-6
patches/ppc64le/fixes/fix-study-crash.patch
patches/ppc64le/fixes/fix-study-crash.patch
+7
-7
patches/ppc64le/fixes/fix-unknown-warning-option-messages.diff
...es/ppc64le/fixes/fix-unknown-warning-option-messages.diff
+6
-6
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
+13
-13
patches/ppc64le/libaom/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
...om/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
+12
-12
patches/ppc64le/sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
...inux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
+3
-3
patches/ppc64le/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
...e/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
+3
-3
No files found.
README
View file @
433c330c
=================================================================================
VERSION
13
0
.0.67
23.5
8
13
1
.0.67
78.10
8
=================================================================================
APPLICATION
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
View file @
433c330c
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/add-ppc64-architecture-string.patch
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/base/system/sys_info.cc
Index: chromium-13
1
.0.67
78.108
/base/system/sys_info.cc
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/base/system/sys_info.cc
+++ chromium-13
0
.0.67
23.44
/base/system/sys_info.cc
@@ -25
3
,6 +25
3
,8 @@
std::string SysInfo::ProcessCPUArchitect
--- chromium-13
1
.0.67
78.108
.orig/base/system/sys_info.cc
+++ chromium-13
1
.0.67
78.108
/base/system/sys_info.cc
@@ -25
9
,6 +25
9
,8 @@
std::string SysInfo::ProcessCPUArchitect
return "ARM";
#elif defined(ARCH_CPU_ARM64)
return "ARM_64";
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/add-ppc64-architecture-to-extensions.diff
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
Index: chromium-13
1
.0.67
78.108
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-13
0
.0.67
23.44
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
--- chromium-13
1
.0.67
78.108
.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-13
1
.0.67
78.108
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -307,6 +307,8 @@
bool ChromeRuntimeAPIDelegate::GetPlatfo
info->arch = extensions::api::runtime::PlatformArch::kMips;
} else if (strcmp(arch, "mips64el") == 0) {
...
...
@@ -20,10 +20,10 @@ Index: chromium-130.0.6723.44/chrome/browser/extensions/api/runtime/chrome_runti
} else {
NOTREACHED_IN_MIGRATION();
return false;
Index: chromium-13
0
.0.67
23.44
/extensions/common/api/runtime.json
Index: chromium-13
1
.0.67
78.108
/extensions/common/api/runtime.json
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/extensions/common/api/runtime.json
+++ chromium-13
0
.0.67
23.44
/extensions/common/api/runtime.json
--- chromium-13
1
.0.67
78.108
.orig/extensions/common/api/runtime.json
+++ chromium-13
1
.0.67
78.108
/extensions/common/api/runtime.json
@@ -98,7 +98,8 @@
{"name": "x86-32", "description": "Specifies the processer architecture as x86-32."},
{"name": "x86-64", "description": "Specifies the processer architecture as x86-64."},
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/add-ppc64-pthread-stack-size.patch
View file @
433c330c
--- a/base/process/launch.h
+++ b/base/process/launch.h
@@ -54,6 +54,9 @@
Index: chromium-131.0.6778.108/base/process/launch.h
===================================================================
--- chromium-131.0.6778.108.orig/base/process/launch.h
+++ chromium-131.0.6778.108/base/process/launch.h
@@ -58,6 +58,9 @@
namespace base {
#if defined(ARCH_CPU_ARM64)
#define PTHREAD_STACK_MIN_CONST \
(__builtin_constant_p(PTHREAD_STACK_MIN) ? PTHREAD_STACK_MIN : 131072)
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/baseline-isa-3-0.patch
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/build/config/compiler/BUILD.gn
Index: chromium-13
1
.0.67
78.108
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
0
.0.67
23.44
/build/config/compiler/BUILD.gn
@@ -147
4
,7 +147
4
,7 @@
config("compiler_cpu_abi") {
--- chromium-13
1
.0.67
78.108
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
1
.0.67
78.108
/build/config/compiler/BUILD.gn
@@ -147
7
,7 +147
7
,7 @@
config("compiler_cpu_abi") {
cflags += [ "-maix64" ]
ldflags += [ "-maix64" ]
} else {
...
...
@@ -11,10 +11,10 @@ Index: chromium-130.0.6723.44/build/config/compiler/BUILD.gn
ldflags += [ "-m64" ]
}
} else if (current_cpu == "riscv64") {
Index: chromium-13
0
.0.67
23.44
/third_party/libvpx/BUILD.gn
Index: chromium-13
1
.0.67
78.108
/third_party/libvpx/BUILD.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/third_party/libvpx/BUILD.gn
+++ chromium-13
0
.0.67
23.44
/third_party/libvpx/BUILD.gn
--- chromium-13
1
.0.67
78.108
.orig/third_party/libvpx/BUILD.gn
+++ chromium-13
1
.0.67
78.108
/third_party/libvpx/BUILD.gn
@@ -105,7 +105,7 @@
config("libvpx_config") {
if (current_cpu == "ppc64") {
...
...
@@ -24,11 +24,11 @@ Index: chromium-130.0.6723.44/third_party/libvpx/BUILD.gn
"-maltivec",
"-mvsx",
]
Index: chromium-13
0
.0.67
23.44
/v8/BUILD.gn
Index: chromium-13
1
.0.67
78.108
/v8/BUILD.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/v8/BUILD.gn
+++ chromium-13
0
.0.67
23.44
/v8/BUILD.gn
@@ -14
34
,7 +14
34
,7 @@
config("toolchain") {
--- chromium-13
1
.0.67
78.108
.orig/v8/BUILD.gn
+++ chromium-13
1
.0.67
78.108
/v8/BUILD.gn
@@ -14
62
,7 +14
62
,7 @@
config("toolchain") {
if (current_os == "linux") {
cflags += [
# Enable usage of AltiVec, VSX, and other POWER8 and higher features
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/cargo-add-ppc64.diff
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/build/rust/cargo_crate.gni
Index: chromium-13
1
.0.67
78.108
/build/rust/cargo_crate.gni
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/build/rust/cargo_crate.gni
+++ chromium-13
0
.0.67
23.44
/build/rust/cargo_crate.gni
@@ -43
0
,7 +43
0
,7 @@
template("cargo_crate") {
--- chromium-13
1
.0.67
78.108
.orig/build/rust/cargo_crate.gni
+++ chromium-13
1
.0.67
78.108
/build/rust/cargo_crate.gni
@@ -43
2
,7 +43
2
,7 @@
template("cargo_crate") {
]
}
if (current_cpu == "arm64" || current_cpu == "x64" ||
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
View file @
433c330c
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-breakpad-compile.patch
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/third_party/breakpad/BUILD.gn
Index: chromium-13
1
.0.67
78.108
/third_party/breakpad/BUILD.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/third_party/breakpad/BUILD.gn
+++ chromium-13
0
.0.67
23.44
/third_party/breakpad/BUILD.gn
--- chromium-13
1
.0.67
78.108
.orig/third_party/breakpad/BUILD.gn
+++ chromium-13
1
.0.67
78.108
/third_party/breakpad/BUILD.gn
@@ -785,7 +785,6 @@
if (is_linux || is_chromeos || is_androi
"breakpad/src/client/minidump_file_writer.h",
"breakpad/src/common/convert_UTF.cc",
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-clang-selection.patch
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/build/config/BUILDCONFIG.gn
Index: chromium-13
1
.0.67
78.108
/build/config/BUILDCONFIG.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/build/config/BUILDCONFIG.gn
+++ chromium-13
0
.0.67
23.44
/build/config/BUILDCONFIG.gn
--- chromium-13
1
.0.67
78.108
.orig/build/config/BUILDCONFIG.gn
+++ chromium-13
1
.0.67
78.108
/build/config/BUILDCONFIG.gn
@@ -138,7 +138,6 @@
declare_args() {
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" ||
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-different-data-layouts.patch
View file @
433c330c
...
...
@@ -24,10 +24,10 @@ inconsistency in data layouts when targeting this particular platform.
The error reported by the linker is not technically an error, however, only
a warning goosed up by a --fatal-warnings flag.
Index: chromium-13
0
.0.67
23.44
/build/config/compiler/BUILD.gn
Index: chromium-13
1
.0.67
78.108
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
0
.0.67
23.44
/build/config/compiler/BUILD.gn
--- chromium-13
1
.0.67
78.108
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
1
.0.67
78.108
/build/config/compiler/BUILD.gn
@@ -385,7 +385,7 @@
config("compiler") {
# Linker warnings.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
View file @
433c330c
kIndex: chromium-114.0.5735.45/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
Index: chromium-13
0
.0.67
23.44
/base/allocator/partition_allocator/partition_alloc.gni
Index: chromium-13
1
.0.67
78.108
/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-13
0
.0.67
23.44
/base/allocator/partition_allocator/partition_alloc.gni
--- chromium-13
1
.0.67
78.108
.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-13
1
.0.67
78.108
/base/allocator/partition_allocator/partition_alloc.gni
@@ -19,7 +19,8 @@
if (is_nacl) {
# NaCl targets don't use 64-bit pointers.
has_64_bit_pointers = false
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-rust-linking.patch
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/build/toolchain/gcc_toolchain.gni
Index: chromium-13
1
.0.67
78.108
/build/toolchain/gcc_toolchain.gni
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-13
0
.0.67
23.44
/build/toolchain/gcc_toolchain.gni
--- chromium-13
1
.0.67
78.108
.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-13
1
.0.67
78.108
/build/toolchain/gcc_toolchain.gni
@@ -441,7 +441,13 @@
template("single_gcc_toolchain") {
# -soname flag is not available on aix ld
soname_flag = "-Wl,-soname=\"$soname\""
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-rustc.patch
View file @
433c330c
author: Andres Salomon <dilinger@debian.org>
description: allow ppc64le to build by using proper rustc target
Index: chromium-13
0
.0.67
23.44
/build/config/rust.gni
Index: chromium-13
1
.0.67
78.108
/build/config/rust.gni
===================================================================
--- chromium-130.0.6723.44.orig/build/config/rust.gni
+++ chromium-130.0.6723.44/build/config/rust.gni
@@ -193,6 +193,8 @@
rust_abi_target = ""
if (is_linux || is_chromeos) {
--- chromium-131.0.6778.108.orig/build/config/rust.gni
+++ chromium-131.0.6778.108/build/config/rust.gni
@@ -200,6 +200,9 @@
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") {
rust_abi_target = "aarch64-unknown-linux-gnu"
cargo_target_abi = ""
+ } else if (current_cpu == "ppc64") {
+ rust_abi_target = "powerpc64le-unknown-linux-gnu"
+ cargo_target_abi = ""
} else if (current_cpu == "x86") {
rust_abi_target = "i686-unknown-linux-gnu"
} else if (current_cpu
=
=
"
x64") {
cargo_target_abi
= "
"
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-study-crash.patch
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/components/variations/proto/study.proto
Index: chromium-13
1
.0.67
78.108
/components/variations/proto/study.proto
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/components/variations/proto/study.proto
+++ chromium-13
0
.0.67
23.44
/components/variations/proto/study.proto
--- chromium-13
1
.0.67
78.108
.orig/components/variations/proto/study.proto
+++ chromium-13
1
.0.67
78.108
/components/variations/proto/study.proto
@@ -262,6 +262,9 @@
message Study {
// A Mac-only value, indicating an x86-64 binary running on an arm64 host
// via "Rosetta 2" binary translation.
...
...
@@ -12,11 +12,11 @@ Index: chromium-130.0.6723.44/components/variations/proto/study.proto
}
// Enum to pass as optional bool.
Index: chromium-13
0
.0.67
23.44
/components/variations/service/variations_field_trial_creator_base.cc
Index: chromium-13
1
.0.67
78.108
/components/variations/service/variations_field_trial_creator_base.cc
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/components/variations/service/variations_field_trial_creator_base.cc
+++ chromium-13
0
.0.67
23.44
/components/variations/service/variations_field_trial_creator_base.cc
@@ -10
9
,6 +10
9
,9 @@
Study::CpuArchitecture GetCurrentCpuArch
--- chromium-13
1
.0.67
78.108
.orig/components/variations/service/variations_field_trial_creator_base.cc
+++ chromium-13
1
.0.67
78.108
/components/variations/service/variations_field_trial_creator_base.cc
@@ -1
1
0,6 +1
1
0,9 @@
Study::CpuArchitecture GetCurrentCpuArch
if (process_arch == "x86") {
return Study::X86_32;
}
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-unknown-warning-option-messages.diff
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/build/config/compiler/BUILD.gn
Index: chromium-13
1
.0.67
78.108
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
0
.0.67
23.44
/build/config/compiler/BUILD.gn
@@ -187
3
,7 +187
3
,7 @@
config("default_warnings") {
--- chromium-13
1
.0.67
78.108
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
1
.0.67
78.108
/build/config/compiler/BUILD.gn
@@ -187
6
,7 +187
6
,7 @@
config("default_warnings") {
# -Wno-class-memaccess warns about hash table and vector in blink.
# But the violation is intentional.
...
...
@@ -11,7 +11,7 @@ Index: chromium-130.0.6723.44/build/config/compiler/BUILD.gn
cflags_cc += [ "-Wno-class-memaccess" ]
}
@@ -188
3
,7 +188
3
,9 @@
config("default_warnings") {
@@ -188
6
,7 +188
6
,9 @@
config("default_warnings") {
# Don't warn about "maybe" uninitialized. Clang doesn't include this
# in -Wall but gcc does, and it gives false positives.
...
...
@@ -22,7 +22,7 @@ Index: chromium-130.0.6723.44/build/config/compiler/BUILD.gn
cflags += [ "-Wno-deprecated-declarations" ]
# -Wcomment gives too many false positives in the case a
@@ -189
4
,7 +189
6
,9 @@
config("default_warnings") {
@@ -189
7
,7 +189
9
,9 @@
config("default_warnings") {
# -Wpacked-not-aligned complains all generated mojom-shared-internal.h
# files.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
View file @
433c330c
...
...
@@ -8,11 +8,11 @@ Subject: [PATCH] Add ppc64 target to libaom
third_party/libaom/cmake_update.sh | 3 +++
2 files changed, 15 insertions(+)
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/BUILD.gn
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/BUILD.gn
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/third_party/libaom/BUILD.gn
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/BUILD.gn
@@ -
27
9,6 +
27
9,18 @@
if (current_cpu == "arm64") {
--- chromium-13
1
.0.67
78.108
.orig/third_party/libaom/BUILD.gn
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/BUILD.gn
@@ -
30
9,6 +
30
9,18 @@
if (current_cpu == "arm64") {
}
}
...
...
@@ -31,7 +31,7 @@ Index: chromium-130.0.6723.44/third_party/libaom/BUILD.gn
static_library("libaom") {
check_includes = false
if (!is_debug && is_win) {
@@ -3
42
,6 +3
54
,9 @@
static_library("libaom") {
@@ -3
78
,6 +3
90
,9 @@
static_library("libaom") {
# This is needed by all arm boards due to aom_arm_cpu_caps()
sources += [ "source/libaom/aom_ports/aarch32_cpudetect.c" ]
}
...
...
@@ -41,17 +41,17 @@ Index: chromium-130.0.6723.44/third_party/libaom/BUILD.gn
if (is_android) {
deps += [ "//third_party/cpu_features:ndk_compat" ]
}
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/cmake_update.sh
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/cmake_update.sh
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/third_party/libaom/cmake_update.sh
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/cmake_update.sh
@@ -1
89
,6 +1
89
,9 @@
reset_dirs linux/arm64-cpu-detect
gen_config_files linux/arm64-cpu-detect
\
"${toolchain}/arm64-linux-gcc.cmake ${all_platforms}
"
--- chromium-13
1
.0.67
78.108
.orig/third_party/libaom/cmake_update.sh
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/cmake_update.sh
@@ -1
64
,6 +1
64
,9 @@
egrep \
"#define [A-Z0-9_]+[[:space:]]+[01]" "${CFG}/win/ia32/config/aom_config.h"
\
| awk '{print "%define " $2 " " $3}' > "${CFG}/win/ia32/config/aom_config.asm
"
+reset_dirs linux/ppc64
+gen_config_files linux/ppc64 "${toolchain}/ppc-linux-gcc.cmake ${all_platforms}"
+
# Copy linux configurations and modify for Windows.
reset_dirs win/
arm64-cpu-detect
cp "${CFG}/linux/
arm64-cpu-detect/config"/* \
reset_dirs win/
x64
cp "${CFG}/linux/
x64/config"/* "${CFG}/win/x64/config/"
This diff is collapsed.
Click to expand it.
patches/ppc64le/libaom/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
View file @
433c330c
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
===================================================================
--- /dev/null
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
@@ -0,0 +1,95 @@
+;
+; Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -98,10 +98,10 @@ Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/confi
+HAVE_VSX equ 1
+HAVE_WXWIDGETS equ 0
+STATIC_LINK_JXL equ 0
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
===================================================================
--- /dev/null
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -116,10 +116,10 @@ Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/confi
+#include "aom/aom_codec.h"
+static const char* const cfg = "cmake ../source/libaom -G \"Unix Makefiles\" -DCMAKE_TOOLCHAIN_FILE=\"../source/libaom/build/cmake/toolchains/ppc-linux-gcc.cmake\" -DCONFIG_AV1_DECODER=0 -DCONFIG_AV1_ENCODER=1 -DCONFIG_LIBYUV=0 -DCONFIG_AV1_HIGHBITDEPTH=0 -DCONFIG_AV1_TEMPORAL_DENOISING=1 -DCONFIG_QUANT_MATRIX=0 -DCONFIG_REALTIME_ONLY=1 -DCONFIG_SIZE_LIMIT=1 -DDECODE_HEIGHT_LIMIT=16384 -DDECODE_WIDTH_LIMIT=16384";
+const char *aom_codec_build_config(void) {return cfg;}
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
===================================================================
--- /dev/null
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -219,10 +219,10 @@ Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/confi
+#define HAVE_WXWIDGETS 0
+#define STATIC_LINK_JXL 0
+#endif // AOM_CONFIG_H_
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
===================================================================
--- /dev/null
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
@@ -0,0 +1,1501 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -1725,10 +1725,10 @@ Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/confi
+#endif
+
+#endif
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
===================================================================
--- /dev/null
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -1821,10 +1821,10 @@ Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/confi
+#endif
+
+#endif
Index: chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
Index: chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
===================================================================
--- /dev/null
+++ chromium-13
0
.0.67
23.44
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
+++ chromium-13
1
.0.67
78.108
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
@@ -0,0 +1,438 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
View file @
433c330c
...
...
@@ -10,10 +10,10 @@ More investigation required.
sandbox/linux/seccomp-bpf/trap.cc | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Index: chromium-13
0
.0.67
23.44
/sandbox/linux/seccomp-bpf/trap.cc
Index: chromium-13
1
.0.67
78.108
/sandbox/linux/seccomp-bpf/trap.cc
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-13
0
.0.67
23.44
/sandbox/linux/seccomp-bpf/trap.cc
--- chromium-13
1
.0.67
78.108
.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-13
1
.0.67
78.108
/sandbox/linux/seccomp-bpf/trap.cc
@@ -236,6 +236,20 @@
void Trap::SigSys(int nr, LinuxSigInfo*
SetIsInSigHandler();
}
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
View file @
433c330c
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH 1/1] sandbox: Enable seccomp_bpf for ppc64
sandbox/features.gni | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: chromium-13
0
.0.67
23.44
/sandbox/features.gni
Index: chromium-13
1
.0.67
78.108
/sandbox/features.gni
===================================================================
--- chromium-13
0
.0.67
23.44
.orig/sandbox/features.gni
+++ chromium-13
0
.0.67
23.44
/sandbox/features.gni
--- chromium-13
1
.0.67
78.108
.orig/sandbox/features.gni
+++ chromium-13
1
.0.67
78.108
/sandbox/features.gni
@@ -9,7 +9,8 @@
use_seccomp_bpf = (is_linux || is_chromeos || is_android) &&
(current_cpu == "x86" || current_cpu == "x64" ||
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
9
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment