Created
January 25, 2017 00:36
-
-
Save williamsjj/a74347f791b497214be74c7ab397ea11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Clone Google depot_tools repo: | |
* git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /git/depot_tools | |
2. Add depot_tools to working path: | |
* export PATH="$PATH:/git/depot_tools" | |
3. Clone DigiTar Chromium Repo | |
* mkdir -p /git/chromium | |
* cd /git/chromium | |
* fetch --nohooks android | |
4. Check out latest stable branch | |
* cd /git/chromium/src | |
* git fetch origin 55.0.2883.91 | |
* git checkout -b my_stable_branch FETCH_HEAD | |
* build/install-build-deps-android.sh | |
* Now synchronize the dependencies to the current branch | |
gclient sync --with_branch_heads (synchronize the dependencies to the current branch) | |
5. Set up the build target | |
* . build/android/envsetup.sh | |
* gn args out/Default | |
* Debug Settings | |
* target_os = "android" | |
target_cpu = "arm" | |
is_debug = true | |
is_component_build = false | |
is_clang = true | |
symbol_level = 1 | |
enable_incremental_javac = true | |
6. Build Chromium | |
* ninja -C out/Default chrome_public_apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment