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