- add workaround for build error on aarch64 (highway) - update chromium-latest.py (removing unused sttuffs) - add bindgen for el8 build - add upstream patch to fix build dep in crabbyavifepel9
parent
3008fac76f
commit
172edf5cd4
@ -1,15 +0,0 @@
|
||||
diff -up chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h
|
||||
--- chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me 2024-06-12 13:09:47.539620293 -0400
|
||||
+++ chromium-126.0.6478.55/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h 2024-06-12 13:12:10.570739701 -0400
|
||||
@@ -10,9 +10,11 @@
|
||||
#include "partition_alloc/build_config.h"
|
||||
#include "partition_alloc/partition_alloc_buildflags.h"
|
||||
|
||||
+#if 0
|
||||
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
|
||||
#define HAS_HW_CAPS
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if defined(ARCH_CPU_ARM64) && defined(HAS_HW_CAPS)
|
||||
#include <asm/hwcap.h>
|
@ -0,0 +1,38 @@
|
||||
commit 89dcd2d419755421290f85e32617acabdd81cac1
|
||||
Author: lauren n. liberda <lauren@selfisekai.rocks>
|
||||
Date: Thu Jun 20 18:55:57 2024 +0000
|
||||
|
||||
unbundle: add missing dav1d targets
|
||||
|
||||
fixes "ERROR Unresolved dependencies.
|
||||
//third_party/crabbyavif:crabbyavif_dav1d_bindings(//build/toolchain/linux/unbundle:default)
|
||||
needs //third_party/dav1d:dav1d_config(//build/toolchain/linux/unbundle:default)
|
||||
//third_party/crabbyavif:crabbyavif_dav1d_bindings(//build/toolchain/linux/unbundle:default)
|
||||
needs //third_party/dav1d:dav1d_headers(//build/toolchain/linux/unbundle:default)"
|
||||
|
||||
Change-Id: I85442e5fb67a804985354570fba453cc619c83d7
|
||||
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5642761
|
||||
Reviewed-by: Lei Zhang <thestig@chromium.org>
|
||||
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
|
||||
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
|
||||
Cr-Commit-Position: refs/heads/main@{#1317534}
|
||||
|
||||
diff --git a/build/linux/unbundle/dav1d.gn b/build/linux/unbundle/dav1d.gn
|
||||
index 3d65158bc6144..a6d005a6622e3 100644
|
||||
--- a/build/linux/unbundle/dav1d.gn
|
||||
+++ b/build/linux/unbundle/dav1d.gn
|
||||
@@ -21,3 +21,14 @@ source_set("dav1d") {
|
||||
deps = [ ":dav1d_shim" ]
|
||||
public_configs = [ ":system_dav1d" ]
|
||||
}
|
||||
+
|
||||
+group("dav1d_headers") {
|
||||
+ public_deps = [ ":dav1d_shim" ]
|
||||
+}
|
||||
+
|
||||
+config("dav1d_config") {
|
||||
+ configs = [
|
||||
+ ":system_dav1d",
|
||||
+ ":dav1d_shim_config",
|
||||
+ ]
|
||||
+}
|
@ -0,0 +1,15 @@
|
||||
diff -up chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h
|
||||
--- chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me 2024-07-25 23:58:19.751616508 +0200
|
||||
+++ chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h 2024-07-26 00:01:46.391800969 +0200
|
||||
@@ -10,9 +10,11 @@
|
||||
#include "partition_alloc/build_config.h"
|
||||
#include "partition_alloc/partition_alloc_buildflags.h"
|
||||
|
||||
+#if 0
|
||||
#if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX)
|
||||
#define HAS_HW_CAPS
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if PA_BUILDFLAG(PA_ARCH_CPU_ARM64) && defined(HAS_HW_CAPS)
|
||||
#include <asm/hwcap.h>
|
@ -1,3 +1,15 @@
|
||||
diff -up chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me chromium-127.0.6533.72/build/rust/rust_bindgen.gni
|
||||
--- chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me 2024-07-25 16:11:18.754551595 +0200
|
||||
+++ chromium-127.0.6533.72/build/rust/rust_bindgen.gni 2024-07-25 16:11:33.997837660 +0200
|
||||
@@ -22,7 +22,7 @@ _libclang_path = rust_bindgen_root
|
||||
if (host_os == "win") {
|
||||
_libclang_path += "/bin"
|
||||
} else {
|
||||
- _libclang_path += "/lib"
|
||||
+ _libclang_path += "/lib64"
|
||||
}
|
||||
|
||||
# Template to build Rust/C bindings with bindgen.
|
||||
diff -up chromium-121.0.6167.57/build/config/clang/BUILD.gn.rust-clang_lib chromium-121.0.6167.57/build/config/clang/BUILD.gn
|
||||
--- chromium-121.0.6167.57/build/config/clang/BUILD.gn.rust-clang_lib 2024-01-10 16:43:01.000000000 +0100
|
||||
+++ chromium-121.0.6167.57/build/config/clang/BUILD.gn 2024-01-20 19:51:38.481992799 +0100
|
Loading…
Reference in new issue