Chromium Browser for Snapdragon (SWE) APKs
Here you can find links to the latest Browsers based on the CodeAurora Forum (CAF) source code. Tell me about your variant, and I will link it here.
My Build Scripts
rebuild-swe-apks.sh (you have to edit your paths)
#!/bin/bash
SWE_DIR=/mnt/ssd/swe # change this to a fast drive in your system
BUILD_FLAVOR=out/Release
export GYP_DEFINES="OS=android clang=0 remove_webcore_debug_symbols=1"
#export GYP_DEFINES="$GYP_DEFINES swe_channel=/mnt/ssd/swe/channel_enrico"
# prereqs: dev. packages (over Ubuntu 14.04)
apt-get install -y oracle-java7-installer build-essential g++ lib32stdc++6 lib32z1 bison gperf ant > /dev/null
# prereqs: depot tools (gclient)
cd $SWE_DIR
[ -d "depot_tools" ] || git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="$SWE_DIR/depot_tools:$PATH"
function switch_branch {
cd $SWE_DIR
[ -f ".gclient.$1" ] || exit
ln -nsf .gclient.$1 .gclient
# clean before syncing: rm branch-switch-blocking folders (and previous build files)
rm -fr $SWE_DIR/src/out/
rm -fr $SWE_DIR/src/swe/android/support/src
rm -fr $SWE_DIR/build/third_party/cbuildbot_chromite
find $SWE_DIR -name index.lock -exec rm {} \;
gclient recurse git clean -fdx .
# sync
gclient sync --nohooks --no-nag-max --delete_unversioned_trees --force --reset || exit
# clean after syncing
gclient recurse git clean -fdx .
# runhooks (gen makefiles)
source $SWE_DIR/src/build/android/envsetup.sh
time gclient runhooks || exit
}
function build_apk {
cd $SWE_DIR/src
time ninja -C $BUILD_FLAVOR $1 || exit
}
switch_branch m42 # I have the .gclient.m42 file, from the CAF wiki
build_apk swe_android_browser_apk # output: out/Release/apks/SWE_AndroidBrowser.apk
build_apk content_shell_apk
build_apk chrome_shell_apk
# NOTE: m46 is under development and not ready for prime time
switch_branch m46 # just guessing the M46 gclient file, as explained below
build_apk swe_browser_apk # output: out/Release/apks/SWE_Browser.apk
build_apk content_shell_apk
build_apk chrome_shell_apk
# NOTE: publish using a function to copy the output APKs after each build
.gclient.m46 (just guessed, it's not documented in the CAF wiki yet)
solutions = [
{ "name" : "src",
"url" : "git://codeaurora.org/quic/chrome4sdp/chromium/src.git@refs/remotes/origin/m46",
"deps_file" : "DEPS",
"managed" : True,
"safesync_url": "",
},
]
target_os = ["android"]
.gclient.m42 (from the CAF wiki)
solutions = [
{ "name" : "src",
"url" : "git://codeaurora.org/quic/chrome4sdp/chromium/src.git@refs/remotes/origin/m42",
"deps_file" : "DEPS",
"managed" : True,
"safesync_url": "",
},
]
target_os = ["android"]
My Downloads
I had my personal daily Android APKs built from the open source project on CodeAurora Forum - until the website was flooded (thanks XDA, Reddit, Android World, etc.).. now I just link to other APKs instead (:
- If you want to build your own Browser on top of the CAF Browser, which is on top of Chrome,
which was on top of WebKit, which was on top of KHTML (gotta <3 open source):
- It's cool, fun, and a great 1-afternoon project
- You can add some finishing touches to make it perfect!
- That's how open source works ^_^
My Instructions are above. Also this github is pretty awesome. Contact me to link you from here or for collabs.
About this CodeAurora OpenSource project
The Chromium Browser for Snapdragon is a benchmark-winning, safe and clean browser that works lightning fast on Qualcomm Snapdragon processors. For users, it provides unique security features and the best in class ad-blocking solution, other than the best speed on the market. For device manufacturers it provides an easy-to-rebrand, certified, and fully functional Browser that can be quickly deployed in large scale.
Terms
This is my automated build server for my personal APK usage. Friends are welcome to try them out as well. I do not own, check or verify any of the code, and it's a huge code base, one more reason to USE IT AT YOUR OWN RISK. Some days the builds could be broken.
Do not redistribute my APKs in any form or channel. If you like to learn new things build your own APKs, there is so much to be learned. And while you're at that, try to make your own customizations :).
The software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall I or
the authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising from,
out of or in connection with the software or the use or other dealings in
the software.
All copyrights belong to their respective owners.