Tips, tricks and manuals
Je bent niet ingelogd.
Pagina's: 1
Compile Chromium:
Of cource you should just install Chromium but for those who want to compile..
60 GB diskspace needed, you will end up with 1 million files!!
In your home directory open terminal and do this:
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
echo $PATH
export PATH="$PATH:${HOME}/depot_tools"
echo $PATH
Edit ~/.bashrc file:
nano ~/.bashrc
Add this line and save:
export PATH="$HOME/depot_tools:$PATH"
In terminal:
source ~/.bashrc
Check in new terminal if $PATH is permanent:
echo $PATH
All good? Continue:
cd depot_tools
gclient sync -D
cd ..
mkdir build
cd build
mkdir chromium
cd chromium
fetch --nohooks --no-history chromium
gclient sync
cd src
./build/install-build-deps.sh
gn gen out/unix
autoninja -C out/unix chrome -j5
5 hours later you can run Chrome:
out/unix/chrome
Make installer:
cd ~/build/chromium/src/out/unix
nano args.gn
add these lines and save file:
is_component_build = false
is_debug = false
symbol_level = 0
enable_nacl = true
enable_linux_installer = true
In src directory:
ninja -C out/unix "chrome/installer/linux:stable_deb" -j5
On error:
gclient runhooks
git rebase-update
gclient sync
And try again:
gn gen out/Default
autoninja -C out/Default chrome
autoninja -C out/Default unit_tests
run Chrome:
out/Default/chrome
Good luck!
Laatst bewerkt door Bas (2022-04-14 02:57:16)
Offline
Pagina's: 1