GN build for WebKit on Fuchsia based on CMake build

This adds a GN build for the WebKit tree that is derived from the CMake
build system. In particular, the source lists and generated files are
pulled from the CMake build. Flags and build dependencies are encoded
directly into BUILD.gn.

To update the build files after a WebKit update, first make debug and
release mode builds of WebKit using the CMake build system and scripts
in Tools/fuchsia/, then run Tools/fuchsia/extract_source_lists.py and
check the resulting changed files in.

Change-Id: I8bf4522f060a60c03100f270cc9354f116fee1af
4520 files changed
tree: 0c11c42c38243b82699557ed3dd1f536af51c2c8
  1. DerivedSources/
  2. Examples/
  3. JSTests/
  4. LayoutTests/
  5. ManualTests/
  6. PerformanceTests/
  7. Source/
  8. Tools/
  9. WebKit.xcworkspace/
  10. WebKitLibraries/
  11. Websites/
  12. .dir-locals.el
  13. .gitattributes
  14. .gitignore
  15. BUILD.gn
  16. ChangeLog
  17. ChangeLog-2012-05-22
  18. CMakeLists.txt
  19. JavaScriptCore.gni
  20. JavaScriptCore_inspectorDerivedSources.gni
  21. JavaScriptCoreDerivedSources.gni
  22. Makefile
  23. Makefile.shared
  24. MiniBrowser.gni
  25. README.md
  26. WebCore.gni
  27. WebCoreDerivedSources.gni
  28. WebKit.gni
  29. wtf.gni
README.md

This repository contains a copy of the WebKit web rendering engine. HTML rendering is needed on Fuchsia in order to authenticate with various authentication providers. This WebKit-based solution is meant as a stopgap until Chromium is ported to Fuchsia.

Building

Before building webkit, follow the build instructions for Magenta and Fuchsia.

cd third_party/webkit/Tools/fuchsia
./build_all.sh
./build_webkit.sh -r

At the Magenta prompt:

mb /system/docs/hello.html