Merge branch 'Alex313031:main' into main

This commit is contained in:
Ho Cheung 2023-10-11 10:22:02 +08:00 committed by GitHub
commit 0e0765287f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
53 changed files with 939 additions and 319 deletions

View File

@ -1,6 +1,6 @@
# Thorium Code of Conduct <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/COC_Light.png#gh-dark-mode-only" width="32"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/COC_Dark.png#gh-light-mode-only" width="32">
# Thorium Code of Conduct <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/COC_Light.png#gh-dark-mode-only" width="32"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/COC_Dark.png#gh-light-mode-only" width="32">
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/Thorium_COC_Light.png#gh-dark-mode-only" width="256"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/Thorium_COC_Dark.png#gh-light-mode-only" width="256">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/Thorium_COC_Light.png#gh-dark-mode-only" width="256"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/Thorium_COC_Dark.png#gh-light-mode-only" width="256">
The Thorium Authors and the Chromium team are committed to preserving and fostering a
diverse, welcoming community. Below is our community code of conduct, which

View File

@ -1,14 +1,14 @@
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/alex313031/thorium?label=Version%3A) &nbsp;![GitHub](https://img.shields.io/github/license/alex313031/thorium?color=green&label=License%3A) &nbsp;![GitHub commit activity](https://img.shields.io/github/commit-activity/w/alex313031/thorium?color=blueviolet&label=Commit%20Activity%3A) &nbsp;![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/ChromiumBrowser?style=social)
# Thorium
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/thorium_ver_2048_grey_old.png">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/thorium_ver_2048_grey_old.png">
## Chromium fork for linux named after [radioactive element No. 90](https://en.wikipedia.org/wiki/Thorium). Windows/MacOS/RasPi/Android/Other builds see below.
- Always built with the latest stable version of [Chromium](https://www.chromium.org/).
- Intended to behave like and have the featureset of Google Chrome, with differences/patches/enhancements listed below.
- Includes [Widevine](https://www.widevine.com/), [All Codecs](https://tools.woolyss.com/html5-audio-video-tester/), Chrome Plugins, as well as thinLTO, CFlag, LDFlag, LLVM Loop, and PGO compiler optimizations. It is built with [SSE4](https://en.wikipedia.org/wiki/SSE4), [AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions), and [AES](https://en.wikipedia.org/wiki/AES_instruction_set), so it won't launch on CPU's below 2nd gen Core or AMD FX, but benefits from Advanced Vector EXtensions. If your CPU lacks AVX, you can use builds from [Thorium Special](https://github.com/Alex313031/Thorium-Special).
### Other Builds &nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/winflag_animated.gif" width="34"> &nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/AVX2.png" width="48"> &nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/apple.png" width="30"> &nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/Android_Robot.svg" width="26"> &nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/Raspberry_Pi_Logo.svg" width="24"> &nbsp;<img src="https://raw.githubusercontent.com/Alex313031/thorium-win7/main/logos/STAGING/win7/compatible-with-windows-7.png" width="28">
### Other Builds &nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/winflag_animated.gif" width="34"> &nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/AVX2.png" width="48"> &nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/apple.png" width="30"> &nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/Android_Robot.svg" width="26"> &nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/Raspberry_Pi_Logo.svg" width="24"> &nbsp;<img src="https://raw.githubusercontent.com/Alex313031/thorium-win7/main/logos/STAGING/win7/compatible-with-windows-7.png" width="28">
&nbsp;&ndash; Windows builds are here > [Thorium Win](https://github.com/Alex313031/Thorium-Win) \
&nbsp;&ndash; AVX2 Builds for Windows and Linux > [Thorium AVX2](https://github.com/Alex313031/Thorium-AVX2) \
&nbsp;&ndash; MacOS (M1 and X64) builds are located at > [Thorium Mac](https://github.com/Alex313031/Thorium-Mac) \
@ -18,8 +18,8 @@
&nbsp;&ndash; Thorium Website with deb repo for auto-updating on Linux > https://thorium.rocks/ \
&nbsp;&ndash; __NEW__: Windows 7 / 8 / 8.1 / Server 2012 builds in > [Thorium Win7](https://github.com/Alex313031/thorium-win7)
### FEATURES & DIFFERENCES BETWEEN CHROMIUM AND THORIUM <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/bulb_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/bulb_dark.svg#gh-light-mode-only">
> - Various compiler flags that improve performance and target [AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) CPU's (read [PATCHES.md](https://github.com/Alex313031/Thorium/blob/main/infra/PATCHES.md))
### FEATURES & DIFFERENCES BETWEEN CHROMIUM AND THORIUM <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/bulb_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/bulb_dark.svg#gh-light-mode-only">
> - Various compiler flags that improve performance and target [AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) CPU's (read [PATCHES.md](https://github.com/Alex313031/thorium/blob/main/infra/PATCHES.md))
> - Experimental [MPEG-DASH](https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP) support.
> - HEVC/H.265 support on Linux and Windows.
> - [JPEG XL](https://jpeg.org/jpegxl/) Image File Format turned on by default.
@ -44,22 +44,22 @@
> - Remove the addition of the Chrome APT sources.list during installation.
> - Widevine CDM Patch for Linux.
> - GTK auto dark mode patch
> - Various new flags either developed from scratch, or added from Ungoogled Chromium. See [PATCHES.md](https://github.com/Alex313031/Thorium/blob/main/infra/PATCHES.md)
> - Various new flags either developed from scratch, or added from Ungoogled Chromium. See [PATCHES.md](https://github.com/Alex313031/thorium/blob/main/infra/PATCHES.md)
> - Enable Parallel Downloading by Default.
> - Inclusion of <img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/pak.png" width="16"> [pak](https://github.com/Alex313031/Thorium/tree/main/pak_src#readme) (Linux) and [pak_mingw](https://github.com/Alex313031/Thorium/tree/main/pak_src/bin/pak-win) (Windows), a utility for packing and unpacking the [&#42;.pak](https://textslashplain.com/2022/05/03/chromium-internals-pak-files/) files in Thorium or any other Chromium based browser.
> - Inclusion of <img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/pak.png" width="16"> [pak](https://github.com/Alex313031/thorium/tree/main/pak_src#readme) a utility for packing and unpacking the [&#42;.pak](https://textslashplain.com/2022/05/03/chromium-internals-pak-files/) files in Thorium or any other Chromium based browser.
> - Logo and Branding/Naming changed to the Thorium logo, Thorium name, and "Alex313031" being appended to "The Chromium Authors" in credits, etc.
> - .desktop file includes useful cmdline flags that enable experimental or useful features. (See [PATCHES.md](https://github.com/Alex313031/Thorium/blob/main/infra/PATCHES.md))
> - .desktop file includes useful cmdline flags that enable experimental or useful features. (See [PATCHES.md](https://github.com/Alex313031/thorium/blob/main/infra/PATCHES.md))
> - Includes installer patches and files to include [ChromeDriver](https://chromedriver.chromium.org/home) and *thorium_shell* [(content_shell)](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/web_tests_in_content_shell.md), with a .desktop file being provided for thorium_shell (named thorium-shell.desktop and shows in desktop environments as Thorium Content Shell). These are also included in the Windows releases, but it doesn't make a shorcut, although a .png and .ico is in the install directory for you to make your own shortcut with an icon. You can also run content_shell with the command thorium-shell (custom wrapper for it, located in /usr/bin/). You can run ChromeDriver at /usr/bin/chromedriver or chromedriver.exe on Windows. Also, patches for abseil library and mini_installer when building with AVX on Windows.
> - Right clicking the launcher after install gives three additional desktop actions, one to open thorium-shell, another to open in Safe Mode which disables any flags one has set in chrome://flags until the next launch, and lastly to open in Dark Mode which appends the --force-dark-mode flag.
- For more info, read the [PATCHES.md](https://github.com/Alex313031/Thorium/blob/main/infra/PATCHES.md) file.
- Known bugs are in the [BUGS.md](https://github.com/Alex313031/Thorium/blob/main/infra/BUGS.md) file.
- For more info, read the [PATCHES.md](https://github.com/Alex313031/thorium/blob/main/infra/PATCHES.md) file.
- Known bugs are in the [BUGS.md](https://github.com/Alex313031/thorium/blob/main/infra/BUGS.md) file.
- A list of Chromium command line flags can be found at > https://peter.sh/experiments/chromium-command-line-switches
## Building <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
See > https://github.com/Alex313031/Thorium/blob/main/docs/BUILDING.md
## Building <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
See > https://github.com/Alex313031/thorium/blob/main/docs/BUILDING.md
## Debugging <img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/bug.svg" width="28">
See > https://github.com/Alex313031/Thorium/tree/main/infra/DEBUG#readme
## Debugging <img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/bug.svg" width="28">
See > https://github.com/Alex313031/thorium/tree/main/infra/DEBUG#readme
-------
&nbsp;&minus; https://www.reddit.com/r/ChromiumBrowser/ is a subreddit I made for Thorium and general Thorium/Chromium discussion, https://thorium.rocks/ is the website I made for it, and https://alex313031.blogspot.com/ is a blog I made relating to Thorium/ThoriumOS. \
@ -70,10 +70,10 @@ See > https://github.com/Alex313031/Thorium/tree/main/infra/DEBUG#readme
&nbsp;&minus; Also thanks to https://github.com/bromite/bromite, https://github.com/saiarcot895/chromium-ubuntu-build, https://github.com/Eloston/ungoogled-chromium, https://github.com/GrapheneOS/Vanadium, and https://github.com/iridium-browser/iridium-browser for patch code. \
&nbsp;&minus; The pak_src dir, and the binaries in *pack_src/bin* are credited to @freeer https://github.com/myfreeer/chrome-pak-customizer/
&nbsp;&nbsp; __NOTE:__ [*libpepflashplayer.so*](https://github.com/Alex313031/Thorium/blob/main/infra/libpepflashplayer.so) is included for posterity and can be used to enable Adobe Flash on older Chromium releases. ʘ‿ʘ
&nbsp;&nbsp; __NOTE:__ [*libpepflashplayer.so*](https://github.com/Alex313031/thorium/blob/main/infra/libpepflashplayer.so) is included for posterity and can be used to enable Adobe Flash on older Chromium releases. ʘ‿ʘ
*Thanks for using Thorium!*
<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">
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/GitHub/GitHub-Mark-Light-32px.png#gh-dark-mode-only"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/GitHub/GitHub-Mark-32px.png#gh-light-mode-only">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/GitHub/GitHub-Mark-Light-32px.png#gh-dark-mode-only"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/GitHub/GitHub-Mark-32px.png#gh-light-mode-only">

View File

@ -1,10 +1,11 @@
## Thorium for ARM CPUs <img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/arm_logo.png" width="128">
This contains a special [*BUILD.gn*](https://github.com/Alex313031/Thorium/blob/main/arm/config/compiler/BUILD.gn) file for making an ARM32/ARM64 build of Thorium for Raspberry Pi or Windows. Just run `setup_arm.sh` in here after running the normal `setup.sh` that's in the root of this repo.
## Thorium for ARM CPUs <img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/arm_logo.png" width="128">
This contains a special [*BUILD.gn*](https://github.com/Alex313031/thorium/blob/main/arm/config/compiler/BUILD.gn) file for making an ARM64 build of Thorium for Raspberry Pi or Windows.
Run `setup.sh --help` from the root of this repo for more information. You could use the `--raspi` flag for a Raspberry Pi build, or `--woa` for a Windows on ARM build.
__NOTE:__ This dir is only for Raspberry Pi and Windows On ARM. For regular Linux ARM builds, and MacOS ARM builds, you can just use the regular files in the repo.
- Windows On ARM (WoA) Builds: Use the [win_ARM_args.gn](https://github.com/Alex313031/Thorium/blob/main/arm/win_ARM_args.gn) file for your *args.gn*.
- Windows On ARM (WoA) Builds: Use the [win_ARM_args.gn](https://github.com/Alex313031/thorium/blob/main/arm/win_ARM_args.gn) file for your *args.gn*.
## Raspberry Pi Builds &nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/Raspberry_Pi_Logo.svg" width="28">
__IMPORTANT:__ For a [Raspberry Pi](https://www.raspberrypi.org/) build (ARM64), the contents of [raspi_arm.gni](https://github.com/Alex313031/Thorium/blob/main/arm/raspi_arm.gni) should be manually copied and used in *//chromium/src/build/config/arm.gni*, AND the contents of [raspi_args.gn](https://github.com/Alex313031/Thorium/blob/main/arm/raspi_args.gn) should be used for your *args.gn*. \
__&ndash;&nbsp;Note that ARM32 Raspberry Pi builds of Thorium are not supported.__ They should only be used on Raspi 3B, 3B+, 4, and 400 models with a 64 Bit OS. For more info, see > [Here](https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/).
## Raspberry Pi Builds &nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/Raspberry_Pi_Logo.svg" width="28">
Note that ARM32 Raspberry Pi builds of Thorium are not supported.__ They should only be used on Raspi 3B, 3B+, 4, and 400 models with a 64 Bit OS.
For more info, see > [Here](https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/).

View File

@ -318,7 +318,7 @@ def SetupWindowsCrossCompileToolchain(target_arch):
'--ar=llvm-ar',
# Separate from optflags because configure strips it from msvc builds...
'--extra-cflags=-O2',
'--extra-cflags=-O3',
]
if target_arch == 'ia32':
@ -739,7 +739,7 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs,
else:
configure_flags['Common'].extend([
# --optflags doesn't append multiple entries, so set all at once.
'--optflags="-O2"',
'--optflags="-O3"',
'--enable-decoder=theora,vp8',
'--enable-parser=vp3,vp8',
])
@ -831,7 +831,7 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs,
# NOTE: we don't need softfp for this hardware.
'--extra-cflags=-mfloat-abi=hard',
# For some reason configure drops this...
'--extra-cflags=-O2',
'--extra-cflags=-O3',
])
if target_arch == 'arm-neon':

View File

@ -723,7 +723,7 @@ config("compiler") {
"/opt:lldltojobs=all",
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-import-cold-multiplier=2",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
@ -1124,7 +1124,7 @@ config("compiler_cpu_abi") {
"-maes",
"-mpclmul",
]
ldflags += [ "-m64", "-Wl,-O3", "-mavx", "-maes", "-mpclmul", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=4", ]
ldflags += [ "-m64", "-Wl,-O3", "-mavx", "-maes", "-mpclmul", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=2", ]
} else if (current_cpu == "x86") {
cflags += [ "-m32" ]
ldflags += [ "-m32", "-Wl,-O3", "-msse3", ]
@ -1429,6 +1429,18 @@ config("compiler_cpu_abi") {
asmflags = cflags
}
config("march-dotprod") {
if (!is_win || is_clang) {
cflags = [ "-march=armv8.2-a+dotprod" ]
}
}
config("march-i8mm") {
if (!is_win || is_clang) {
cflags = [ "-march=armv8.2-a+dotprod+i8mm" ]
}
}
# This provides options to tweak code generation that are necessary
# for particular Chromium code or for working around particular
# compiler bugs (or the combination of the two).

View File

@ -723,7 +723,7 @@ config("compiler") {
"/opt:lldltojobs=all",
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-import-cold-multiplier=2",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
@ -1147,8 +1147,8 @@ config("compiler_cpu_abi") {
} else if (current_cpu == "arm64") {
if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
!(is_chromeos_lacros && is_chromeos_device)) {
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
cflags += [ "--target=aarch64-linux-gnu", "-march=armv8-a+crc", "-mcpu=cortex-a72", "-mtune=cortex-a72", ]
ldflags += [ "--target=aarch64-linux-gnu", "-march=armv8-a+crc", ]
}
} else if (current_cpu == "mipsel" && !is_nacl) {
ldflags += [ "-Wl,--hash-style=sysv" ]
@ -1414,6 +1414,18 @@ config("compiler_cpu_abi") {
asmflags = cflags
}
config("march-dotprod") {
if (!is_win || is_clang) {
cflags = [ "-march=armv8.2-a+dotprod" ]
}
}
config("march-i8mm") {
if (!is_win || is_clang) {
cflags = [ "-march=armv8.2-a+dotprod+i8mm" ]
}
}
# This provides options to tweak code generation that are necessary
# for particular Chromium code or for working around particular
# compiler bugs (or the combination of the two).
@ -2211,14 +2223,6 @@ if (is_win) {
} else {
common_optimize_on_cflags = [ "-O3", ]
common_optimize_on_ldflags = [ "-Wl,-O3", ]
if (current_cpu == "arm64") {
common_optimize_on_cflags += [ "-march=armv8-a+simd", "-mtune=cortex-a72", "-mfpu=neon-vfpv4", "-mfloat-abi=hard", ]
common_optimize_on_ldflags += [ "-march=armv8-a+simd", ]
if (is_linux) {
common_optimize_on_cflags += [ "-Wno-unused-command-line-argument", ]
}
}
if (is_android) {
# TODO(jdduke) Re-enable on mips after resolving linking

View File

@ -0,0 +1,233 @@
#------------------------------------------------------------------------------
# Thorium RPM spec
# chrome.spec
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# Prologue information
#------------------------------------------------------------------------------
Summary : @@MENUNAME@@
License : Multiple, see @@PRODUCTURL@@
Name : @@PACKAGE_FILENAME@@
Version : @@VERSION@@
Release : @@PACKAGE_RELEASE@@
Group : Applications/Internet
Vendor : @@COMPANY_FULLNAME@@
Url : @@PRODUCTURL@@
Packager : @@MAINTNAME@@ <@@MAINTMAIL@@>
Provides : @@PROVIDES@@ = %{version}
Requires : ca-certificates,ld-linux-aarch64.so.1()(64bit),libX11.so.6()(64bit),libXcomposite.so.1()(64bit),libXdamage.so.1()(64bit),libXext.so.6()(64bit),libXfixes.so.3()(64bit),libXrandr.so.2()(64bit),libasound.so.2()(64bit),libasound.so.2(ALSA_0.9)(64bit),libasound.so.2(ALSA_0.9.0rc4)(64bit),libatk-1.0.so.0()(64bit),libatk-bridge-2.0.so.0()(64bit),libatspi.so.0()(64bit),libc.so.6()(64bit),libc.so.6(GLIBC_2.10)(64bit),libc.so.6(GLIBC_2.11)(64bit),libc.so.6(GLIBC_2.14)(64bit),libc.so.6(GLIBC_2.15)(64bit),libc.so.6(GLIBC_2.16)(64bit),libc.so.6(GLIBC_2.17)(64bit),libc.so.6(GLIBC_2.2.5)(64bit),libc.so.6(GLIBC_2.3)(64bit),libc.so.6(GLIBC_2.3.2)(64bit),libc.so.6(GLIBC_2.3.3)(64bit),libc.so.6(GLIBC_2.3.4)(64bit),libc.so.6(GLIBC_2.4)(64bit),libc.so.6(GLIBC_2.6)(64bit),libc.so.6(GLIBC_2.7)(64bit),libc.so.6(GLIBC_2.8)(64bit),libc.so.6(GLIBC_2.9)(64bit),libcairo.so.2()(64bit),libcups.so.2()(64bit),libcurl.so.4()(64bit),libdbus-1.so.3()(64bit),libdbus-1.so.3(LIBDBUS_1_3)(64bit),libdl.so.2()(64bit),libdl.so.2(GLIBC_2.2.5)(64bit),libdrm.so.2()(64bit),liberation-fonts,libexpat.so.1()(64bit),libgbm.so.1()(64bit),libgcc_s.so.1()(64bit),libgcc_s.so.1(GCC_3.0)(64bit),libgio-2.0.so.0()(64bit),libglib-2.0.so.0()(64bit),libgobject-2.0.so.0()(64bit),libgtk-3.so.0()(64bit),libm.so.6()(64bit),libm.so.6(GLIBC_2.2.5)(64bit),libnspr4.so()(64bit),libnss3.so()(64bit),libnss3.so(NSS_3.11)(64bit),libnss3.so(NSS_3.12)(64bit),libnss3.so(NSS_3.12.1)(64bit),libnss3.so(NSS_3.12.4)(64bit),libnss3.so(NSS_3.13)(64bit),libnss3.so(NSS_3.2)(64bit),libnss3.so(NSS_3.22)(64bit),libnss3.so(NSS_3.3)(64bit),libnss3.so(NSS_3.30)(64bit),libnss3.so(NSS_3.31)(64bit),libnss3.so(NSS_3.39)(64bit),libnss3.so(NSS_3.4)(64bit),libnss3.so(NSS_3.5)(64bit),libnss3.so(NSS_3.6)(64bit),libnss3.so(NSS_3.7)(64bit),libnss3.so(NSS_3.9.2)(64bit),libnssutil3.so()(64bit),libnssutil3.so(NSSUTIL_3.12.3)(64bit),libpango-1.0.so.0()(64bit),libpthread.so.0()(64bit),libpthread.so.0(GLIBC_2.12)(64bit),libpthread.so.0(GLIBC_2.2.5)(64bit),libpthread.so.0(GLIBC_2.3.2)(64bit),libpthread.so.0(GLIBC_2.3.3)(64bit),libpthread.so.0(GLIBC_2.3.4)(64bit),libsmime3.so()(64bit),libsmime3.so(NSS_3.10)(64bit),libsmime3.so(NSS_3.2)(64bit),libssl3.so()(64bit),libvulkan.so.1()(64bit),libxcb.so.1()(64bit),libxkbcommon.so.0()(64bit),libxkbcommon.so.0(V_0.5.0)(64bit),rpmlib(FileDigests) <= 4.6.0-1,rtld(GNU_HASH),wget,xdg-utils,
Requires(post) : %{_sbindir}/update-alternatives
Requires(preun) : %{_sbindir}/update-alternatives
Autoreqprov : No
BuildRoot : %{_tmppath}/%{name}-%{version}-root
# The prefix is pretty important; RPM uses this to figure out
# how to make a package relocatable
prefix : /opt
#------------------------------------------------------------------------------
# Description
#------------------------------------------------------------------------------
%Description
@@SHORTDESC@@
@@FULLDESC@@
#------------------------------------------------------------------------------
# Build rule - How to make the package
#------------------------------------------------------------------------------
%build
#------------------------------------------------------------------------------
# Ignore libffmpeg.so
#------------------------------------------------------------------------------
%global _privatelibs libffmpeg.so
%global __provides_exclude ^(%{_privatelibs})$
%global __requires_exclude ^(%{_privatelibs})$
%global __requires_exclude ^libffmpeg\\((autotest|basetest)
# %define __requires_exclude libffmpeg.so
%define _requires_exceptions libffmpeg.so()(64bit)
#------------------------------------------------------------------------------
# Installation rule - how to install it (note that it
# gets installed into a temp directory given by $RPM_BUILD_ROOT)
#------------------------------------------------------------------------------
%install
rm -rf "$RPM_BUILD_ROOT"
if [ -z "@@STAGEDIR@@" -o ! -d "@@STAGEDIR@@" ] ; then
echo "@@STAGEDIR@@ appears to be incorrectly set - aborting"
exit 1
fi
if [ -z "@@INSTALLDIR@@" -o ! -d "@@STAGEDIR@@/@@INSTALLDIR@@" ] ; then
echo "@@INSTALLDIR@@ appears to be incorrectly set - aborting"
exit 1
fi
install -m 755 -d \
"$RPM_BUILD_ROOT/etc" \
"$RPM_BUILD_ROOT/opt" \
"$RPM_BUILD_ROOT/usr"
# This is hard coded for now
cp -a "@@STAGEDIR@@/etc/" "$RPM_BUILD_ROOT/"
cp -a "@@STAGEDIR@@/opt/" "$RPM_BUILD_ROOT/"
cp -a "@@STAGEDIR@@/usr/" "$RPM_BUILD_ROOT/"
#------------------------------------------------------------------------------
# Rule to clean up a build
#------------------------------------------------------------------------------
%clean
rm -rf "$RPM_BUILD_ROOT"
#------------------------------------------------------------------------------
# Files listing.
#------------------------------------------------------------------------------
%files
%defattr(-,root,root)
#%doc README
# We cheat and just let RPM figure it out for us; everything we install
# should go under this prefix anyways.
@@INSTALLDIR@@
# Be explicit about the files we scatter throughout the system we don't
# accidentally "own" stuff that's not ours (crbug.com/123990).
/etc/cron.daily/@@PACKAGE@@
%ghost %attr(755,root,root) /usr/bin/@@PACKAGE_ORIG@@
/usr/bin/@@USR_BIN_SYMLINK_NAME@@
# Extra Thorium stuff
/usr/bin/pak
/usr/bin/thorium-shell
/usr/share/applications/thorium-shell.desktop
/usr/share/appdata/@@PACKAGE@@.appdata.xml
/usr/share/applications/@@PACKAGE@@.desktop
/usr/share/gnome-control-center/default-apps/@@PACKAGE@@.xml
%docdir /usr/share/man/man1
# These two files will be the same on non-stable channels.
/usr/share/man/man1/@@PACKAGE@@.1.gz
/usr/share/man/man1/@@USR_BIN_SYMLINK_NAME@@.1.gz
#------------------------------------------------------------------------------
# Pre install script
#------------------------------------------------------------------------------
%pre
exit 0
#------------------------------------------------------------------------------
# Post install script
#------------------------------------------------------------------------------
%post
@@include@@../common/variables.include
@@include@@../common/postinst.include
@@include@@../common/rpm.include
@@include@@../common/symlinks.include
remove_nss_symlinks
add_nss_symlinks
remove_udev_symlinks
if [ ! -e "$DEFAULTS_FILE" ]; then
echo 'repo_add_once="true"' > "$DEFAULTS_FILE"
fi
. "$DEFAULTS_FILE"
if [ "$repo_add_once" = "true" ]; then
determine_rpm_package_manager
for PACKAGEMANAGER in ${PACKAGEMANAGERS[*]}
do
case $PACKAGEMANAGER in
"yum")
install_yum
;;
"zypp")
install_zypp
;;
esac
done
fi
CHANNEL=@@CHANNEL@@
case $CHANNEL in
stable )
PRIORITY=200
;;
beta )
PRIORITY=150
;;
unstable )
PRIORITY=120
;;
* )
PRIORITY=0
;;
esac
ln -sf /opt/chromium.org/thorium/thorium-browser /usr/bin/thorium-browser
exit 0
#------------------------------------------------------------------------------
# Pre uninstallation script
#------------------------------------------------------------------------------
%preun
if [ "$1" -eq "0" ]; then
mode="uninstall"
elif [ "$1" -eq "1" ]; then
mode="upgrade"
fi
@@include@@../common/rpm.include
@@include@@../common/symlinks.include
# Only remove menu items and symlinks on uninstall. When upgrading,
# old_pkg's %preun runs after new_pkg's %post.
if [ "$mode" = "uninstall" ]; then
@@include@@../common/prerm.include
remove_nss_symlinks
remove_udev_symlinks
fi
# On Debian we only remove when we purge. However, RPM has no equivalent to
# dpkg --purge, so this is all disabled.
#
#determine_rpm_package_manager
#
#for PACKAGEMANAGER in ${PACKAGEMANAGERS[*]}
#do
# case $PACKAGEMANAGER in
# "yum")
# remove_yum
# ;;
# "zypp")
# remove_zypp
# ;;
# esac
#done
exit 0
#------------------------------------------------------------------------------
# Post uninstallation script
#------------------------------------------------------------------------------
%postun
exit 0

View File

@ -92,5 +92,5 @@ enable_mse_mpeg2ts_stream_parser = true
use_text_section_splitting = true
use_thin_lto = true
thin_lto_enable_optimizations = true
chrome_pgo_phase = 2
pgo_data_path = "/home/alex/chromium/src/chrome/build/pgo_profiles/chrome-linux-5938-1694538110-0c18cf4b1d955dedaa35a61d3e46b14386cd9e41.profdata"
chrome_pgo_phase = 0
#pgo_data_path = "/home/alex/chromium/src/chrome/build/pgo_profiles/chrome-linux-5938-1694538110-0c18cf4b1d955dedaa35a61d3e46b14386cd9e41.profdata"

View File

@ -318,7 +318,7 @@ def SetupWindowsCrossCompileToolchain(target_arch):
'--ar=llvm-ar',
# Separate from optflags because configure strips it from msvc builds...
'--extra-cflags=-O2',
'--extra-cflags=-O3',
]
if target_arch == 'ia32':
@ -739,7 +739,7 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs,
else:
configure_flags['Common'].extend([
# --optflags doesn't append multiple entries, so set all at once.
'--optflags="-O2"',
'--optflags="-O3"',
'--enable-decoder=theora,vp8',
'--enable-parser=vp3,vp8',
])
@ -831,7 +831,7 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs,
# NOTE: we don't need softfp for this hardware.
'--extra-cflags=-mfloat-abi=hard',
# For some reason configure drops this...
'--extra-cflags=-O2',
'--extra-cflags=-O3',
])
if target_arch == 'arm-neon':

View File

@ -162,14 +162,12 @@ to enable Sync.
## Downloading the Thorium code
You can either use git clone, or download a .zip from the repo. It should be placed side by side with the Chromium directory in *C:\src*. \
Using Git:
It should be placed side by side with the Chromium directory in *C:\src*. \
```shell
git clone --recursive https://github.com/Alex313031/thorium.git
```
Or download the .zip (Make sure to rename the extracted dir to just thorium, not thorium-main).
[https://github.com/Alex313031/thorium/archive/refs/heads/main.zip](https://github.com/Alex313031/thorium/archive/refs/heads/main.zip)
## Setting up the build

View File

@ -60,9 +60,7 @@ And place it in ~/chromium/win
Now, lets download the Thorium tree, so run (in $HOME)
git clone --recursive https://github.com/Alex313031/Thorium.git OR
Download the latest .zip > https://github.com/Alex313031/Thorium/archive/refs/heads/main.zip
git clone --recursive https://github.com/Alex313031/thorium.git
Then cd ~/Thorium, and we need to make some files executable. So run

View File

@ -71,7 +71,7 @@ Good, now we have a full Chromium checkout ready to be built, but to turn it int
## Thorium Setup
So, lets download Thorium in C:\src
git clone --recursive https://github.com/Alex313031/Thorium.git or download the .zip and unpack it there > https://github.com/Alex313031/Thorium/archive/refs/heads/main.zip
git clone --recursive https://github.com/Alex313031/thorium.git
Now, go back to C:\chromium\src

View File

@ -14,6 +14,6 @@ You can use it standalone, after making it executable with `sudo chmod +x Thoriu
- *See also:* [About AppImages](https://appimage.org/)
### About <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/thorium_infra_256.png" width="32">
### About <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/thorium_infra_256.png" width="32">
&ndash; This infra project uses [*pkg2appimage*](https://github.com/AppImage/pkg2appimage/blob/master/pkg2appimage) from here > https://github.com/AppImage/pkg2appimage \
&ndash; The [*Thorium.yml*](https://github.com/Alex313031/Thorium/blob/main/infra/APPIMAGE/Thorium.yml) file was modeled after the official Chromium one from here > https://github.com/AppImage/pkg2appimage/blob/master/recipes/Chromium.yml
&ndash; The [*Thorium.yml*](https://github.com/Alex313031/thorium/blob/main/infra/APPIMAGE/Thorium.yml) file was modeled after the official Chromium one from here > https://github.com/AppImage/pkg2appimage/blob/master/recipes/Chromium.yml

View File

@ -1,5 +1,5 @@
# Copyright (c) 2023 Alex313031
# Official Thorium builds can be downloaded from https://github.com/Alex313031/Thorium/releases
# Official Thorium builds can be downloaded from https://github.com/Alex313031/thorium/releases
app: Thorium
appId: "org.chromium.Thorium"

View File

@ -2,7 +2,7 @@ pkgbase = thorium-browser-bin
pkgdesc = Chromium fork focused on high performance and security.
pkgver = 111.0.5563.111
pkgrel = 2
url = https://github.com/Alex313031/Thorium
url = https://github.com/Alex313031/thorium
install = thorium-browser.install
arch = x86_64
license = GPLv3
@ -20,7 +20,7 @@ pkgbase = thorium-browser-bin
optdepends = kwallet: for storing passwords in KWallet
options = !emptydirs
options = !strip
source = https://github.com/Alex313031/Thorium/releases/download/M111.0.5563.111/thorium-browser_111.0.5563.111-1_amd64.deb
source = https://github.com/Alex313031/thorium/releases/download/M111.0.5563.111/thorium-browser_111.0.5563.111-1_amd64.deb
source = thorium-browser.sh
sha512sums = b91554cc990241ed632c4a4abb14181b1598018716794ccf251d6baf77bca691722558cdcdbc5f88087ceb356a6cdfbf9095038189ecb7fa0777975a1ae13b4f
sha512sums = 91a532fde9e6e87d65b909a170d32808f1c05367104cdaab07043fef0de66bdfc307a4138584cd1eedc169a03207372df39c09268ab1ec741432e79e0dcc2dfb

View File

@ -8,7 +8,7 @@ pkgver=111.0.5563.111
pkgrel=2
pkgdesc="Chromium fork focused on high performance and security."
arch=('x86_64')
url="https://github.com/Alex313031/Thorium"
url="https://github.com/Alex313031/thorium"
license=('GPLv3')
depends=(
'alsa-lib'
@ -28,7 +28,7 @@ optdepends=(
)
options=('!emptydirs' '!strip')
install=$_pkgname.install
source=("https://github.com/Alex313031/Thorium/releases/download/M${pkgver}/${_pkgname}_${pkgver}-1_amd64.deb"
source=("https://github.com/Alex313031/thorium/releases/download/M${pkgver}/${_pkgname}_${pkgver}-1_amd64.deb"
"$_pkgname.sh")
sha512sums=('b91554cc990241ed632c4a4abb14181b1598018716794ccf251d6baf77bca691722558cdcdbc5f88087ceb356a6cdfbf9095038189ecb7fa0777975a1ae13b4f'
'91a532fde9e6e87d65b909a170d32808f1c05367104cdaab07043fef0de66bdfc307a4138584cd1eedc169a03207372df39c09268ab1ec741432e79e0dcc2dfb')

View File

@ -1,6 +1,6 @@
## BUGS.md <img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/bug.svg" width="28">
## BUGS.md <img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/bug.svg" width="28">
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/robot_256.png">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/robot_256.png">
## Document listing known bugs in Thorium or Chromium that will affect usability. Fixed bugs will have a FIXED tag with the date it was fixed at the end. Discoverers/Fixers will have their name at the end.
**2021**

View File

@ -1,20 +1,20 @@
> __*NOTE: This document is out of date, and kept for historical purposes only. You should follow the docs located [HERE](https://github.com/Alex313031/thorium/tree/main/docs#readme)*__
## Building <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
## Building <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
_**The scripts assume the Chromium source is at $HOME/chromiums/src/ and Thorium is at $HOME/thorium/. You may have to 'sudo chmod +x' the scripts to make them executable.**_
- __UPDATE:__ For Windows and Windows [AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2), I made new dedicated instructions. If you are building on Windows use > [WIN_INSTRUCTIONS.txt](https://github.com/Alex313031/Thorium/blob/main/misc/WIN_INSTRUCTIONS.txt) and if you are building for Windows on Linux, use > [WIN_CROSS_BUILD_INSTRUCTIONS.txt](https://github.com/Alex313031/Thorium/blob/main/misc/WIN_CROSS_BUILD_INSTRUCTIONS.txt)
- In general we follow build instructions at https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/build_instructions.md and API Keys (if desired) at https://www.chromium.org/developers/how-tos/api-keys <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/Key_Light.svg#gh-dark-mode-only" width="28"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/Key_Dark.svg#gh-light-mode-only" width="28">
- __UPDATE:__ For Windows and Windows [AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2), I made new dedicated instructions. If you are building on Windows use > [WIN_INSTRUCTIONS.txt](https://github.com/Alex313031/thorium/blob/main/docs/WIN_INSTRUCTIONS.txt) and if you are building for Windows on Linux, use > [WIN_CROSS_BUILD_INSTRUCTIONS.txt](https://github.com/Alex313031/thorium/blob/main/docs/WIN_CROSS_BUILD_INSTRUCTIONS.txt)
- In general we follow build instructions at https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/build_instructions.md and API Keys (if desired) at https://www.chromium.org/developers/how-tos/api-keys <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/Key_Light.svg#gh-dark-mode-only" width="28"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/Key_Dark.svg#gh-light-mode-only" width="28">
- Make sure dependencies are installed by running ./chromium/src/build/install-build-deps.sh.
- After initial download of Chromium source code, run (from where you cloned this repo) `./trunk.sh`. This will update and sync the sources and at the end it will download the PGO profile for Chromium for all platforms. The file will be downloaded to *//chromium/src/chrome/build/pgo_profiles/&#42;.profdata* with the actual file name looking something like 'chrome-linux-main-1632505958-ddbb37bcdfa7dbd7b10cf3a9b6a5bc45e7a958a6.profdata', which should be added to the end of args.gn as per below.
- Then, (from where you cloned this repo) run `./setup.sh`. This will copy all the files and patches to the needed locations and drop you to *//chromium/src*.
- Run `gn args out/thorium` and the contents of '[args.gn](https://github.com/Alex313031/Thorium/blob/main/args.gn)' in the root of this repo should be copy/pasted into the editor. Note that for Windows, Mac, ChromiumOS, or Android there are seperate &#42;_args.gn files for those platforms. *--Include your api keys here at the top or leave blank, and edit the last line to point to the actual path and file name of '&#42;.profdata'*
- For more info about args.gn, read the [ABOUT_GN_ARGS.md](https://github.com/Alex313031/Thorium/blob/main/infra/DEBUG/ABOUT_GN_ARGS.md) file.
- '[infra/args.list](https://github.com/Alex313031/Thorium/blob/main/infra/args.list)' contains an alphabetical list with descriptions of all possible build arguments; [gn_args.list](https://github.com/Alex313031/Thorium/blob/main/infra/gn_args.list) gives a similar list but with the flags in args.gn added.
- Run `gn args out/thorium` and the contents of '[args.gn](https://github.com/Alex313031/thorium/blob/main/args.gn)' in the root of this repo should be copy/pasted into the editor. Note that for Windows, Mac, ChromiumOS, or Android there are seperate &#42;_args.gn files for those platforms. *--Include your api keys here at the top or leave blank, and edit the last line to point to the actual path and file name of '&#42;.profdata'*
- For more info about args.gn, read the [ABOUT_GN_ARGS.md](https://github.com/Alex313031/thorium/blob/main/infra/DEBUG/ABOUT_GN_ARGS.md) file.
- '[infra/args.list](https://github.com/Alex313031/thorium/blob/main/infra/args.list)' contains an alphabetical list with descriptions of all possible build arguments; [gn_args.list](https://github.com/Alex313031/thorium/blob/main/infra/gn_args.list) gives a similar list but with the flags in args.gn added.
- To build, run `./build.sh` (--help for help). For Windows, use `build_win.sh` or `autoninja -C out\thorium chrome chromedriver thorium_shell setup mini_installer -j8` *The -j# can be changed to limit or increase the number of jobs (generally should be the number of CPU cores on your machine)*
- To install, copy/paste the contents of your *out/thorium* dir to a good location, i.e. *$HOME/bin/thorium*. **RECOMMENDED** *- Copy and run [clean.sh](https://github.com/Alex313031/Thorium/blob/main/clean.sh) within this dir to clean up build artifacts.* Then you can just run the browser with `~/bin/thorium/chrome`, the content_shell with `~/bin/thorium/thorium_shell`, or chromedriver with `~/bin/thorium/chromedriver`.
- To install, copy/paste the contents of your *out/thorium* dir to a good location, i.e. *$HOME/bin/thorium*. **RECOMMENDED** *- Copy and run [clean.sh](https://github.com/Alex313031/thorium/blob/main/clean.sh) within this dir to clean up build artifacts.* Then you can just run the browser with `~/bin/thorium/chrome`, the content_shell with `~/bin/thorium/thorium_shell`, or chromedriver with `~/bin/thorium/chromedriver`.
- **Proper Install:** To install with a .deb, dont copy the contents of *out/thorium*; instead run <br/> `./thordeb.sh` (--help for help). A nice .deb file will now be in *out/thorium* and you can install it with `sudo dpkg -i *.deb` It will be called 'thorium-browser-stable_$VERSIONNUMBER_amd64.deb', and will be installed to */opt/chromium.org/thorium/*. For Windows, just run the mini_installer.exe. \
- **Appimage:** You can also make an [Appimage](https://appimage.org/) of Thorium after making the .deb. See > [Appimage README.md](https://github.com/Alex313031/Thorium/tree/main/infra/APPIMAGE#readme)
- **Appimage:** You can also make an [Appimage](https://appimage.org/) of Thorium after making the .deb. See > [Appimage README.md](https://github.com/Alex313031/thorium/tree/main/infra/APPIMAGE#readme)
&nbsp;&nbsp; __NOTE:__ To get back to "Trunk", i.e. to revert all changes in order to build vanilla Chromium or to update your checkout, just run `./trunk.sh` again. \
&nbsp;&nbsp; __NOTE:__ To compile without AVX, simply go to *//chromium/src/build/config/compiler/BUILD.gn*, search for *avx*, and replace *avx* with *sse3* or *sse4*. \
@ -22,4 +22,4 @@ _**The scripts assume the Chromium source is at $HOME/chromiums/src/ and Thorium
*Happy Thorium Building!*
<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">

View File

@ -23,7 +23,7 @@ These files are in:
*More info can be found at > https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/components/vector_icons/README.md*
## Building <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
## Building <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
To build, use: autoninja -C out/thorium chrome chromedriver thorium_shell setup mini_installer thorium_ui_debug_shell or just
autoninja -C out/thorium thorium_ui_debug_shell to exclude building the rest of Thorium.

View File

@ -1,15 +1,15 @@
## Thorium Debugging Infra <img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/bug.svg" width="28">
## Thorium Debugging Infra <img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/bug.svg" width="28">
- This contains [*.gn files*](https://gn.googlesource.com/gn/) and scripts for generating DEBUG builds of Thorium for debugging, testing, and inspection.
- The [ABOUT_GN_ARGS.md](https://github.com/Alex313031/Thorium/blob/main/infra/DEBUG/ABOUT_GN_ARGS.md) describes what each line in the args &#42;.gn files do, also useful for the regular build args &#42;.gn files. \
&nbsp;&nbsp; __NOTE:__ You cannot build installers for any platform with a debug build. Running the [clean.sh](https://github.com/Alex313031/Thorium/blob/main/clean.sh) script in the root of the repo is highly reccomended to get your //out/thorium dir from ~6-7 GB to something reasonable, like ~1-2 GB.
- The [ABOUT_GN_ARGS.md](https://github.com/Alex313031/thorium/blob/main/infra/DEBUG/ABOUT_GN_ARGS.md) describes what each line in the args &#42;.gn files do, also useful for the regular build args &#42;.gn files. \
&nbsp;&nbsp; __NOTE:__ You cannot build installers for any platform with a debug build. Running the [clean.sh](https://github.com/Alex313031/thorium/blob/main/clean.sh) script in the root of the repo is highly reccomended to get your //out/thorium dir from ~6-7 GB to something reasonable, like ~1-2 GB.
- Running the `build_debug.sh` or `build_win_debug.sh` will build the *Thorium UI Debug Shell (views_examples_with_content)* target as well as the rest of Thorium.
- Running `build_debug_shell.sh` can be used for any platform, and will build the standalone Thorium UI Debug Shell. \
&nbsp;&nbsp; __NOTE:__ Running either of the above will make a directory in //out/thorium called Thorium_UI_Debug_Shell with all the artifacts and Readme inside, suitable for zipping up and distributing to users.
- For more information, read the [DEBUG_SHELL_README.md](https://github.com/Alex313031/Thorium/blob/main/infra/DEBUG/DEBUG_SHELL_README.md) file).
- For more information, read the [DEBUG_SHELL_README.md](https://github.com/Alex313031/thorium/blob/main/infra/DEBUG/DEBUG_SHELL_README.md) file).
### More Info <a name="moreinfo"></a>
__The [*DEBUGGING.md*](https://github.com/Alex313031/Thorium/blob/main/infra/DEBUG/DEBUGGING.md) file is a slightly modified version of the upstream Chromium one.__ \
__The [*DEBUGGING.md*](https://github.com/Alex313031/thorium/blob/main/infra/DEBUG/DEBUGGING.md) file is a slightly modified version of the upstream Chromium one.__ \
__*&#42;For more information about debugging,* See > [Logging](https://www.chromium.org/for-testers/enable-logging/), &nbsp;[Network Logging](https://www.chromium.org/for-testers/providing-network-details/), &nbsp;[Linux](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux/debugging.md), &nbsp;[MacOS](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/mac/debugging.md), &nbsp;[Android](https://chromium.googlesource.com/chromium/src/+/HEAD/docs/android_debugging_instructions.md), &nbsp;[ChromiumOS](https://www.chromium.org/chromium-os/how-tos-and-troubleshooting/debugging-features/), &nbsp;and [Windows](https://chromium.googlesource.com/playground/chromium-org-site/+/refs/heads/main/developers/how-tos/debugging-on-windows/index.md), &nbsp;including [WinDBG Help](https://chromium.googlesource.com/playground/chromium-org-site/+/refs/heads/main/developers/how-tos/debugging-on-windows/windbg-help.md), &nbsp;and [Dump Example](https://chromium.googlesource.com/playground/chromium-org-site/+/refs/heads/main/developers/how-tos/debugging-on-windows/example-of-working-with-a-dump.md).__
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/thorium_infra_256.png" width="200">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/thorium_infra_256.png" width="200">

View File

@ -1,19 +1,19 @@
## Thorium Infrastructure (Infra) <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
## Thorium Infrastructure (Infra) <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_light.svg#gh-dark-mode-only"> <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/build_dark.svg#gh-light-mode-only">
&nbsp;&nbsp;This dir contains [*.gn files*](https://gn.googlesource.com/gn/)<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/gn-logo.png" width="32">, scripts, and other artifacts like vdpau-va-driver and flash player and the BUILDER file which contains notes (generally only usable by me, but feel free to ask what the info inside is for). \
&nbsp;&nbsp;The [args.list](https://github.com/Alex313031/Thorium/blob/main/infra/args.list) file shows all possible build arguments, and the [gn_args.list](https://github.com/Alex313031/Thorium/blob/main/infra/gn_args.list) shows all possible build args after the Thorium args have been added, and the [win_args.list](https://github.com/Alex313031/Thorium/blob/main/infra/win_args.list) shows all possible build arguments for Windows builds. \
&nbsp;&nbsp;The &#42;.gn files contain what you should use in the args.gn for platforms other than the normal Linux release (which is [here](https://github.com/Alex313031/Thorium/blob/main/args.gn) in the root of this repo.)
&nbsp;&nbsp;This dir contains [*.gn files*](https://gn.googlesource.com/gn/)<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/gn-logo.png" width="32">, scripts, and other artifacts like vdpau-va-driver and flash player and the BUILDER file which contains notes (generally only usable by me, but feel free to ask what the info inside is for). \
&nbsp;&nbsp;The [args.list](https://github.com/Alex313031/thorium/blob/main/infra/args.list) file shows all possible build arguments, and the [gn_args.list](https://github.com/Alex313031/thorium/blob/main/infra/gn_args.list) shows all possible build args after the Thorium args have been added, and the [win_args.list](https://github.com/Alex313031/thorium/blob/main/infra/win_args.list) shows all possible build arguments for Windows builds. \
&nbsp;&nbsp;The &#42;.gn files contain what you should use in the args.gn for platforms other than the normal Linux release (which is [here](https://github.com/Alex313031/thorium/blob/main/args.gn) in the root of this repo.)
- The [69_release_args.gn](https://github.com/Alex313031/Thorium/blob/main/infra/69_release_args.gn) is for Chromium 60-70 versions.
- The [android_args.gn](https://github.com/Alex313031/Thorium/blob/main/infra/android_args.gn) is for Android ARM64. > https://chromium.googlesource.com/chromium/src/+/main/docs/android_build_instructions.md
- The [cros_args.gn](https://github.com/Alex313031/Thorium/blob/main/infra/cros_args.gn) is for ChromiumOS on Linux. > https://chromium.googlesource.com/chromium/src/+/main/docs/chromeos_build_instructions.md#Chromium-OS-on-Linux-linux_chromeos
- The [mac_args.gn](https://github.com/Alex313031/Thorium/blob/main/infra/mac_args.gn) is for x64 macs. (See [Thorium Special](https://github.com/Alex313031/Thorium-Special) for ARM64 M1 args.gn.)
- The [win_args.gn](https://github.com/Alex313031/Thorium/blob/main/infra/win_args.gn) is for Windows x64 \
- The [cgpt](https://github.com/Alex313031/Thorium/blob/main/infra/cgpt) file is a compiler optimized build of cgpt for Linux/ChromiumOS, you can put anywhere in your $PATH. See > https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/refs/heads/main/README
- The DEBUG dir is for DEBUGGING, see the [README.md](https://github.com/Alex313031/Thorium/tree/main/infra/DEBUG#readme) inside it.
- The [69_release_args.gn](https://github.com/Alex313031/thorium/blob/main/infra/69_release_args.gn) is for Chromium 60-70 versions.
- The GN files [Here](https://github.com/Alex313031/thorium/blob/main/arm/android) are for Android (x86, x64, arm32, arm64). > https://chromium.googlesource.com/chromium/src/+/main/docs/android_build_instructions.md
- The [cros_args.gn](https://github.com/Alex313031/thorium/blob/main/other/CrOS/cros_args.gn) is for ChromiumOS on Linux. > https://chromium.googlesource.com/chromium/src/+/main/docs/chromeos_build_instructions.md#Chromium-OS-on-Linux-linux_chromeos
- The [mac_args.gn](https://github.com/Alex313031/thorium/blob/main/other/Mac/mac_args.gn) is for x64 MacOS. [mac_ARM_args.gn](https://github.com/Alex313031/thorium/blob/main/other/Mac/mac_ARM_args.gn) is for ARM64 M1/M2 MacOS.)
- The [win_args.gn](https://github.com/Alex313031/thorium/blob/main/win_args.gn) is for Windows x64 \
- The [cgpt](https://github.com/Alex313031/thorium/blob/main/infra/cgpt) file is a compiler optimized build of cgpt for Linux/ChromiumOS, you can put anywhere in your $PATH. See > https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/refs/heads/main/README
- The DEBUG dir is for DEBUGGING, see the [README.md](https://github.com/Alex313031/thorium/tree/main/infra/DEBUG#readme) inside it.
&nbsp;&ndash; The [WIN_INSTRUCTIONS.txt](https://github.com/Alex313031/Thorium/blob/main/infra/WIN_INSTRUCTIONS.txt) and [WIN_CROSS_BUILD_INSTRUCTIONS.txt](https://github.com/Alex313031/Thorium/blob/main/infra/WIN_CROSS_BUILD_INSTRUCTIONS.txt) are for how to build Thorium for Windows natively and on Linux, respectively. \
&nbsp;&ndash; The [DEV_CMDLINE_FLAGS.txt](https://github.com/Alex313031/Thorium/blob/main/infra/DEV_CMDLINE_FLAGS.txt) has usefule command line flags for Debugging, Web Development, and Thorium development. The [CMDLINE_FLAGS_LIST.md](https://github.com/Alex313031/Thorium/blob/main/infra/CMDLINE_FLAGS_LIST.md) contains a list of all possible cmdline flags for Chromium. It is borrowed from > https://peter.sh/experiments/chromium-command-line-switches/ \
&nbsp;&ndash; The [thorium_devel_bookmarks.html](https://github.com/Alex313031/Thorium/blob/main/infra/thorium_devel_bookmarks.html) file contain the bookmarks I use for Thorium development and rebasing the files it uses.
&nbsp;&ndash; See the [Docs](https://github.com/Alex313031/thorium/tree/main/docs#readme) dir for more instructions on building for a particular platform. \
&nbsp;&ndash; The [DEV_CMDLINE_FLAGS.txt](https://github.com/Alex313031/thorium/blob/main/infra/DEV_CMDLINE_FLAGS.txt) has usefule command line flags for Debugging, Web Development, and Thorium development. The [CMDLINE_FLAGS_LIST.md](https://github.com/Alex313031/thorium/blob/main/infra/CMDLINE_FLAGS_LIST.md) contains a list of all possible cmdline flags for Chromium. It is borrowed from > https://peter.sh/experiments/chromium-command-line-switches/ \
&nbsp;&ndash; The [THORIUM_DEV_BOOKMARKS.html](https://github.com/Alex313031/thorium/blob/main/infra/THORIUM_DEV_BOOKMARKS.html) file contain the bookmarks I use for Thorium development and rebasing the files it uses.
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/thorium_infra_256.png" width="200">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/thorium_infra_256.png" width="200">

View File

@ -32,7 +32,7 @@ cd &&
# Clone repos
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git &&
printf "\n" &&
git clone --recursive https://github.com/Alex313031/Thorium.git &&
git clone --recursive https://github.com/Alex313031/thorium.git &&
# Make Chromium dirs
printf "\n" &&

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2022 Alex313031.
# Copyright (c) 2023 Alex313031.
YEL='\033[1;33m' # Yellow
RED='\033[1;31m' # Red
@ -30,8 +30,6 @@ printf "\n" &&
printf "${bold}${RED}NOTE: You must place the Thorium .deb file in this directory before running.${c0}\n" &&
printf "${bold}${RED} AND you must have p7zip-full and zip installed.${c0}\n" &&
printf "\n" &&
printf "${bold}${RED} - Make sure to rename the .zip properly as per https://github.com/Alex313031/Thorium/discussions/28#discussioncomment-3031799 ${c0}\n" &&
printf "${YEL}\n" &&
read -p "Press Enter to continue or Ctrl + C to abort."
printf "\n" &&
@ -41,6 +39,11 @@ printf "${c0}\n" &&
sleep 2 &&
BASENAME=$(basename -- *.deb) &&
FILENAME="${BASENAME%.deb}" &&
export FILENAME &&
# Extract data.tar.xz
mkdir -v -p ./temp &&
mkdir -v -p ./out &&
@ -60,8 +63,8 @@ printf "\n" &&
printf "${YEL}Zipping up...\n" &&
printf "${c0}\n" &&
# Build Appimage
cd temp; zip -r ../out/zipped_thorium.zip * &&
# Build zip
cd temp; zip -r ../out/${FILENAME}.zip * &&
printf "\n" &&
printf "${YEL}Cleaning up...\n" &&
@ -80,6 +83,6 @@ rm -r -v ./debian-binary &&
rm -r -v ./temp &&
printf "\n" &&
printf "${GRE}Done! ${YEL}Zip at //out/zipped_thorium.zip\n - Remember to rename it with the version before distributing it.\n" &&
printf "${GRE}Done! ${YEL}Zip at //out/*.zip\n" &&
printf "\n" &&
tput sgr0

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (c) 2022 Alex313031.
# Copyright (c) 2023 Alex313031.
YEL='\033[1;33m' # Yellow
RED='\033[1;31m' # Red
@ -30,7 +30,7 @@ printf "\n" &&
printf "${bold}${RED}NOTE: You must place the Thorium .exe file in this directory before running.${c0}\n" &&
printf "${bold}${RED} AND you must have p7zip-full and zip installed.${c0}\n" &&
printf "\n" &&
printf "${bold}${RED} - Make sure to rename the .zip properly as per https://github.com/Alex313031/Thorium/discussions/28#discussioncomment-3031799 ${c0}\n" &&
printf "${bold}${RED} - Make sure to rename the .zip properly as per https://github.com/Alex313031/thorium/discussions/28#discussioncomment-3031799 ${c0}\n" &&
printf "${bold}${RED} AND make sure to edit the THORIUM_SHELL.BAT to match the version number of this release.${c0}\n" &&
printf "${YEL}\n" &&
@ -57,7 +57,7 @@ printf "\n" &&
printf "${YEL}Zipping up...\n" &&
printf "${c0}\n" &&
# Build Appimage
# Build zip
cd temp; zip -r ../out/zipped_thorium_win.zip * &&
printf "\n" &&

View File

@ -1 +1 @@
Thorium-Win
Win

View File

@ -1,4 +1,4 @@
## ICNS generation directory. <img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/mac/icon_2048px.png" width="48">
## ICNS generation directory. <img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/mac/icon_2048px.png" width="48">
This directory contains files/scripts for generating an .icns (IconSet) file for MacOS from predefined icon .PNGs from 16px to 1024px.
@ -7,4 +7,4 @@ They will generate `Thorium.icns` and `ThoriumDocument.icns`, which should both
They will then be renamed to app.icns and document.icns and copied to //thorium/chrome/app/theme/chromium/mac/ for proper Thorium branding on MacOS.
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/mac/apple.png" width="200">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/mac/apple.png" width="200">

View File

@ -1,6 +1,6 @@
## Thorium Logos
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/thorium_bubbles.svg">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/thorium_bubbles.svg">
### Synopsis
&nbsp;&nbsp; This contains the iconset and logos for Thorium, Thorium Shell, Thorium UI icons, and Thorium Infrastructure, as well as the Chromium logo, Chromium Infrastructure logo, and other logos such as the GitHub logo used in the Readme.md and various images used in the .md files in this repo.
@ -10,6 +10,6 @@ __IMPORTANT:__ The 'NEW' directory is where the new logos that are used since M1
- The 'STAGING' dir is for test icons, scratch space, uploading temporary things, icons that don't fit anywhere else, etc.
- This project also for a small time was called "[Technetium](https://github.com/Alex313031/Technetium)", and I experimented with different logo designs; some are lost, but one of them is in the 'OLD' directory. These extra things are in the 'OLD' directory along with the Thorium logos used since the beginning up until M100.
*LICENSING*: The Chromium Logo is licensed under Chromium's BSD-Style [License](https://github.com/Alex313031/Thorium/blob/main/infra/CHROMIUM_LICENSE.txt), and some logos like the "bulb" and "build" logos are under Apache's License, which can be found here. The Thorium Logo is licensed under the GPL-3.0 License, however if you are going to use the logo in a derivative project, I would prefer if you let me know first.
*LICENSING*: The Chromium Logo is licensed under Chromium's BSD-Style [License](https://github.com/Alex313031/thorium/blob/main/infra/CHROMIUM_LICENSE), and some logos like the "bulb" and "build" logos are under Apache's License, which can be found here. The Thorium Logo is licensed under the GPL-3.0 License, however if you are going to use the logo in a derivative project, I would prefer if you let me know first.
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/error_dog.png" width="256">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/error_dog.png" width="256">

BIN
logos/STAGING/chromium.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -1,52 +1,32 @@
                                                                                                        
                                                                                                        
                                                                                                        
                                                                    .                                   
                                                              .,coddd                                   
                                                           ,ldddddddd                                   
                                                        .cddddddddddo                                   
                                                      .ldddddddddddd                                    
                                                     ,ddddddddddddd.                                    
                                                    :ddddddddddddd.                                     
                                                   ;ddddddddddddd                                       
                                                   dddddddddddd                                         
                                                  'dddddddddc                                           
                                                  'dddddd                                               
                             ..,:cllllcc:,..                   .';:clllllc:,'.                          
                         .,cdddddddddddddddddoc;'..     ..';codddddddddddddddddl;.                      
                      .;odddddddddddddddddddddddddddddddddddddddddddddddddddddddddo;.                   
                    .cdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddc.                 
                   cddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd.                
                 ,dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd:                   
                lOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOc                     
               cOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO                       
              .OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOk                        
              kOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO                         
             .OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO,                         
             'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                          
             :dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd                          
             :dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd                          
             ;dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd                          
             'dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd;                         
              ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd.                        
              ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:                        
              .::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::.                      
               :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::,                     
               .::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::'.                  
                ,:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;..               
                 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::              
                  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;               
                   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;                
                    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;                 
                     ,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,                  
                      ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.                   
                       .ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc                     
                         :ccccccccccccccccccccccccccccccccccccccccccccccccccccccc;                      
                           ccccccccccccccccccccccccccccccccccccccccccccccccccccc                        
                             ccccccccccccccccccccccccccccccccccccccccccccccccc                          
                               ;cccccccccccccc.              cccccccccccccc,                            
                                   ;ccccc.                        ccccc,                                
                                                                                                        
                                                                                                        
                                                                                                        
                                                                                                        
                                                                
                                                                
                                       ..'.                     
                                    ':oddd.                     
                                  ;odddddd                      
                                .oddddddd                       
                               .dddddddc                        
                               oddddd;                          
                     ...       od.        ...                   
               .':odddddddl:,...   .';codddddddl:'              
             'lddddddddddddddddddddddddddddddddddddc.           
           .odddddddddddddddddddddddddddddddddddddddd           
          lkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkko             
         oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO'              
        .OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO,               
        :kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk                
        lddddddddddddddddddddddddddddddddddddddd                
        cddddddddddddddddddddddddddddddddddddddd                
        'ddddddddddddddddddddddddddddddddddddddd:               
         cccccccccccccccccccccccccccccccccccccccc.              
         '::::::::::::::::::::::::::::::::::::::::,             
          ::::::::::::::::::::::::::::::::::::::::::,.          
           ::::::::::::::::::::::::::::::::::::::::::::         
            ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;          
             ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;           
              ;::::::::::::::::::::::::::::::::::::'            
               .cccccccccccccccccccccccccccccccccc              
                 ,cccccccccccccccccccccccccccccc.               
                    ccccccc.          .cccccc:                  
                                                                
                                                                
                                                                

View File

@ -0,0 +1,32 @@
                         ..',,;;;;,,'..                         
                   ...,;;;;;;;;;;;;;;;;;;,...                   
               ..,;;;;;;;;;;;;;;;;;;;;;;;;;;;;,..               
            ..;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;'.            
          .,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,.          
        .;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.        
      .,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.      
     ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;'     
    c;;;;;;;;;;;;;;;;;;;;:oxO0KXXXKK00Okkkkkkkkkkkkkkkkkkkkx.   
   odo;;;;;;;;;;;;;;;;oONMMMWXKKKKXWMMMWNX000000000000000000O   
  ldddo:;;;;;;;;;;;;xNMMNOdc::::::::coOXMMWX00000000000000000O  
 ;dddddd:;;;;;;;;;lNMMKo::::::::::::::::l0MMWK0000000000000000d 
 ddddddddc;;;;;;;oWMWd::::::::::::::::::::oNMMX0000000000000000 
'dddddddddl;;;;;cWMWl::::::::::::::::::::::cWMMK000000000000000c
cddddddddddl;;;;KMMx::::::::::::::::::::::::dMMW000000000000000O
ddddddddddddo:;;WMMc:::::::::::::::::::::::::MMM0000000000000000
oddddddddddddd:;WMMc:::::::::::::::::::::::::MMM0000000000000000
;ddddddddddddddc0MMx::::::::::::::::::::::::dMMW000000000000000d
.ddddddddddddddddWMWl::::::::::::::::::::::lWMMK000000000000000.
 odddddddddddddddkMMWd::::::::::::::::::::oWMMX000000000000000O 
  ddddddddddddddddkNMMKo::::::::::::::::oKMMWK0000000000000000. 
  .dddddddddddddddddONMMNOdc::::::::cdONMMW000000000000000000;  
   'ddddddddddddddddddkKNMMMWNXKKXNWMMMWKkx00000000000000000:   
    .ddddddddddddddddddddxk0KXXNNXXK0Oxddk00000000000000000,    
      ddddddddddddddddddddddddddddddddddO00000000000000000      
       .dddddddddddddddddddddddddddddddO0000000000000000;       
         'dddddddddddddddddddddddddddx0000000000000000c         
           .ddddddddddddddddddddddddx000000000000000.           
              .ddddddddddddddddddddk0000000000000;              
                  :dddddddddddddddk0000000000d                  
                        dddddddddO000000                        
                              .ld'                              

View File

@ -1,52 +1,40 @@
                            MMMMMMMMXMW                          :MMXMMMMMMMx                           
                    XMMMMMMMMMMMMMMMMMMMMMMM'               OMMMMMMMMMMMMMMMMMMMMMMM:                   
                MMMMMMWWWMW00KOox0kd0WkKMNWMMMMM.       dMMMMMNWW00WOd00xd0KO0MMWWWMMMMMd               
               .MMNKKKxcccolccccccccccccoolOWXWMMK    'MMMWNWxcdlccccccccccccolccckKKKWM0               
               cMMMkcccccccccccccccccccccccclclKMMM  cMMM0lllcccccccccccccccccccccccc0MMW               
               ;MMXOccccccclooccccccccccccccccccOMMN,MMMxccccccccccccccccccoolccccccoONMN               
                NMM0occccccccoxkOxlcccccccccccccc0MMMMMxccccccccccccccoxOkxlccccccccxXMMc               
                'MM0dccccccccccccdOK0xlcccccccccclMMMMXcccccccccccokKKOoccccccccccccxXM0                
                 dMMXxccccccccccccccoOXNOdccccccccWMMMXccccccccx0NXklcccccccccccccckNMM.                
                  oMNklccccccccccccccccoOWW0dccclKMMMMMOccccxKWNklccccccccccccccccoOWM                  
                   xMMKoccccccccccccccccccxXMNOKWMMMMMMMW00WMKdccccccccccccccccccdNMM.                  
                     KMNOdlcccccccccccccccccxMMMMMMMMMMMMMMWoccccccccccccccccclx0NM;                    
                      oMWKxoccccccccccccccclXMMMMMMMMMMMMMMM0ccccccccccccccccokXMM                      
                         xMMXolccccccccccd0WMMMMMMMMMMMMMMMMMWOocccccccccllxNMM.                        
                            MMMMNxxxkO0XWMMMMMMMMMWWWWMMMMMMMMMMWX0kkxdkWMMMo                           
                         .MMMMMMMMWWWWWMMMMMMNXKOOOOOOOO0KNMMMMMMMMMMMMMMMMMMMk                         
                       :MMMMWXK0OOOOOOONMMMXOOOOOOOOOOOOOOOOKNMM0OOOOO00KNWMMMMMW                       
                      WMMMN0OOOOOOOOO0WMMWOOOOOOOOOOOOOOOOOOOOXMMKOOOOOOOOO0NMMMMMl                     
                     MMMW0OOOOOOOOO0NMMMMWOOOOOOOOOOOOOOOOOOOOOMMMWKOOOOOOOOO0NMMMMd                    
                    0MMW0OOOOOOOOKWMMMMMMMWKOOOOOOOOOOOOOOOOOKWMMMMMWKOOOOOOOOONMMMM,                   
                   .MMMKOOOOOOOXWMMMMMMMMMMMMNXK00OOOOO00KXNWMMMMMMMMMMX0OOOOOOOWMMM0                   
                   cMMMOOOOOKNMMMMMMWNXXKXXNWMMMMMMMMMMMMMMNXK0000KKNWMMMNKOOOOOXMMMM                   
                   oMMWO0KNMMMMMMNKOOOOOOOOOOOKWMMMMMMMMWKOOOOOOOOOOOO0XWMMMNK0OKMMMM                   
                 ;MMMMMMMMMMMMMXOOOOOOOOOOOOOOOOXMMMMMMWOOOOOOOOOOOOOOOOOXMMMMMMMMMMMMN                 
               :MMMMMNWMMMMMMW0OOOOOOOOOOOOOOOOOONMMMMWOOOOOOOOOOOOOOOOOOO0WMMMMWXNMMMMMW               
              XMMMWKOOOXMMMMWOOOOOOOOOOOOOOOOOOOOOMMMMXOOOOOOOOOOOOOOOOOOOOOWMMWOOOOKWMMMM:             
             XMMMKOOOOOOMMMM0OOOOOOOOOOOOOOOOOOOOOMMMMXOOOOOOOOOOOOOOOOOOOOOKMMXOOOOOOXMMMM:            
            dMMM0OOOOOOOMMMNOOOOOOOOOOOOOOOOOOOOO0MMMMWOOOOOOOOOOOOOOOOOOOOO0MMXOOOOOOOXMMMM.           
            MMMXOOOOOOOOMMMNOOOOOOOOOOOOOOOOOOOOONMMMMMXOOOOOOOOOOOOOOOOOOOO0MMXOOOOOOOOWMMMd           
           .MMMOOOOOOOO0MMMMOOOOOOOOOOOOOOOOOOOONMMMMMMMXOOOOOOOOOOOOOOOOOOONMMWOOOOOOOOXMMM0           
            MMMOOOOOOOOXMMMMNOOOOOOOOOOOOOOOOO0WMMMMMMMMMW0OOOOOOOOOOOOOOOOXMMMM0OOOOOOONMMMk           
            OMMKOOOOOOOMMMMMMW0OOOOOOOOOOOOO0NMMMMMMMMMMMMMNKOOOOOOOOOOOOKWMMMMMNOOOOOOOWMMM'           
             MMWOOOOOONMMMMMMMMWX0OOOOOO0KXWMMWXK0OOOOO0KXWMMMWXKK000KXNWMMMMMMMM0OOOOONMMMd            
              MMW0OOOXMMMMMMMMMMMMMMMWMMMMMWXOOOOOOOOOOOOOOOXWMMMMMMMMMMMMMMMMMMMM0OOONMMMo             
               oMMNXWMMMWWWMMMMMMMMMMMMMMMXOOOOOOOOOOOOOOOOOOOXMMMMMMMMMMMNX0OOO0NMNNMMMM               
                0MMMMMKOOOOO0KNMMMMMMMMMMXOOOOOOOOOOOOOOOOOOOOOXMMMMMMMWXOOOOOOOOONMMMMM'               
                .MMMMXOOOOOOOOOOKWMMMMMMWOOOOOOOOOOOOOOOOOOOOOOOWMMMMWKOOOOOOOOOOO0MMMMk                
                 cMMMKOOOOOOOOOOOOKWMMMMWOOOOOOOOOOOOOOOOOOOOOOONMMMXOOOOOOOOOOOOOOMMMM                 
                  0MMXOOOOOOOOOOOOOONMMMMOOOOOOOOOOOOOOOOOOOOOOOMMMKOOOOOOOOOOOOOOOMMM;                 
                  ;MMWOOOOOOOOOOOOOOONMMMNOOOOOOOOOOOOOOOOOOOOONMMKOOOOOOOOOOOOOOOKMMN                  
                   xMMXOOOOOOOOOOOOOOOWMMMW0OOOOOOOOOOOOOOOOO0WMMNOOOOOOOOOOOOOOOOWMM.                  
                    xMMNOOOOOOOOOOOOOOXMMMMMNKOOOOOOOOOOOOOKNMMMM0OOOOOOOOOOOOOO0WMM.                   
                     .MMWKOOOOOOOOOOOOKMMMMMMMMWNXKKKKKXNWMMMMMMM0OOOOOOOOOOOO0NMMO                     
                       'MMWX0OOOOOOOOONMMMMMMMMMMMMMMMMMMMMMMMMMMXOOOOOOOOOOKNMMX                       
                          oMMMWNXXXXNWMMMMMMMWNXXKKKKKKKXXNNWMMMMMNXKKKKXNWMMM                          
                              XMMMMMMMMMMWX0OOOOOOOOOOOOOOOOO0KWMMMMMMMMMMc                             
                                 WMMMMMMWOOOOOOOOOOOOOOOOOOOOOOXMMMMMMMc                                
                                     MMMMN0OOOOOOOOOOOOOOOOOO0NMMMMk                                    
                                        oMMWK0OOOOOOOOOOOOOKNMMM                                        
                                           NMMWNXKK00KKXNWMMMc                                          
                                               lMMMMMMMMM                                               
                                                                                                        
           kMMMMMMMMMMl                   MMMMMMMMMMM.          
     MMMMMMMWMMXNMXWMWMMMMMM        dMMMMMMWMNNWXNMMMMMMMMMo    
   .MMWWNkxkxlooclocxld0xXMMMM    dMMWMKxOldococcdllOkx0NWWMO   
   ;MM0cccccccccccccccccccolKMM; XMMOlocccccccccccccccccclNMX   
    XMOlccccclodlccccccccccccOMMXMWdccccccccccccodolcccccoKM;   
    xMNxccccccclxkOkocccccccccKMMMxcccccccccdkkkdccccccccOWM.   
     KMKoccccccccccoOK0xlcccccOMMMoccccclkKKklccccccccccxNM;    
      oWOoccccccccccccoONKxccxWMMMNdclkXXklccccccccccccd0M      
       kW0occccccccccccccxNWWMMMMMMMNMKdccccccccccccccdXM.      
         WMKocccccccccccclNMMMMMMMMMMM0ccccccccccccldXMc        
           cMWkddlccccld0WMMMMMMMMMMMMMNOocccccoddOWW           
            'MMMMKKKXNMMMMMMWNXXXXXNMMMMMMMNXKKXMMM0            
          KMMMWXKK000KWMMNKOOOOOOOOOO0XWMNKKKKXXWMMMMM,         
        cMMMXOOOOOOO0NMM0OOOOOOOOOOOOOOONMXOOOOOOOKNMMMW        
       :MMNOOOOOOO0NMMMMKOOOOOOOOOOOOOOONMMWKOOOOOOOKMMMW       
       MMWOOOOOOKWMMMMMMMWXK0OOOOOOO00XWMMMMMMX0OOOOOKMMMc      
      .MMXOOO0XMMMMWNXXXXNWMMMWWWWWMMWXKK0KKXWMMNKOOOOWMMO      
      xMMXKNWMMMWX0OOOOOOOO0XMMMMMMN0OOOOOOOOOOKWMMNK0WMMM.     
    NMMMMMMMMMMKOOOOOOOOOOOOOKMMMMNOOOOOOOOOOOOOOXMMMMMWMMMM:   
  :MMMX0OKMMMM0OOOOOOOOOOOOOOONMMMOOOOOOOOOOOOOOOOKMMWOO0NMMMX  
 ;MMW0OOOOWMMKOOOOOOOOOOOOOOOOXMMMOOOOOOOOOOOOOOOOOWMXOOOO0WMMN 
 MMWOOOOOOWMMOOOOOOOOOOOOOOOOOWMMMXOOOOOOOOOOOOOOOOXMXOOOOOOMMMl
'MMKOOOOOOMMMKOOOOOOOOOOOOOOONMMMMMKOOOOOOOOOOOOOOOWMNOOOOOONMMO
.MMKOOOOO0MMMW0OOOOOOOOOOOO0NMMMMMMMN0OOOOOOOOOOOONMMMOOOOOONMMx
 dMNOOOOONMMMMMX0OOOOOOOOKNMMWNNNNNWMMNK0OOOOOO0XWMMMMXOOOO0MMM.
  xMXOOOKMMMMMMMMWNNXNNWMMX0OOOOOOOOOKNMMMWWWWMMMMMMMMM0OO0WMM. 
   .MWXNMMWNWMMMMMMMMMMMNOOOOOOOOOOOOOO0NMMMMMMMMNK000KWNNMMx   
    oMMMNOOOOO0XWMMMMMMNOOOOOOOOOOOOOOOOOWMMMMWXOOOOOOO0MMMM    
     XMM0OOOOOOOO0NMMMMKOOOOOOOOOOOOOOOOOXMMMXOOOOOOOOOOWMM;    
     .MM0OOOOOOOOOOKMMMXOOOOOOOOOOOOOOOOONMW0OOOOOOOOOOOWMO     
      OMNOOOOOOOOOOO0MMMKOOOOOOOOOOOOOOOKMM0OOOOOOOOOOO0MM.     
       KMXOOOOOOOOOOOXMMMN0OOOOOOOOOOOKNMMXOOOOOOOOOOO0WM,      
        cMW0OOOOOOOOOKMMMMMWNXK00KKXNWMMMM0OOOOOOOOOOXMN        
          :MWX0OOOOOONMMMMMMMMMMMMMMMMMMMMNOOOOOOOKNMW          
              NMWWWWMMMMWNXK00OOOOO00KXNMMMMWNNNWM:             
                 KMMMMMXOOOOOOOOOOOOOOOOOMMMMMM,                
                     XMWKOOOOOOOOOOOOOOKWMM;                    
                        WMNK0OOOOOO0KXWMc                       
                           'MMWWWWMM0                           
                                                                

View File

@ -1,52 +1,32 @@
                                                                                                        
                                                                                                        
                                           ......''''''......                                           
                                   ...',;;;;;;;;;;;;;;;;;;;;;;;;,'...                                   
                               .',;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,'.                               
                           .';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;'.                           
                        .,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,.                        
                     .';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;'.                     
                   .,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.                   
                 .;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.                 
               .;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.               
             .,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,.             
            .;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.            
           ,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,           
          c;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,'...      ...,:lxOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOk.         
        .ddo;;;;;;;;;;;;;;;;;;;;;;;;;;;,..                    'ck000000000000000000000000000000,        
        ddddo:;;;;;;;;;;;;;;;;;;;;;;,.         ..........        .:k0000000000000000000000000000.       
       odddddd:;;;;;;;;;;;;;;;;;;;,.      .';::::::::::::::;'.      'x000000000000000000000000000       
      cddddddddc;;;;;;;;;;;;;;;;,.     .,::::::::::::::::::::::,.     'k0000000000000000000000000k      
     .ddddddddddl;;;;;;;;;;;;;;'     .;::::::::::::::::::::::::::;.     o0000000000000000000000000;     
     odddddddddddo;;;;;;;;;;;;.     ;::::::::::::::::::::::::::::::;.    c0000000000000000000000000     
    .dddddddddddddo:;;;;;;;;;'    .::::::::::::::::::::::::::::::::::.    l000000000000000000000000'    
    ,ddddddddddddddo:;;;;;;;,     ::::::::::::::::::::::::::::::::::::.    k00000000000000000000000x    
    oddddddddddddddddc;;;;;;.    ;::::::::::::::::::::::::::::::::::::;    ;000000000000000000000000    
    ddddddddddddddddddc;;;;;    .::::::::::::::::::::::::::::::::::::::.    000000000000000000000000    
    dddddddddddddddddddl;;;;    .::::::::::::::::::::::::::::::::::::::'    O00000000000000000000000    
    ddddddddddddddddddddo;;;    .::::::::::::::::::::::::::::::::::::::'    k00000000000000000000000    
    dddddddddddddddddddddo:;    .::::::::::::::::::::::::::::::::::::::.    000000000000000000000000    
    :dddddddddddddddddddddo:.    ;::::::::::::::::::::::::::::::::::::;    ,00000000000000000000000O    
    .ddddddddddddddddddddddd:     ;:::::::::::::::::::::::::::::::::::.    k00000000000000000000000:    
     dddddddddddddddddddddddd:    .;:::::::::::::::::::::::::::::::::.    o000000000000000000000000     
     ,dddddddddddddddddddddddd:     ,::::::::::::::::::::::::::::::;     c000000000000000000000000d     
      dddddddddddddddddddddddddc     .;::::::::::::::::::::::::::;.     o0000000000000000000000000      
      .dddddddddddddddddddddddddo'     .,::::::::::::::::::::::,.     'k0000000000000000000000000;      
       ,ddddddddddddddddddddddddddl'      .',::::::::::::::,'.      .o00000000000000000000000000o       
        ;dddddddddddddddddddddddddddo;.        ..........        .,ok00000000000000000000000000x        
         ;dddddddddddddddddddddddddddddo:..                   .;oddk00000000000000000000000000x         
          'ddddddddddddddddddddddddddddddddoc;,'........',;codddddO00000000000000000000000000c          
            dddddddddddddddddddddddddddddddddddddddddddddddddddddO00000000000000000000000000.           
             ldddddddddddddddddddddddddddddddddddddddddddddddddx00000000000000000000000000O             
              .dddddddddddddddddddddddddddddddddddddddddddddddx00000000000000000000000000,              
                .ddddddddddddddddddddddddddddddddddddddddddddk0000000000000000000000000:                
                  'dddddddddddddddddddddddddddddddddddddddddk000000000000000000000000l                  
                    .ddddddddddddddddddddddddddddddddddddddO00000000000000000000000,                    
                       :dddddddddddddddddddddddddddddddddxO000000000000000000000x                       
                          cdddddddddddddddddddddddddddddx00000000000000000000k                          
                              dddddddddddddddddddddddddx000000000000000000.                             
                                  :dddddddddddddddddddk00000000000000x                                  
                                        .ddddddddddddk000000000,                                        
                                                                                                        
                                                                                                        
                                                                                                        
                         ..',,;;;;,,'..                         
                   ...,;;;;;;;;;;;;;;;;;;,...                   
               ..,;;;;;;;;;;;;;;;;;;;;;;;;;;;;,..               
            ..;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;'.            
          .,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,.          
        .;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.        
      .,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.      
     ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;'     
    c;;;;;;;;;;;;;;;;;;;;,'...    ..,cdkkkkkkkkkkkkkkkkkkkkx.   
   odo;;;;;;;;;;;;;;;;'.      ....      ,o000000000000000000O   
  ldddo:;;;;;;;;;;;;.    .';::::::::;'.    c00000000000000000O  
 ;dddddd:;;;;;;;;;'   .,::::::::::::::::,.  .d0000000000000000o 
 ddddddddc;;;;;;;'   '::::::::::::::::::::,   l0000000000000000 
'dddddddddl;;;;;,   ;::::::::::::::::::::::;   d000000000000000c
cddddddddddl;;;;.  '::::::::::::::::::::::::'  .000000000000000O
ddddddddddddo:;;   ;:::::::::::::::::::::::::   0000000000000000
oddddddddddddd:;   ;:::::::::::::::::::::::::   0000000000000000
;ddddddddddddddc.  .::::::::::::::::::::::::'  .000000000000000d
.ddddddddddddddd:   ,::::::::::::::::::::::;   x000000000000000.
 oddddddddddddddd:   '::::::::::::::::::::'   o000000000000000O 
  ddddddddddddddddl.  .,::::::::::::::::,.  .d0000000000000000. 
  .ddddddddddddddddd;    .';::::::::;'.    :O0000000000000000;  
   'ddddddddddddddddddc'       ..       'cx00000000000000000c   
    .ddddddddddddddddddddoc;'......',:oddk00000000000000000,    
      ddddddddddddddddddddddddddddddddddk00000000000000000      
       .dddddddddddddddddddddddddddddddO0000000000000000;       
         'dddddddddddddddddddddddddddx0000000000000000c         
           .ddddddddddddddddddddddddx000000000000000.           
              .ddddddddddddddddddddk0000000000000;              
                  :dddddddddddddddk0000000000d                  
                        dddddddddO000000                        
                              .ox,                              

View File

@ -723,7 +723,7 @@ config("compiler") {
"/opt:lldltojobs=all",
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-import-cold-multiplier=2",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
@ -1117,10 +1117,9 @@ config("compiler_cpu_abi") {
"-m64",
"-O3",
"-march=x86-64-v3",
"-mtune=x86-64-v3",
"-ffp-contract=fast",
]
ldflags += [ "-m64", "-Wl,-O3", "-Wl,-mllvm,-march=x86-64-v3", "-Wl,-mllvm,-fp-contract=fast", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=4", ]
ldflags += [ "-m64", "-Wl,-O3", "-Wl,-mllvm,-march=x86-64-v3", "-Wl,-mllvm,-fp-contract=fast", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=2", ]
} else if (current_cpu == "x86") {
cflags += [ "-m32" ]
ldflags += [ "-m32", "-Wl,-O3", "-msse3", ]

View File

@ -141,7 +141,6 @@ config("compiler") {
"/clang:-mpclmul",
"-Xclang", "-O3",
"/clang:-march=x86-64-v3",
"/clang:-mtune=x86-64-v3",
"/clang:-ffp-contract=fast",
"/arch:AVX2",
"-Wno-unused-command-line-argument",

View File

@ -1 +1 @@
Thorium-Win-AVX2
Win-AVX2

View File

@ -723,7 +723,7 @@ config("compiler") {
"/opt:lldltojobs=all",
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-import-cold-multiplier=2",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
@ -2285,7 +2285,7 @@ if (is_win) {
common_optimize_on_ldflags += [
"-Wl,-mllvm,-enable-gvn-hoist",
"-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=4",
"-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=2",
"-Wl,-O3",
]

View File

@ -723,7 +723,7 @@ config("compiler") {
"/opt:lldltojobs=all",
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-import-cold-multiplier=2",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
@ -1118,7 +1118,7 @@ config("compiler_cpu_abi") {
"-O3",
"-msse3",
]
ldflags += [ "-m64", "-Wl,-O3", "-msse3", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=4", ]
ldflags += [ "-m64", "-Wl,-O3", "-msse3", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=2", ]
} else if (current_cpu == "x86") {
cflags += [ "-m32" ]
ldflags += [ "-m32", "-Wl,-O3", "-msse3", ]

View File

@ -1 +1 @@
Thorium-Special
Special

View File

@ -63,7 +63,7 @@ about:version template page
<img alt="$i18n{logo_alt_text}" src="images/product_logo.png">
</picture>
</if>
<div id="company"><a target="_blank" rel="noopener" href="https://github.com/Alex313031/Thorium">$i18n{company}</a></div>
<div id="company"><a target="_blank" rel="noopener" href="https://github.com/Alex313031/thorium">$i18n{company}</a></div>
<div id="copyright">$i18n{copyright}<br>Dis is Das Special Windows 7 Build!</div>
<!-- Thorium Mascot. -->
<picture title="Thorium Mascot">

View File

@ -1,6 +1,6 @@
## Thorium Pak Customizer
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/pak.png">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/pak.png">
This contains the source code for pak.

View File

@ -263,7 +263,7 @@ printf "alias ${YEL}pgom${c0} = ${CYA}python3 tools/update_pgo_profiles.py --tar
printf "alias ${YEL}pgomac-arm${c0} = ${CYA}python3 tools/update_pgo_profiles.py --target=mac-arm update --gs-url-base=chromium-optimization-profiles/pgo_profiles${c0}\n" &&
printf "${CYA}\n" &&
printf "\n" &&
cat logos/thorium_ascii_art.txt &&

View File

@ -723,7 +723,7 @@ config("compiler") {
"/opt:lldltojobs=all",
"-mllvm:-import-instr-limit=$import_instr_limit",
"-mllvm:-import-hot-multiplier=15",
"-mllvm:-import-cold-multiplier=4",
"-mllvm:-import-cold-multiplier=2",
"-mllvm:-disable-auto-upgrade-debug-info",
# "/lldltocache:" +
# rebase_path("$root_out_dir/thinlto-cache", root_build_dir),
@ -1120,7 +1120,7 @@ config("compiler_cpu_abi") {
"-maes",
"-mpclmul",
]
ldflags += [ "-m64", "-Wl,-O3", "-mavx", "-maes", "-mpclmul", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=4", ]
ldflags += [ "-m64", "-Wl,-O3", "-mavx", "-maes", "-mpclmul", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=2", ]
} else if (current_cpu == "x86") {
cflags += [ "-m32" ]
ldflags += [ "-m32", "-Wl,-O3", "-msse3", ]

View File

@ -49,8 +49,8 @@ config("compiler") {
ldflags = [ "-Wl,-O3", ] + common_mac_flags
if (current_cpu == "arm64") {
cflags += [ "-march=armv8.3-a+simd", "-mfloat-abi=hard", "-mfpu=neon" ]
ldflags += [ "-march=armv8.3-a+simd" ]
cflags += [ "-march=armv8.3-a+simd", ]
ldflags += [ "-march=armv8.3-a+simd", ]
}
if (current_cpu == "x64") {

View File

@ -12,7 +12,7 @@
.SH DESCRIPTION
See the Thorium Repository for help on using the browser.
.IP
<https://github.com/Alex313031/Thorium/>
<https://github.com/Alex313031/thorium/>
.PP
This manpage only describes invocation, environment, and arguments.
@ -156,7 +156,7 @@ Default directory for cache data. (Why? See
.SH BUGS
Bug tracker:
.IP
http://code.google.com/p/chromium/issues/list & https://github.com/Alex313031/Thorium/issues
http://code.google.com/p/chromium/issues/list & https://github.com/Alex313031/thorium/issues
.PP
Be sure to do your search within "All Issues" before reporting bugs,
and be sure to pick the "Defect on Linux" template when filing a new one.

View File

@ -20,15 +20,15 @@
Thorium supports Vorbis, Theora, WebM, AAC, H.264, MP3, and HTML5 audio and video standards.
</p>
</description>
<url type="homepage">https://github.com/Alex313031/Thorium</url>
<url type="homepage">https://github.com/Alex313031/thorium</url>
<screenshots>
<screenshot type="default">
<image>https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/Thorium_Screenshot.png</image>
<image>https://github.com/Alex313031/thorium/blob/main/logos/STAGING/Thorium_Screenshot.png</image>
<caption/>
</screenshot>
</screenshots>
<translation/>
<developer_name>The Chromium Authors and Alex313031</developer_name>
<url type="bugtracker">https://github.com/Alex313031/Thorium/issues</url>
<url type="bugtracker">https://github.com/Alex313031/thorium/issues</url>
<url type="help">https://chromium.googlesource.com/chromium/src/+/main/docs/linux/debugging.md</url>
</component>

View File

@ -36,4 +36,4 @@ FULLDESC="Thorium is a browser that combines a minimal design with sophisticated
# TODO(mmoss) Setup a mailbox for this address
MAINTNAME="Thorium Linux Maintainers"
MAINTMAIL="alex313031@gmail.com"
PRODUCTURL="https://github.com/Alex313031/Thorium"
PRODUCTURL="https://github.com/Alex313031/thorium"

View File

@ -1,4 +1,4 @@
## Thorium Network Error Interstitial Resources&nbsp;&nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/components/200/error_network_generic.png" width="48">
## Thorium Network Error Interstitial Resources&nbsp;&nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/components/200/error_network_generic.png" width="48">
This directory contains the HTML template and resources displayed in the case of
network errors received when fetching the root document or iframes. These error
@ -7,7 +7,7 @@ pages can be previewed by following the links listed in chrome://network-errors.
The same template is used across all desktop and mobile platforms and for main
frames and iframes.
This dir also includes the scripts and images for the Thorium Dino game.&nbsp;&nbsp;<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/dino_32px.png">
This dir also includes the scripts and images for the Thorium Dino game.&nbsp;&nbsp;<img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/dino_32px.png">
---
See also:

View File

@ -63,7 +63,7 @@ about:version template page
<img alt="$i18n{logo_alt_text}" src="images/product_logo.png">
</picture>
</if>
<div id="company"><a target="_blank" rel="noopener" href="https://github.com/Alex313031/Thorium">$i18n{company}</a></div>
<div id="company"><a target="_blank" rel="noopener" href="https://github.com/Alex313031/thorium">$i18n{company}</a></div>
<div id="copyright">$i18n{copyright}</div>
<if expr="not is_android and not is_ios">
<br/>

387
src/third_party/libaom/BUILD.gn vendored Normal file
View File

@ -0,0 +1,387 @@
# 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.
import("//build/buildflag_header.gni")
import("//build/config/android/config.gni")
import("//build/config/arm.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
import("//third_party/libaom/libaom_srcs.gni")
import("//third_party/libaom/libaom_test_srcs.gni")
import("//third_party/libaom/options.gni")
import("//third_party/nasm/nasm_assemble.gni")
buildflag_header("libaom_buildflags") {
header = "libaom_buildflags.h"
flags = [ "ENABLE_LIBAOM=$enable_libaom" ]
}
# Sets the architecture name for building libaom.
if (current_cpu == "x86") {
cpu_arch_full = "ia32"
} else if (current_cpu == "x64") {
if (is_msan) {
# TODO(johannkoenig): Check if MSAN builds pass. libaom is favoring
# intrinsics over assembly.
cpu_arch_full = "generic"
} else {
cpu_arch_full = "x64"
}
} else if (current_cpu == "arm") {
if (arm_use_neon) {
cpu_arch_full = "arm-neon"
} else if (is_android) {
cpu_arch_full = "arm-neon-cpu-detect"
} else {
cpu_arch_full = "arm"
}
} else if (current_cpu == "arm64") {
cpu_arch_full = "arm64-cpu-detect"
} else if (current_cpu == "riscv64") {
cpu_arch_full = "generic"
} else if (current_cpu == "loong64") {
cpu_arch_full = "generic"
} else {
cpu_arch_full = current_cpu
}
if (is_nacl) {
platform_include_dir = "source/config/linux/generic"
} else {
if (is_ios && current_cpu == "arm") {
os_category = current_os
} else if (is_posix || is_fuchsia) {
# Should cover linux, fuchsia, mac, and the ios simulator.
os_category = "linux"
} else { # This should only match windows.
os_category = current_os
}
platform_include_dir = "source/config/$os_category/$cpu_arch_full"
}
libaom_include_dirs = [
"source/config",
platform_include_dir,
"source/libaom",
]
config("libaom_config") {
include_dirs = libaom_include_dirs
}
# This config is applied to targets that depend on libaom.
config("libaom_external_config") {
include_dirs = [ "source/libaom" ]
}
if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
nasm_assemble("libaom_nasm") {
sources = aom_dsp_common_asm_sse2
sources += aom_dsp_common_asm_ssse3
sources += aom_ports_asm_x86
sources += aom_av1_encoder_asm_sse2
sources += aom_dsp_encoder_asm_sse2
if (current_cpu == "x64") {
sources += aom_av1_encoder_asm_ssse3_x86_64
sources += aom_dsp_encoder_asm_sse2_x86_64
sources += aom_dsp_encoder_asm_ssse3_x86_64
}
defines = [ "CHROMIUM" ]
include_dirs = libaom_include_dirs
}
# The following targets are deliberately source_set rather than
# static_library. The :libaom target exposes these intrinsic implementations
# via global function pointer symbols, which hides the object dependency at
# link time. On Mac, this results in undefined references to the intrinsic
# symbols.
source_set("libaom_intrinsics_sse2") {
# TODO(jianj): Align this with libvpx as this is not used there.
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (!is_win || is_clang) {
cflags = [ "-msse2" ]
}
sources = aom_av1_common_intrin_sse2
sources += aom_dsp_common_intrin_sse2
sources += aom_av1_encoder_intrin_sse2
sources += aom_dsp_encoder_intrin_sse2
}
source_set("libaom_intrinsics_sse3") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (!is_win || is_clang) {
cflags = [ "-msse3" ]
}
sources = aom_av1_encoder_intrin_sse3
}
source_set("libaom_intrinsics_ssse3") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (!is_win || is_clang) {
cflags = [ "-mssse3" ]
}
sources = aom_av1_common_intrin_ssse3
sources += aom_av1_encoder_intrin_ssse3
sources += aom_dsp_common_intrin_ssse3
sources += aom_dsp_encoder_intrin_ssse3
}
source_set("libaom_intrinsics_sse4_1") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (!is_win || is_clang) {
cflags = [ "-msse4.1" ]
}
sources = aom_av1_common_intrin_sse4_1
sources += aom_dsp_common_intrin_sse4_1
sources += aom_av1_encoder_intrin_sse4_1
sources += aom_dsp_encoder_intrin_sse4_1
}
source_set("libaom_intrinsics_sse4_2") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (!is_win || is_clang) {
cflags = [ "-msse4.2" ]
}
sources = aom_av1_encoder_intrin_sse4_2
}
source_set("libaom_intrinsics_avx") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (is_win) {
cflags = [ "/arch:AVX" ]
} else {
cflags = [ "-mavx" ]
}
sources = aom_dsp_encoder_intrin_avx
}
source_set("libaom_intrinsics_avx2") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (is_win) {
cflags = [ "/arch:AVX2" ]
} else {
cflags = [ "-mavx2" ]
}
sources = aom_av1_common_intrin_avx2
sources += aom_dsp_common_intrin_avx2
sources += aom_av1_encoder_intrin_avx2
sources += aom_dsp_encoder_intrin_avx2
}
}
if (current_cpu == "arm64" || cpu_arch_full == "arm-neon" ||
cpu_arch_full == "arm-neon-cpu-detect") {
source_set("libaom_intrinsics_neon") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
if (current_cpu == "arm") {
configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
cflags = [ "-mfpu=neon" ]
}
configs += [ ":libaom_config" ]
sources = aom_av1_common_intrin_neon
sources += aom_dsp_common_intrin_neon
sources += aom_av1_encoder_intrin_neon
sources += aom_dsp_encoder_intrin_neon
}
}
if (current_cpu == "arm64") {
source_set("libaom_intrinsics_arm_crc32") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
if (!is_win || is_clang) {
cflags = [ "-march=armv8-a+crc" ]
}
sources = aom_av1_encoder_intrin_arm_crc32
}
source_set("libaom_intrinsics_neon_dotprod") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ "//build/config/compiler:march-dotprod" ]
configs += [ ":libaom_config" ]
sources = aom_av1_common_intrin_neon_dotprod
sources += aom_dsp_common_intrin_neon_dotprod
sources += aom_av1_encoder_intrin_neon_dotprod
sources += aom_dsp_encoder_intrin_neon_dotprod
}
source_set("libaom_intrinsics_neon_i8mm") {
check_includes = false
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ "//build/config/compiler:march-i8mm" ]
configs += [ ":libaom_config" ]
sources = aom_av1_common_intrin_neon_i8mm
sources += aom_dsp_common_intrin_neon_i8mm
}
}
static_library("libaom") {
check_includes = false
if (!is_debug && is_win) {
configs -= [ "//build/config/compiler:default_optimization" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
sources = aom_av1_common_sources
sources += aom_av1_decoder_sources
sources += aom_dsp_common_sources
sources += aom_dsp_decoder_sources
sources += aom_mem_sources
sources += aom_rtcd_sources
sources += aom_scale_sources
sources += aom_sources
sources += aom_util_sources
sources += aom_av1_encoder_sources
sources += aom_dsp_encoder_sources
if (use_fuzzing_engine) {
# Note this is inherited from OSS-Fuzz where the fuzzers were being run
# with a 2 GB total allocation limit.
if (is_msan) {
defines = [ "AOM_MAX_ALLOCABLE_MEMORY=536870912" ]
} else {
defines = [ "AOM_MAX_ALLOCABLE_MEMORY=1073741824" ]
}
# Also enable DO_RANGE_CHECK_CLAMP to suppress the noise of integer
# overflows in the transform functions.
defines += [ "DO_RANGE_CHECK_CLAMP=1" ]
}
deps = []
if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
deps += [
":libaom_intrinsics_avx",
":libaom_intrinsics_avx2",
":libaom_intrinsics_sse2",
":libaom_intrinsics_sse3",
":libaom_intrinsics_sse4_1",
":libaom_intrinsics_sse4_2",
":libaom_intrinsics_ssse3",
":libaom_nasm",
]
}
if (current_cpu == "arm64" || cpu_arch_full == "arm-neon" ||
cpu_arch_full == "arm-neon-cpu-detect") {
deps += [ ":libaom_intrinsics_neon" ]
}
if (current_cpu == "arm64") {
# This is needed by all arm boards due to aom_arm_cpu_caps()
sources += [ "source/libaom/aom_ports/aarch64_cpudetect.c" ]
deps += [
":libaom_intrinsics_arm_crc32",
":libaom_intrinsics_neon_dotprod",
":libaom_intrinsics_neon_i8mm",
]
}
if (current_cpu == "arm") {
# This is needed by all arm boards due to aom_arm_cpu_caps()
sources += [ "source/libaom/aom_ports/aarch32_cpudetect.c" ]
}
if (is_android) {
deps += [ "//third_party/cpu_features:ndk_compat" ]
}
public_configs = [ ":libaom_external_config" ]
public_deps = [ ":libaom_buildflags" ]
}
static_library("libaomrc") {
if (!is_debug && is_win) {
configs -= [ "//build/config/compiler:default_optimization" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
sources = [
"//third_party/libaom/source/libaom/av1/ratectrl_rtc.cc",
"//third_party/libaom/source/libaom/av1/ratectrl_rtc.h",
]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
configs += [ ":libaom_config" ]
public_configs = [ ":libaom_external_config" ]
public_deps = [ ":libaom" ]
}
fuzzer_test("libaom_av1_dec_fuzzer") {
sources = [ "source/libaom/examples/av1_dec_fuzzer.cc" ]
seed_corpus = "fuzz/av1_dec_fuzzer_corpus"
deps = [ ":libaom" ]
additional_configs = [ ":libaom_config" ]
}
config("test_libaom_config") {
include_dirs = [ "//third_party/libaom/source/libaom/third_party/libwebm" ]
}
test("test_libaom") {
sources = aom_libwebm_sources
sources += aom_webm_decoder_sources
sources += aom_webm_encoder_sources
sources += aom_common_app_util_sources
sources += aom_decoder_app_util_sources
sources += aom_encoder_app_util_sources
sources += aom_unit_test_common_sources
sources += aom_unit_test_decoder_sources
sources += aom_unit_test_encoder_sources
sources += aom_unit_test_wrapper_sources
sources += [ "source/gen_src/usage_exit.c" ]
deps = [
":libaom",
"//third_party/googletest:gtest",
]
defines = [ "CHROMIUM" ]
if (is_android) {
use_raw_android_executable = true
defines += [ "LIBAOM_TEST_DATA_PATH=/data/local/tmp/chromium_tests_root/third_party/libaom/testdata" ]
data = [ "testdata/" ]
} else {
defines += [ string_join("",
[
"LIBAOM_TEST_DATA_PATH=",
rebase_path("testdata", root_build_dir),
]) ]
}
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
":libaom_config",
":test_libaom_config",
]
}

View File

@ -1,6 +1,6 @@
Name: pak
Short Name: pak
URL: https://github.com/Alex313031/Thorium/tree/main/pak_src
URL: https://github.com/Alex313031/thorium/tree/main/pak_src
Version: 2.0.2
Date: 08/02/22
Revision: 2.0.2

View File

@ -82,35 +82,39 @@ printf "\n" &&
printf "${GRE}Done! ${YEL}You can now run \'./version.sh\'\n" &&
tput sgr0 &&
c0='\033[0m' # Reset Text
c1='\033[0m\033[36m\033[1m' # Light Cyan
c2='\033[0m\033[1;31m' # Light Red
c3='\033[0m\033[37m' # Light Grey
c4='\033[0m\033[1;34m\033[1m' # Light Blue
c5='\033[0m\033[1;37m' # White
c6='\033[0m\033[1;34m' # Dark Blue
c7='\033[1;32m' # Green
#c0='\033[0m' # Reset Text
#c1='\033[0m\033[36m\033[1m' # Light Cyan
#c2='\033[0m\033[1;31m' # Light Red
#c3='\033[0m\033[37m' # Light Grey
#c4='\033[0m\033[1;34m\033[1m' # Light Blue
#c5='\033[0m\033[1;37m' # White
#c6='\033[0m\033[1;34m' # Dark Blue
#c7='\033[1;32m' # Green
#printf "\n" &&
#printf "${c4} .,:loool:,. \n" &&
#printf "${c4} .,coooooooooooooc,. \n" &&
#printf "${c4} .,lllllllllllllllllllll,. \n" &&
#printf "${c4} ;ccccccccccccccccccccccccc; \n" &&
#printf "${c1} ,${c4}ccccccccccccccccccccccccccccc. \n" &&
#printf "${c1} ,oo${c4}c::::::::ok${c5}00000${c3}OOkkkkkkkkkkk: \n" &&
#printf "${c1} .ooool${c4};;;;:x${c5}K0${c6}kxxxxxk${c5}0X${c3}K0000000000. \n" &&
#printf "${c1} :oooool${c4};,;O${c5}K${c6}ddddddddddd${c5}KX${c3}000000000d \n" &&
#printf "${c1} lllllool${c4};l${c5}N${c6}dllllllllllld${c5}N${c3}K000000000 \n" &&
#printf "${c1} lllllllll${c4}o${c5}M${c6}dccccccccccco${c5}W${c3}K000000000 \n" &&
#printf "${c1} ;cllllllllX${c5}X${c6}c:::::::::c${c5}0X${c3}000000000d \n" &&
#printf "${c1} .ccccllllllO${c5}Nk${c6}c;,,,;cx${c5}KK${c3}0000000000. \n" &&
#printf "${c1} .cccccclllllxO${c5}OOOO0${c1}kx${c3}O0000000000; \n" &&
#printf "${c1} .:ccccccccllllllllo${c3}O0000000OOO, \n" &&
#printf "${c1} ,:ccccccccclllcd${c3}0000OOOOOOl. \n" &&
#printf "${c1} .::ccccccccc${c3}dOOOOOOOkx:. \n" &&
#printf "${c1} ..,::cccc${c3}xOOOkkko;. \n" &&
#printf "${c1} ..::${c3}dOkkxl:. \n" &&
#printf "\n"
#printf "${c7} Long Live Chromium\041\n${c0}\n" &&
printf "\n" &&
printf "${c4} .,:loool:,. \n" &&
printf "${c4} .,coooooooooooooc,. \n" &&
printf "${c4} .,lllllllllllllllllllll,. \n" &&
printf "${c4} ;ccccccccccccccccccccccccc; \n" &&
printf "${c1} ,${c4}ccccccccccccccccccccccccccccc. \n" &&
printf "${c1} ,oo${c4}c::::::::ok${c5}00000${c3}OOkkkkkkkkkkk: \n" &&
printf "${c1} .ooool${c4};;;;:x${c5}K0${c6}kxxxxxk${c5}0X${c3}K0000000000. \n" &&
printf "${c1} :oooool${c4};,;O${c5}K${c6}ddddddddddd${c5}KX${c3}000000000d \n" &&
printf "${c1} lllllool${c4};l${c5}N${c6}dllllllllllld${c5}N${c3}K000000000 \n" &&
printf "${c1} lllllllll${c4}o${c5}M${c6}dccccccccccco${c5}W${c3}K000000000 \n" &&
printf "${c1} ;cllllllllX${c5}X${c6}c:::::::::c${c5}0X${c3}000000000d \n" &&
printf "${c1} .ccccllllllO${c5}Nk${c6}c;,,,;cx${c5}KK${c3}0000000000. \n" &&
printf "${c1} .cccccclllllxO${c5}OOOO0${c1}kx${c3}O0000000000; \n" &&
printf "${c1} .:ccccccccllllllllo${c3}O0000000OOO, \n" &&
printf "${c1} ,:ccccccccclllcd${c3}0000OOOOOOl. \n" &&
printf "${c1} .::ccccccccc${c3}dOOOOOOOkx:. \n" &&
printf "${c1} ..,::cccc${c3}xOOOkkko;. \n" &&
printf "${c1} ..::${c3}dOkkxl:. \n" &&
cat ~/thorium/logos/chromium_logo_ascii_art.txt &&
printf "\n"
printf "${c7} Long Live Chromium\041\n${c0}\n" &&
exit 0

View File

@ -62,6 +62,8 @@ cd ${CR_SRC_DIR} &&
gclient sync --with_branch_heads --with_tags -f -R -D &&
git clean -ffd &&
gclient runhooks &&
# Install all sysroots (i.e. for ARM64)

View File

@ -1,4 +1,4 @@
## Windows Build Scripts <img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/winflag_animated.gif" width="64">
## Windows Build Scripts <img src="https://github.com/Alex313031/thorium/blob/main/logos/STAGING/winflag_animated.gif" width="64">
<img src="https://github.com/Alex313031/thorium/blob/main/logos/NEW/win/mini_installer/thorium_mini_installer_86.png">