thorium-mirror/infra/README.md
Alexander David Frick ccb69f0f1f
Update README.md
2022-06-24 02:38:01 -05:00

19 lines
3.6 KiB
Markdown

## 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.)
- 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.
&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.
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/NEW/thorium_infra_256.png" width="200">