Public | Automated Build

Last pushed: 2 months ago
Short Description
Docker image to ease building JSC for Android
Full Description

JSC build scripts for Android

The aim of this project is to provide a maintainable build scripts for JavaScriptCore javascript engine that would allow the React Native community to incorporate up to date releases of JSC into the framework on Android.

This project is based on facebook/android-jsc but instead of rewriting JSC builds scripts in BUCK it relies on cmake build scripts maintained in GTK branch of WebKit maintained by the WebkitGTK team (great work btw!). Thanks to that with just a small amount of work we should be able to build not only current but also future releases of JSC. An obvious benefit for everyone using react native is that this will allow to update JSC version on android version much more often than before (note that facebook/android-jsc uses JSC version from Nov 2014), especially that react native on iOS uses builtin instance of JSC library which gets regular updates with every version of iOS (see this as a reference).

Requirements

Build instructions

  1. ./fetch_sources.sh
  2. ./icu-prep.sh
  3. JSC_ARCH=arm ./toolchain.sh
  4. JSC_ARCH=arm ./icu.sh
  5. ./jsc-prep.sh
  6. JSC_ARCH=arm ./jsc.sh

Distribution

How to use it with React Native

Testing

Credits

This project has been built in cooperation between Expo.io and Software Mansion

Docker Pull Command
Owner
swmansion

Comments (0)