22 lines
1.5 KiB
Text
22 lines
1.5 KiB
Text
## Copyright (c) 2022 Alex313031
|
|
|
|
## Summary
|
|
This is a special program, built on top of content_shell and incorporating a multitude of options for testing, viewing, and debugging UI resources in Thorium.
|
|
Run the thorium_debug_shell.exe, and you can select from the menu. Some things are interactive, some load internal resources, and some require loading external resources like viewing .icon files. In that case, you can load a file using its full path in the box towards the bottom.
|
|
|
|
## Use in Thorium
|
|
I built this to view and test native Chromium UI icons in the .icon format.
|
|
These files are in:
|
|
//chromium/src/ui/views/vector_icons ## For many subcomponents like native UI views.
|
|
//chromium/src/ui/views/window/vector_icons ## For icons relating to the top bar.
|
|
//chromium/src/components/vector_icons ## For components that affect many build targets.
|
|
//chromium/src/chrome/app/vector_icons ## For icons only used in the browser.
|
|
//chromium/src/ash/resources/vector_icons ## For icons used in Chromium on ChromiumOS.
|
|
//chromium/src/chromeos/ui/vector_icons ## For icons specific to ChromiumOS.
|
|
//chromium/src/chromecast/ui/vector_icons ## For icons specific to ChromeCast.
|
|
|
|
## Building
|
|
To build, use: autoninja -C out/thorium chrome chromedriver thorium_shell setup mini_installer views_examples_with_content or just
|
|
autoninja -C out/thorium views_examples_with_content to exclude building the rest of Thorium.
|
|
|
|
More info can be found at > https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/components/vector_icons/README.md
|