Commit 2125c173 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all:
dd if=/dev/zero of=swap bs=1048576 count=8192
chmod 600 swap
mkswap swap
swapon swap
mkdir tmp
mount --bind tmp /tmp
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
ln -s /lib /lib64
mkdir chromium-home
mkdir chromium
cd chromium && HOME=$(CURDIR)/chromium-home PATH=$(CURDIR)/depot_tools:$$PATH fetch --no-history --nohooks chromium
cd chromium/src && HOME=$(CURDIR)/chromium-home PATH=$(CURDIR)/depot_tools:$$PATH git fetch origin 151.0.7914.1 --depth=1
cd chromium/src && HOME=$(CURDIR)/chromium-home PATH=$(CURDIR)/depot_tools:$$PATH git checkout FETCH_HEAD
cd chromium/src && HOME=$(CURDIR)/chromium-home PATH=$(CURDIR)/depot_tools:$$PATH gclient sync
cd chromium/src && HOME=$(CURDIR)/chromium-home PATH=$(CURDIR)/depot_tools:$$PATH gclient runhooks
cd chromium/src && HOME=$(CURDIR)/chromium-home PATH=$(CURDIR)/depot_tools:$$PATH gn gen out/Default --args='is_debug=false symbol_level=0 blink_symbol_level=0 v8_symbol_level=0'
cd chromium/src && HOME=$(CURDIR)/chromium-home PATH=$(CURDIR)/depot_tools:$$PATH autoninja -C out/Default chrome
cd chromium/src && strip out/Default/chrome
cd chromium/src && upx -9 -q out/Default/chrome
cd chromium/src && install -m 755 out/Default/chrome /usr/bin/chrome
rm -rf /lib64
umount /tmp
rm -rf tmp
swapoff swap
rm -rf swap
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment