Do one-time initialization sooner

Before this change I was seeing an assert from webkit
that was caused by using webkit functions before
threading was set up.

Change-Id: I8b57139f108c1281d0c426d543f0f6e429da5a57
2 files changed
tree: 04df88235beb0e5c285a5f5bedbbe052a3672caa
  1. DerivedSources/
  2. Examples/
  3. ManualTests/
  4. Source/
  5. Tools/
  6. WebKit.xcworkspace/
  7. WebKitLibraries/
  8. .dir-locals.el
  9. .gitattributes
  10. .gitignore
  11. BUILD.gn
  12. ChangeLog
  13. ChangeLog-2012-05-22
  14. CMakeLists.txt
  15. JavaScriptCore.gni
  16. JavaScriptCore_inspectorDerivedSources.gni
  17. JavaScriptCoreDerivedSources.gni
  18. Makefile
  19. Makefile.shared
  20. MiniBrowser.gni
  21. README.md
  22. WebCore.gni
  23. WebCoreDerivedSources.gni
  24. WebKit.gni
  25. 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 Zircon and Fuchsia.

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

At the Zircon prompt:

mb /system/docs/hello.html

Prebuilts

Webkit and its dependencies are provided as a pre-built shared library to the rest of the Fuchsia build. Care must be take when making changes to Source/WebKit/fuchsia/WebView.h to make sure that //topaz/runtime/web_view is compatible with it both with the existing prebuilt and the changes.