Skip to content

Commit 1d6614a

Browse files
authored
✍️ minor edit in the building steps (#2653)
1 parent 5c58cae commit 1d6614a

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,14 @@ React Native Skia brings the Skia Graphics Library to React Native. Skia serves
2020

2121
To develop react-native-skia, you need to build the skia libraries on your computer.
2222

23-
Make sure to check out the sub modules:
24-
25-
`git submodule update --init --recursive`
26-
27-
You also need to install some tools for the build scripts to work. Run `yarn` in the root of the project to install them.
28-
29-
Make sure you have all the tools required for building the skia libraries (XCode, Ninja, CMake, Android NDK / build tools).
30-
31-
On MacOS you can install Ninja via homebrew:
32-
33-
```sh
34-
brew install ninja
35-
```
36-
3723
If you have Android Studio installed, make sure `$ANDROID_NDK` is available.
3824
`ANDROID_NDK=/Users/username/Library/Android/sdk/ndk/<version>` for instance.
39-
4025
If the NDK is not installed, you can install it via Android Studio by going to the menu _File > Project Structure_.
41-
4226
And then the _SDK Location_ section. It will show you the NDK path, or the option to Download it if you don't have it installed.
4327

4428
### Building
4529

30+
- Checkout submodules `git submodule update --init --recursive`
4631
- Install dependencies `yarn`
4732
- Go to the package folder `cd packages/skia`
4833
- Build the Skia libraries with `yarn build-skia` (this can take a while)

0 commit comments

Comments
 (0)