mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 03:07:48 -03:00
M121 Final?
This commit is contained in:
parent
1d15a2468f
commit
173773c3cf
9 changed files with 21 additions and 17 deletions
4
arm/third_party/libaom/cmake_update.sh
vendored
4
arm/third_party/libaom/cmake_update.sh
vendored
|
@ -203,6 +203,6 @@ convert_to_windows "${CFG}/win/arm64-cpu-detect/config/aom_config.h"
|
|||
update_readme
|
||||
|
||||
# git cl format > /dev/null \
|
||||
echo "ERROR: 'git cl format' failed. Please run 'git cl format' manually."
|
||||
|
||||
# || echo "WARNING: 'git cl format' failed. Please run 'git cl format' manually."
|
||||
echo "NOTE: 'You may want to run \`git cl format\` manually."
|
||||
cleanup
|
||||
|
|
2
arm/third_party/libvpx/BUILD.gn
vendored
2
arm/third_party/libvpx/BUILD.gn
vendored
|
@ -1,4 +1,4 @@
|
|||
# Copyright 20124 The Chromium Authors and Alex313031
|
||||
# Copyright 2024 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.
|
||||
|
||||
|
|
|
@ -122,6 +122,7 @@ to enable Sync.
|
|||
## Setting up the build <a name="setup"></a>
|
||||
|
||||
First, we need to run `./trunk.sh` (in the root of the Thorium repo.) This will Rebase/Sync the Chromium repo, and revert it to stock Chromium.
|
||||
It will also fetch all the tags/branches, which is needed for the version.sh script.
|
||||
It should be used before every seperate build. See the [Updating](#updating) section.
|
||||
|
||||
__IMPORTANT__
|
||||
|
|
|
@ -1414,8 +1414,8 @@ config("toolchain") {
|
|||
}
|
||||
if (is_linux || is_chromeos) {
|
||||
# Full optimization for V8.
|
||||
cflags += [ "-O3", "-mavx2", "-mfma", "-maes" ]
|
||||
ldflags += [ "-Wl,-O3", "-mavx2", "-mfma", "-maes" ]
|
||||
cflags += [ "-O3", "-msse3", "-mssse3", "-msse4.1", "-msse4.2", "-mavx", "-maes", "-mavx2", "-mfma" ]
|
||||
ldflags += [ "-Wl,-O3", "-msse3", "-mssse3", "-msse4.1", "-msse4.2", "-mavx", "-maes", "-mavx2", "-mfma" ]
|
||||
}
|
||||
}
|
||||
if (is_android && v8_android_log_stdout) {
|
||||
|
|
|
@ -1409,13 +1409,13 @@ config("toolchain") {
|
|||
# Increase the initial stack size. The default is 1MB, this is 2MB. This
|
||||
# applies only to executables and shared libraries produced by V8 since
|
||||
# ldflags are not pushed to dependants.
|
||||
cflags += [ "/O2", "-msse4.1" ]
|
||||
cflags += [ "/O2", "-msse3", "-mssse3", "-msse4.1" ]
|
||||
ldflags += [ "/STACK:2097152" ]
|
||||
}
|
||||
if (is_linux || is_chromeos) {
|
||||
# Full optimization for V8.
|
||||
cflags += [ "-O3", "-msse4.1" ]
|
||||
ldflags += [ "-Wl,-O3", "-msse4.1" ]
|
||||
cflags += [ "-O3", "-msse3", "-mssse3", "-msse4.1" ]
|
||||
ldflags += [ "-Wl,-O3", "-msse3", "-mssse3", "-msse4.1" ]
|
||||
}
|
||||
}
|
||||
if (is_android && v8_android_log_stdout) {
|
||||
|
|
|
@ -1015,7 +1015,7 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs,
|
|||
configure_flags['Chrome'].extend([
|
||||
'--enable-decoder=aac,h264,mp3,eac3,ac3,hevc,mpeg4,mpegvideo,mp2,mp1,flac',
|
||||
'--enable-demuxer=aac,mp3,mov,dtshd,dts,avi,mpegvideo,m4v,eac3,ac3,h264,vc1,flac',
|
||||
'--enable-parser=aac,h264,mpegaudio,mpeg4video,mpegvideo,eac3,ac3,h261,vc1,h263,flac',
|
||||
'--enable-parser=aac,h264,hevc,mpegaudio,mpeg4video,mpegvideo,eac3,ac3,h261,vc1,h263,flac',
|
||||
])
|
||||
|
||||
# Google ChromeOS specific configuration.
|
||||
|
|
9
src/third_party/blink/common/features.cc
vendored
9
src/third_party/blink/common/features.cc
vendored
|
@ -310,9 +310,10 @@ const base::FeatureParam<int> kBoostImagePriorityTightMediumLimit{
|
|||
|
||||
// https://github.com/patcg-individual-drafts/topics
|
||||
// Kill switch for the Topics API.
|
||||
// Disabled by Alex313031
|
||||
BASE_FEATURE(kBrowsingTopics,
|
||||
"BrowsingTopics",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
|
||||
// If enabled, the check for whether the IP address is publicly routable will be
|
||||
// bypassed when determining the eligibility for a page to be included in topics
|
||||
|
@ -1010,9 +1011,10 @@ const char kIntensiveWakeUpThrottling_GracePeriodSeconds_Name[] =
|
|||
|
||||
// Kill switch for the Interest Group API, i.e. if disabled, the
|
||||
// API exposure will be disabled regardless of the OT config.
|
||||
// Disabled by Alex313031
|
||||
BASE_FEATURE(kInterestGroupStorage,
|
||||
"InterestGroupStorage",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
// TODO(crbug.com/1197209): Adjust these limits in response to usage.
|
||||
const base::FeatureParam<int> kInterestGroupStorageMaxOwners{
|
||||
&kInterestGroupStorage, "max_owners", 1000};
|
||||
|
@ -1492,9 +1494,10 @@ BASE_FEATURE(kPrivacySandboxAdsAPIs,
|
|||
// Enables the Private Aggregation API. Note that this API also requires the
|
||||
// `kPrivacySandboxAggregationService` to be enabled to successfully send
|
||||
// reports.
|
||||
// Disabled by Alex313031
|
||||
BASE_FEATURE(kPrivateAggregationApi,
|
||||
"PrivateAggregationApi",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
|
||||
// Selectively allows the JavaScript API to be disabled in just one of the
|
||||
// contexts. The Protected Audience param's name has not been updated (from
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
# Copyright 2024 The Chromium Authors
|
||||
# Copyright 2024 The Chromium Authors, Midzer, and Alex313031
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
'''Runs benchmarks as described in docs/pgo.md, and similar to the PGO bots.
|
||||
|
@ -95,7 +95,7 @@ def main():
|
|||
# See also https://crbug.com/1478279
|
||||
builddir = os.path.realpath(args.builddir)
|
||||
if sys.platform == 'darwin':
|
||||
chrome_path = f'{builddir}/Chromium.app/Contents/MacOS/Chromium'
|
||||
chrome_path = f'{builddir}/Thorium.app/Contents/MacOS/Thorium'
|
||||
elif args.android_browser:
|
||||
chrome_path = None
|
||||
if not args.android_device_path:
|
||||
|
@ -108,7 +108,7 @@ def main():
|
|||
args.android_device_path = (
|
||||
f'/data/data/{package}/cache/pgo_profiles')
|
||||
else:
|
||||
chrome_path = f'{builddir}/chrome' + exe_ext
|
||||
chrome_path = f'{builddir}/thorium' + exe_ext
|
||||
profiledir = f'{builddir}/profile'
|
||||
|
||||
def run_benchmark(benchmark_args):
|
||||
|
|
|
@ -1414,8 +1414,8 @@ config("toolchain") {
|
|||
}
|
||||
if (is_linux || is_chromeos) {
|
||||
# Full optimization for V8.
|
||||
cflags += [ "-O3", "-mavx", "-maes" ]
|
||||
ldflags += [ "-Wl,-O3", "-mavx", "-maes" ]
|
||||
cflags += [ "-O3", "-msse3", "-mssse3", "-msse4.1", "-msse4.2", "-mavx", "-maes" ]
|
||||
ldflags += [ "-Wl,-O3", "-msse3", "-mssse3", "-msse4.1", "-msse4.2", "-mavx", "-maes" ]
|
||||
}
|
||||
}
|
||||
if (is_android && v8_android_log_stdout) {
|
||||
|
|
Loading…
Reference in a new issue