Now that I'm at work, I'll write up a step by step answer. First off you seem to be doing the steps in the wrong order. As such, I'll number these steps in the order they should be executed.

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 ninja -C out/Debug chrome

Notice Steps 17 - 19. Step 18 replaces the Export Statements from Recipe 2 in the file chromium.gyp_env (This effectively switches the build Compiler to clang ). Step 19 imports the chromium.gyp_env settings, and will run the proper buildscripts in the proper order.

Warning: Testing Steps

I'll test these steps on my XUbuntu VM and report back/update etc.

Update Notes

Making the change permanent to the PATH variable is advisable if you are gong to do this more than once. Find the following:

# set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi

in $HOME\.profile . Add PATH=$PATH:~/chromium/depot_tools , so that the final if looks like:

# set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" PATH=$PATH:~/chromium/depot_tools fi

If Needed, create a $HOME/bin directory (It did not exist on my VM), then logout and back in again.