blob: febe77c5b695f9f723dce0aa2a8231651e8c27fc [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
Alex Mineer5b2e1c82016-08-15 15:00:40 -070010release tag 52.0.2743.100, using the GN build tool (not the older GYP 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
Alex Mineer5b2e1c82016-08-15 15:00:40 -070027Due to WebView API changes in the N release, the Java code in the Chromium 2743_91
Alex Mineer61c19442016-04-05 14:55:36 -070028branch is not compatible with N. We'll be working on upstreaming the N-specific
29Java changes to Chromium once the final N 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