Skip to content Skip to sidebar Skip to footer

How To Build Chromium For Android

I am trying to build Chromium for Android by following the instructions here: Android Build Instructions. When I finally run '~/chromium/src$ ninja -C out/Release chrome_public_apk

Solution 1:

Run gn args out/${name} to set up the build parameters for GN that'll build into out/${name} (e.g. out/ChromeRelease, don't use Release or Debug since they'll conflict with GYP). Here's some the parameters I use:

target_os = "android"target_cpu = "arm"# (default)is_debug = false# (set to true for Debug build)symbol_level = 1# 2 includes more symbols useful# for debugging but increase binary size.# 0 strips it down even more.is_component_build = trueis_clang = true

Additionally, you'll want to add target_os = ["android"] to the .gclient file in your chromium directory and run gclient sync.

Post a Comment for "How To Build Chromium For Android"