Torne (Richard Coles) | 2773fff | 2015-07-28 13:42:36 +0100 | [diff] [blame] | 1 | Building the Chromium-based WebView in AOSP is no longer supported. WebView can |
| 2 | now be built entirely from the Chromium source code. |
| 3 | |
| 4 | General instructions for building WebView from Chromium: |
| 5 | https://www.chromium.org/developers/how-tos/build-instructions-android-webview |
| 6 | |
| 7 | ------ |
| 8 | |
| 9 | The prebuilt libwebviewchromium.so included in these APKs is built from Chromium |
Estelle | 45c9ca4 | 2017-10-20 18:22:03 -0400 | [diff] [blame] | 10 | release tag 61.0.3163.98, using the GN build tool. To match our build settings, set: |
Torne (Richard Coles) | 2773fff | 2015-07-28 13:42:36 +0100 | [diff] [blame] | 11 | |
Alex Mineer | 61c1944 | 2016-04-05 14:55:36 -0700 | [diff] [blame] | 12 | target_os="android" |
| 13 | is_debug=false |
| 14 | is_official_build=true |
| 15 | is_chrome_branded=false |
| 16 | use_official_google_api_keys=false |
| 17 | exclude_unwind_tables=true |
| 18 | enable_resource_whitelist_generation=true |
| 19 | ffmpeg_branding="Chrome" |
| 20 | proprietary_codecs=true |
| 21 | enable_remoting=true |
Torne (Richard Coles) | 2773fff | 2015-07-28 13:42:36 +0100 | [diff] [blame] | 22 | |
Alex Mineer | 61c1944 | 2016-04-05 14:55:36 -0700 | [diff] [blame] | 23 | in your GN argument file before building. |
Torne (Richard Coles) | 2773fff | 2015-07-28 13:42:36 +0100 | [diff] [blame] | 24 | |
| 25 | ------ |
| 26 | |
Estelle | 45c9ca4 | 2017-10-20 18:22:03 -0400 | [diff] [blame] | 27 | Due to WebView API changes in the O-MR1 release, the Java code in the Chromium |
| 28 | 3163 branch is not compatible with O-MR1. We'll be working on upstreaming |
| 29 | the O-MR1 specific Java changes to Chromium once the final O-MR1 SDK is released. |
Torne (Richard Coles) | 2773fff | 2015-07-28 13:42:36 +0100 | [diff] [blame] | 30 | |
| 31 | ------ |
| 32 | |
| 33 | For questions about building WebView, please see |
| 34 | https://groups.google.com/a/chromium.org/forum/#!forum/android-webview-dev |