Skip to content

Commit e511944

Browse files
committed
Readme updates.
1 parent c40bd24 commit e511944

File tree

1 file changed

+26
-9
lines changed

1 file changed

+26
-9
lines changed

README.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
1-
# JSC Android buildscripts
1+
# JSC build scripts for Android
22

3-
## How to compile?
3+
The aim of this project is to provide a maintainable build scripts for [JavaScriptCore](https://www.webkit.org) javascript engine that would allow the [React Native](https://github.com/facebook/react-native) community to incorporate up to date releases of JSC into the framework on Android.
44

5-
1. `docker build . -tjscBuild`
6-
2. `clone the repo in the container`
7-
2. `./fetch_sources.sh`
8-
3. `./icu-prep.sh`
9-
4. `./jsc-prep.sh`
10-
5. `./all.sh`
11-
6. `cd lib && ./gradlew installArchives`
5+
This project is based on [facebook/android-jsc](https://github.com/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](https://github.com/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](https://opensource.apple.com/) as a reference).
6+
7+
8+
9+
## Requirements
10+
11+
## Build instructions
12+
13+
1. ./fetch_sources.sh
14+
2. ./icu-prep.sh
15+
3. JSC_ARCH=arm ./toolchain.sh
16+
4. JSC_ARCH=arm ./icu.sh
17+
5. ./jsc-prep.sh
18+
6. JSC_ARCH=arm ./jsc.sh
19+
20+
## Distribution
21+
22+
## How to use it with React Native
23+
24+
## Testing
25+
26+
## Credits
27+
28+
This project has been built in cooperation between [Expo.io](https://expo.io/) and [Software Mansion](https://swmansion.com)

0 commit comments

Comments
 (0)