third_party cflags and ninja_status

This commit is contained in:
Alexander Frick 2023-06-27 20:50:47 -05:00
parent 792689dc7f
commit f15d84dfb7
15 changed files with 58 additions and 4 deletions

3
.gitignore vendored
View File

@ -6,7 +6,10 @@ API_KEYS.txt
*.AppImage
*.zip
*.apk
mini_installer.exe
thorium_mini_installer.exe
thorium_SSE2_mini_installer.exe
thorium_SSE3_mini_installer.exe
thorium_AVX2_mini_installer.exe
thorium_mini_installer_SSE2.exe
thorium_mini_installer_SSE3.exe

View File

@ -1846,6 +1846,12 @@ config("no_chromium_code") {
cflags_cc = []
defines = []
if (is_win) {
cflags += [ "/O2" ]
} else {
cflags += [ "-O3" ]
}
if (is_win) {
if (is_clang) {
cflags += [ "/W3" ] # Warning level 3.

View File

@ -1821,6 +1821,12 @@ config("no_chromium_code") {
cflags_cc = []
defines = []
if (is_win) {
cflags += [ "/O2" ]
} else {
cflags += [ "-O3" ]
}
if (is_win) {
if (is_clang) {
cflags += [ "/W3" ] # Warning level 3.

View File

@ -32,6 +32,7 @@ printf "${CYA}\n" &&
# Build Thorium
export NINJA_SUMMARIZE_BUILD=1 &&
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
./depot_tools/autoninja -C ${CR_SRC_DIR}/out/thorium chrome chrome_sandbox chromedriver clear_key_cdm thorium_shell -j$@ &&

View File

@ -62,6 +62,7 @@ esac
# Build Thorium for ARM64
export NINJA_SUMMARIZE_BUILD=1 &&
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
# ADD # thorium_shell_apk
./depot_tools/autoninja -C ${CR_SRC_DIR}/out/thorium content_shell_apk chrome_public_apk -j$@ &&

View File

@ -62,6 +62,7 @@ printf "${CYA}\n" &&
# Build Thorium
export NINJA_SUMMARIZE_BUILD=1 &&
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
./depot_tools/autoninja -C ${CR_SRC_DIR}/out/thorium chrome chromedriver -j$@ &&

View File

@ -32,6 +32,7 @@ printf "${GRE}\n" &&
# Build Thorium and mini_installer
export NINJA_SUMMARIZE_BUILD=1 &&
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
./depot_tools/autoninja -C ~/chromium/src/out/thorium chrome chromedriver clear_key_cdm thorium_shell setup mini_installer -j$@ &&

View File

@ -1,6 +1,6 @@
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/Thorium90_504.jpg" width="200">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/Thorium90_504.jpg" width="200">
## List of patches/changes/features included in Thorium <img src="https://raw.githubusercontent.com/Alex313031/Thorium/main/logos/NEW/patches.png" width="32">
## List of patches/changes/features included in Thorium <img src="https://raw.githubusercontent.com/Alex313031/thorium/main/logos/NEW/patches.png" width="32">
Compiler modifications include SSE4.2, AVX, AES, and CFLAGS, LTO flags, and import_instr_limit flags set to /03, 3, and 30, respectively. \
NEW > Added some LLVM LOOP optimizations as -mllvm flags. See here > https://github.com/RobRich999/Chromium_Clang/issues/26#issuecomment-976883814
@ -101,7 +101,7 @@ Always Show Component Extensions Patch > https://github.com/iridium-browser/irid
Increase default key length for newly-generated RSA keys from 1024 to 2048 Patch > https://github.com/iridium-browser/iridium-browser/commit/d016769081706d591188b5b2929c5fc2efd8ef20
Enable UI Features: Side Search, Side Panel Journeys, Chrome Labs, Extensions Access Menu, Tab Hover Cards, WebUI Tab Strip, Drag and Drop Tabs on Wayland, Tab Groups Saving > https://github.com/Alex313031/Thorium/blob/main/chrome/browser/ui/ui_features.cc
Enable UI Features: Side Search, Side Panel Journeys, Chrome Labs, Extensions Access Menu, Tab Hover Cards, WebUI Tab Strip, Drag and Drop Tabs on Wayland, Tab Groups Saving > https://github.com/Alex313031/thorium/blob/main/chrome/browser/ui/ui_features.cc
- Made by me.
Tab Outlines in Low Contrast Themes, More Prominent Active Tab Title in Dark Mode: Restore after they removed it in M113 >
@ -163,7 +163,7 @@ Enable HEVC/H.265 Decoding Patch - https://github.com/StaZhu/enable-chromium-hev
Allow all HEVC Video Profiles to Play Patch - https://github.com/StaZhu/enable-chromium-hevc-hardware-decoding/blob/main/remove-main-main10-profile-limit.patch
Enable AC3 and EAC3 for HEVC Patch - https://github.com/Muril-o/electron-chromium-codecs
- https://github.com/Alex313031/Thorium/commit/46893f326c42b08a56769f3de6743aec049b2091#diff-09b3d55a8198fc42186bfd6bf5869fe78b8edad6f67e75b78228446f1d7cf66f
- https://github.com/Alex313031/thorium/commit/46893f326c42b08a56769f3de6743aec049b2091#diff-09b3d55a8198fc42186bfd6bf5869fe78b8edad6f67e75b78228446f1d7cf66f
Show the Apps button in Bookmarks Bar by Default Patch - Made by me.
@ -198,6 +198,9 @@ Installer patches to include unstripped and RPATH binaries, with chrome_sandbox
Patches for mini_installer and abseil when using AVX on Windows. Credit goes to @RobRich999
"Ctrl+Shift+Q" to close all windows (exit) "Ctrl+Shift+K" to open a new tab to the right "Ctrl+Shift+D" to duplicate the current tab "Ctrl+Shift+P" to pop out the current tab into a new window
- https://github.com/Alex313031/thorium/blob/main/src/chrome/browser/ui/views/accelerator_table.cc
The Thorium .desktop file and content-shell .desktop file have flags added for experimental and useful features, namely: Disabling the Default Browser check and InfoBar, Experimental web platform features, and Experimental Canvas2D.
- Modified by me.

View File

@ -1838,6 +1838,12 @@ config("no_chromium_code") {
cflags_cc = []
defines = []
if (is_win) {
cflags += [ "/O2" ]
} else {
cflags += [ "-O3" ]
}
if (is_win) {
if (is_clang) {
cflags += [ "/W3" ] # Warning level 3.

View File

@ -1821,6 +1821,12 @@ config("no_chromium_code") {
cflags_cc = []
defines = []
if (is_win) {
cflags += [ "/O2" ]
} else {
cflags += [ "-O3" ]
}
if (is_win) {
if (is_clang) {
cflags += [ "/W3" ] # Warning level 3.

View File

@ -1839,6 +1839,12 @@ config("no_chromium_code") {
cflags_cc = []
defines = []
if (is_win) {
cflags += [ "/O2" ]
} else {
cflags += [ "-O3" ]
}
if (is_win) {
if (is_clang) {
cflags += [ "/W3" ] # Warning level 3.

View File

@ -1835,6 +1835,12 @@ config("no_chromium_code") {
cflags_cc = []
defines = []
if (is_win) {
cflags += [ "/O2" ]
} else {
cflags += [ "-O3" ]
}
if (is_win) {
if (is_clang) {
cflags += [ "/W3" ] # Warning level 3.

View File

@ -41,6 +41,7 @@ printf "${CYA}\n" &&
# Build debian package
export NINJA_SUMMARIZE_BUILD=1 &&
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
./depot_tools/autoninja -C ${CR_SRC_DIR}/out/thorium "chrome/installer/linux:stable_deb" "chrome/installer/linux:stable_rpm" -j$@ &&

View File

@ -200,6 +200,7 @@ printf "\n" &&
printf "${YEL}Exporting variables and setting handy aliases...\n" &&
export NINJA_SUMMARIZE_BUILD=1 &&
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
export EDITOR=nano &&

View File

@ -1830,6 +1830,12 @@ config("no_chromium_code") {
cflags_cc = []
defines = []
if (is_win) {
cflags += [ "/O2" ]
} else {
cflags += [ "-O3" ]
}
if (is_win) {
if (is_clang) {
cflags += [ "/W3" ] # Warning level 3.