Clone this repo:

Branches

  1. b2f6cce Add script and build rules to download and use prebuilt libwebkit.so by James Robinson · 33 hours ago master
  2. df77093 Increase stack size and gn format by Rob Tsuk · 2 days ago
  3. f54054d Update instructions to build web_view. by Alhaad Gokhale · 4 days ago
  4. 2ab9462 Migrate to service namespaces by Adam Barth · 12 days ago
  5. 616560b Add trailing brace to BUILD.gn by James Robinson · 4 weeks ago

Fuchsia Web View

This repository contains the Fuchsia-specific code wrapping the web view class from third_party/webkit/Source/WebKit/fuchsia/WebView.h.

The build is integrated into the normal Fuchsia build process, but due to its heft the default build uses prebuilt artifacts for webkit itself. To build all dependencies locally, add ‘use_prebuilt_webkit=false’ to your GN arguments and add ‘webkit’ to your module set:

./packages/gn.gen.py -m default,webkit --args use_prebuilt_webkit=false

# or (if you're using env.sh)
fset x86-64 --modules default,webkit --args use_prebuilt_webkit=false