README
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 51.0.2704.91, using the GN build tool (not the older GYP 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
22android_chrome_build_id="c212fd71-e1d3-4b49-9f08-878f16747dd9"
23
24in your GN argument file before building.
25
26------
27
28Due to WebView API changes in the N release, the Java code in the Chromium 2704_81
29branch is not compatible with N. We'll be working on upstreaming the N-specific
30Java changes to Chromium once the final N SDK is released.
31
32------
33
34For questions about building WebView, please see
35https://groups.google.com/a/chromium.org/forum/#!forum/android-webview-dev
36