Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
general info
mkdir -pv ~/chromium
cd ~/chromium
git config --global user.name “Joel Maranhao”
git config --global user.email “youremail@example.com”
git config --global core.autocrlf false
git config --global core.filemode false
git config --global color.ui true
git clone https://chromium.googlesource.com/chromium/tools/depot_tools
export PATH=$PATH:~/chromium/depot_tools See Update Notes 1
mkdir -v ~/chromium/buildhost See Update Note 2
cd ../buildhost See Update Note 2
fetch --nohooks chromium
cd src && ./build/install-build-deps.sh See Note 3
sudo apt-get install gcc-arm-linux-gnueabihf
sudo apt-get install g++-4.8-multilib-arm-linux-gnueabihf
./build/install-build-deps.sh --arm See Note 3
gclient sync
GYP_CROSSCOMPILE=1
GYP_DEFINES=target_arch=arm arm_float_abi=hard component=shared_library linux_use_gold_flags=1 See Note 4
gclient runhooks
gn args out/Ozone --args="use_ozone=true use_xkbcommon=true"
target_cpu="arm"
target_os="linux"
arm_version=7
arm_arch="armv7-a"
arm_fpu="neon"
arm_float_abi="hard"
arm_tune="cortex-a15.cortex-a7"
arm_use_neon=true
arm_use_thumb=true
fieldtrial_testing_like_official_build=true
treat_warnings_as_errors=false
enable_remoting=false
is_debug=false
is_official_build=true
symbol_level=0
ninja -C out/Debug chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment