blob: 19e5378bf6c31473fe43660294de631e03d7e1ac [file] [log] [blame]
Torne (Richard Coles)2773fff2015-07-28 13:42:36 +01001Building 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
Estelle45c9ca42017-10-20 18:22:03 -040010release tag 61.0.3163.98, using the GN build tool. To match our build settings, set:
Torne (Richard Coles)2773fff2015-07-28 13:42:36 +010011
Alex Mineer61c19442016-04-05 14:55:36 -070012target_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
Torne (Richard Coles)2773fff2015-07-28 13:42:36 +010022
Alex Mineer61c19442016-04-05 14:55:36 -070023in your GN argument file before building.
Torne (Richard Coles)2773fff2015-07-28 13:42:36 +010024
25------
26
Estelle45c9ca42017-10-20 18:22:03 -040027Due 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.
Torne (Richard Coles)2773fff2015-07-28 13:42:36 +010030
31------
32
33For questions about building WebView, please see
34https://groups.google.com/a/chromium.org/forum/#!forum/android-webview-dev