• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Building the Chromium-based WebView in AOSP is no longer supported. WebView can
2now be built entirely from the Chromium source code.
3
4General instructions for building WebView from Chromium:
5https://www.chromium.org/developers/how-tos/build-instructions-android-webview
6
7------
8
9The prebuilt libwebviewchromium.so included in these APKs is built from Chromium
10release tag 61.0.3163.98, using the GN build tool. To match our build settings, set:
11
12target_os="android"
13is_debug=false
14is_official_build=true
15is_chrome_branded=false
16use_official_google_api_keys=false
17exclude_unwind_tables=true
18enable_resource_whitelist_generation=true
19ffmpeg_branding="Chrome"
20proprietary_codecs=true
21enable_remoting=true
22
23in your GN argument file before building.
24
25------
26
27Due to WebView API changes in the O-MR1 release, the Java code in the Chromium
283163 branch is not compatible with O-MR1. We'll be working on upstreaming
29the O-MR1 specific Java changes to Chromium once the final O-MR1 SDK is released.
30
31------
32
33For questions about building WebView, please see
34https://groups.google.com/a/chromium.org/forum/#!forum/android-webview-dev
35