This commit is contained in:
Alexander Frick 2023-04-23 04:14:22 -05:00
parent f8ef9aea5f
commit 0fa096f334
26 changed files with 3258 additions and 18 deletions

View file

@ -60,7 +60,6 @@ enable_widevine = true
bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

View file

@ -74,7 +74,6 @@ enable_widevine = true
bundle_widevine_cdm = false
enable_cdm_host_verification = false
# enable_widevine_cdm_component = true
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

View file

@ -74,7 +74,6 @@ enable_widevine = true
bundle_widevine_cdm = false
enable_cdm_host_verification = false
# enable_widevine_cdm_component = true
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

View file

@ -51,7 +51,6 @@ bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
# enable_media_foundation_widevine_cdm = true
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

View file

@ -56,7 +56,6 @@ bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

File diff suppressed because it is too large Load diff

View file

@ -56,7 +56,6 @@ bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

View file

@ -61,7 +61,6 @@ enable_widevine = true
bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

View file

@ -54,7 +54,6 @@ enable_widevine = true
bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

File diff suppressed because it is too large Load diff

View file

@ -56,7 +56,6 @@ enable_widevine = true
bundle_widevine_cdm = false
enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true

View file

@ -60,7 +60,6 @@ enable_widevine = true
bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

File diff suppressed because it is too large Load diff

View file

@ -52,7 +52,6 @@ bundle_widevine_cdm = false
# enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
enable_cdm_host_verification = false
enable_widevine_cdm_host_verification = false
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
# enable_media_overlay = true

View file

@ -24,6 +24,7 @@ displayHelp () {
printf "${bold}${YEL}Use the --woa flag for Windows on ARM builds.${c0}\n" &&
printf "${bold}${YEL}Use the --avx2 flag for AVX2 Builds.${c0}\n" &&
printf "${bold}${YEL}Use the --sse3 flag for SSE3 Builds.${c0}\n" &&
printf "${bold}${YEL}Use the --sse2 flag for 32 bit SSE2 Builds.${c0}\n" &&
printf "${bold}${YEL}Use the --android flag for Android Builds.${c0}\n" &&
printf "${bold}${YEL}IMPORTANT: For Polly builds, first run build_polly.sh in Thorium/infra, then use the setup_polly.sh${c0}\n" &&
printf "${bold}${YEL}script in Thorium/other/Polly. Both of these actions should be taken AFTER running this script!${c0}\n" &&
@ -121,7 +122,7 @@ copyAVX2 () {
printf "${YEL}Copying AVX2 build files...${c0}\n" &&
cp -r -v other/AVX2/build/config/* $HOME/chromium/src/build/config/ &&
cp -r -v other/AVX2/v8/* $HOME/chromium/src/v8/ &&
cp -r -v other/AVX2/third_party/opus/src/* $HOME/chromium/src/third_party/opus/src/ &&
cp -r -v other/AVX2/third_party/* $HOME/chromium/src/third_party/ &&
printf "\n"
}
case $1 in
@ -134,12 +135,25 @@ copySSE3 () {
printf "${YEL}Copying SSE3 build files...${c0}\n" &&
cp -r -v other/SSE3/build/config/* $HOME/chromium/src/build/config/ &&
cp -r -v other/SSE3/v8/* $HOME/chromium/src/v8/ &&
cp -r -v other/SSE3/third_party/* $HOME/chromium/src/third_party/ &&
printf "\n"
}
case $1 in
--sse3) copySSE3;
esac
# Copy SSE2 files
copySSE2 () {
printf "\n" &&
printf "${YEL}Copying SSE2 (32-bit) build files...${c0}\n" &&
cp -r -v other/SSE2/build/config/* $HOME/chromium/src/build/config/ &&
cp -r -v other/SSE2/third_party/* $HOME/chromium/src/third_party/ &&
printf "\n"
}
case $1 in
--sse2) copySSE2;
esac
# Copy Android files
copyAndroid () {
printf "\n" &&

View file

@ -344,6 +344,8 @@ if (!is_android && !is_mac) {
"//ui/base",
]
}
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
}
if (is_chromeos_ash || is_win) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 4.8 MiB

View file

@ -1,4 +1,4 @@
# Copyright (c) 2022 Alex313031.
# Copyright (c) 2023 Alex313031.
APT_GET="`command -v apt-get 2> /dev/null`"
APT_CONFIG="`command -v apt-config 2> /dev/null`"

View file

@ -1,4 +1,4 @@
// Copyright 2022 The Chromium Authors and Alex313031 and tomByrer.
// Copyright 2023 The Chromium Authors and Alex313031 and tomByrer.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

View file

@ -1,4 +1,4 @@
# Copyright 2022 The Chromium Authors and Alex313031. All rights reserved.
# Copyright 2023 The Chromium Authors and Alex313031
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

View file

@ -859,7 +859,7 @@ const base::FeatureParam<bool> kHardwareSecureDecryptionForceSupportClearLead{
// sub key systems. Which sub key system is experimental is key system specific.
BASE_FEATURE(kHardwareSecureDecryptionExperiment,
"HardwareSecureDecryptionExperiment",
base::FEATURE_ENABLED_BY_DEFAULT);
base::FEATURE_DISABLED_BY_DEFAULT);
// Allows automatically disabling hardware secure Content Decryption Module
// (CDM) after failures or crashes to fallback to software secure CDMs. If this

View file

@ -731,6 +731,9 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs,
configure_flags['Common'].extend([
# --optflags doesn't append multiple entries, so set all at once.
'--optflags="-O3"',
'--extra-cflags=-mavx',
'--extra-cflags=-maes',
'--extra-cflags=-mpclmul',
'--extra-cflags=-O3',
'--enable-decoder=theora,vp8',
'--enable-parser=vp3,vp8',

View file

@ -29,7 +29,7 @@ config("private_libgav1_config") {
# dsp intrinsics will generate much better code when optimized for speed
# rather than size.
if (!is_debug) {
#configs += [ "//build/config/compiler:optimize_max" ]
# configs += [ "//build/config/compiler:optimize_max" ]
}
if (current_cpu == "arm64" ||
(current_cpu == "arm" && arm_version >= 7 && arm_use_neon)) {

View file

@ -1265,7 +1265,7 @@ config("toolchain") {
defines += [ "V8_TARGET_ARCH_IA32" ]
if (is_win) {
# Ensure no surprising artifacts from 80bit double math with x86.
cflags += [ "/arch:SSE2" ]
cflags += [ "/O2", "/arch:SSE2" ]
}
}
if (v8_current_cpu == "x64") {