#!/bin/sh -e
#1
mkdir ~/cef_arm2/automate
mkdir ~/cef_arm2/chromium_git
#2
cd ~/cef_arm2
curl 'https://chromium.googlesource.com/chromium/src/+/master/build/install-build-deps.sh?format=TEXT' | base64 -d > install-build-deps.sh
chmod 755 install-build-deps.sh
sudo ./install-build-deps.sh --arm
#3
sudo apt-get install libgtkglext1-dev
#4
cd ~/cef_arm2
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
#5
export PATH=~/cef_arm2/depot_tools:$PATH
$6
cd ~/cef_arm2/automate
wget https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py
#7.1
#创建~/git/cef_arm2/chromium_git/update.sh脚本,将下面的内容写入update.sh脚本中
#!/bin/bash
export CEF_USE_GN=1
export GYP_DEFINES=target_arch=arm
export GN_DEFINES="is_official_build=true use_sysroot=true use_allocator=none symbol_level=0 arm_float_abi=hard enabl
#1
mkdir ~/cef_arm2/automate
mkdir ~/cef_arm2/chromium_git
#2
cd ~/cef_arm2
curl 'https://chromium.googlesource.com/chromium/src/+/master/build/install-build-deps.sh?format=TEXT' | base64 -d > install-build-deps.sh
chmod 755 install-build-deps.sh
sudo ./install-build-deps.sh --arm
#3
sudo apt-get install libgtkglext1-dev
#4
cd ~/cef_arm2
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
#5
export PATH=~/cef_arm2/depot_tools:$PATH
$6
cd ~/cef_arm2/automate
wget https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py
#7.1
#创建~/git/cef_arm2/chromium_git/update.sh脚本,将下面的内容写入update.sh脚本中
#!/bin/bash
export CEF_USE_GN=1
export GYP_DEFINES=target_arch=arm
export GN_DEFINES="is_official_build=true use_sysroot=true use_allocator=none symbol_level=0 arm_float_abi=hard enabl