mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
Added accelerated compilation time
This commit is contained in:
parent
f11a1a7f9c
commit
1d7f5e01fd
2 changed files with 14 additions and 29 deletions
|
@ -81,6 +81,7 @@ Patch502: chromium-45.0.2454.101-system-icu-54-does-not-have-detectHostTimeZone.
|
|||
# Chromium bug #541273
|
||||
# fix build with icu other than 54
|
||||
Patch504: chromium-system-icu-r0.patch
|
||||
|
||||
# https://aur.archlinux.org/packages/chromium-vaapi/
|
||||
Patch508: chromium-vaapi-r20.patch
|
||||
Patch509: chromium-widevine-r2.patch
|
||||
|
@ -90,8 +91,6 @@ Patch600: chromium-buildname-60.0.3112.90.patch
|
|||
# Patch to fix build
|
||||
Patch601: chromium-62-include-cstdlib.patch
|
||||
|
||||
# From gentoo
|
||||
Patch602: chromium-gcc5-r4.patch
|
||||
# https://github.com/RussianFedora/chromium/blob/fedora-stable/chromium-66.0.3359.81-system-clang.patch
|
||||
Patch603: chromium-66.0.3359.81-system-clang.patch
|
||||
# http://ftp.riken.jp/Linux/gentoo/www-client/chromium/files/
|
||||
|
@ -316,7 +315,6 @@ members of the Chromium and WebDriver teams.
|
|||
|
||||
%patch600 -p1
|
||||
%patch601 -p1
|
||||
%patch602 -p1
|
||||
|
||||
%patch603 -p1
|
||||
%patch604 -p1
|
||||
|
@ -555,7 +553,7 @@ ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
|||
%define use_gold true
|
||||
%endif
|
||||
|
||||
%if 0%{?clang}
|
||||
%if 0%{clang}
|
||||
%define is_clang true
|
||||
%else
|
||||
%define is_clang false
|
||||
|
@ -564,19 +562,27 @@ ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
|||
# widevinecdmadapter
|
||||
# Build error with widevinecdmadapter in 67.0.3396.62
|
||||
%define widevine 1
|
||||
%if 0%{?widevine}
|
||||
%if 0%{widevine}
|
||||
%define is_widevine true
|
||||
%else
|
||||
%define is_widevine false
|
||||
%endif
|
||||
|
||||
%define lld 1
|
||||
%if 0%{?lld}
|
||||
%if 0%{lld}
|
||||
%define is_lld true
|
||||
%else
|
||||
%define is_lld false
|
||||
%endif
|
||||
|
||||
# https://chromium.googlesource.com/chromium/src/+/master/docs/jumbo.md
|
||||
%define jumbo 1
|
||||
%if 0%{jumbo}
|
||||
%define is_jumbo true
|
||||
%else
|
||||
%define is_jumbo false
|
||||
%endif
|
||||
|
||||
# v NO TABS IN HERE!
|
||||
%define gn_config use_sysroot=false \
|
||||
system_libdir="%{_lib}" \
|
||||
|
@ -605,11 +611,12 @@ ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
|||
is_clang=%{is_clang} \
|
||||
clang_use_chrome_plugins=false \
|
||||
clang_base_path="/usr" \
|
||||
use_jumbo_build = %{is_jumbo} \
|
||||
use_lld=%{is_lld} \
|
||||
use_vaapi=true \
|
||||
use_system_freetype=true \
|
||||
use_system_harfbuzz=true \
|
||||
use_system_libpng=true \
|
||||
use_vaapi=true \
|
||||
v8_use_external_startup_data=false \
|
||||
google_api_key="%{google_api_key}" \
|
||||
google_default_client_id="%{google_default_client_id}" \
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
--- a/gpu/ipc/common/mailbox_struct_traits.h
|
||||
+++ b/gpu/ipc/common/mailbox_struct_traits.h
|
||||
@@ -15,7 +15,7 @@ namespace mojo {
|
||||
template <>
|
||||
struct StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox> {
|
||||
static base::span<const int8_t> name(const gpu::Mailbox& mailbox) {
|
||||
- return mailbox.name;
|
||||
+ return base::make_span(mailbox.name);
|
||||
}
|
||||
static bool Read(gpu::mojom::MailboxDataView data, gpu::Mailbox* out);
|
||||
};
|
||||
--- a/services/viz/public/cpp/compositing/quads_struct_traits.h
|
||||
+++ b/services/viz/public/cpp/compositing/quads_struct_traits.h
|
||||
@@ -303,7 +303,7 @@ struct StructTraits<viz::mojom::TextureQuadStateDataView, viz::DrawQuad> {
|
||||
static base::span<const float> vertex_opacity(const viz::DrawQuad& input) {
|
||||
const viz::TextureDrawQuad* quad =
|
||||
viz::TextureDrawQuad::MaterialCast(&input);
|
||||
- return quad->vertex_opacity;
|
||||
+ return base::make_span(quad->vertex_opacity);
|
||||
}
|
||||
|
||||
static bool y_flipped(const viz::DrawQuad& input) {
|
Loading…
Add table
Reference in a new issue