Skip to content

Commit

Permalink
Do not build skia modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaurycyLiebner committed Apr 19, 2020
1 parent 8800e7c commit c2bce51
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis_linux_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ! [ -d $TRAVIS_CACHE_DIR/third_party/skia/out/Release ]; then
unzip ninja-linux.zip
chmod +x ninja
bin/gn gen out/Release --args='is_official_build=true is_debug=false extra_cflags=["-Wno-error"] target_os="linux" target_cpu="x64" skia_use_system_expat=false skia_use_system_freetype2=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_system_icu=false skia_use_system_harfbuzz=false cc="clang-7" cxx="clang++-7"'
./ninja -C out/Release -j 2
./ninja -C out/Release -j 2 skia
mkdir -p $TRAVIS_CACHE_DIR/third_party/skia/out/Release
cp -r ./out/Release/* $TRAVIS_CACHE_DIR/third_party/skia/out/Release
cd ..
Expand Down
2 changes: 1 addition & 1 deletion .travis_osx_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if ! [ -d $TRAVIS_CACHE_DIR/third_party/skia/out/Release ]; then
unzip ninja-mac.zip
chmod +x ninja
bin/gn gen out/Release --args='is_official_build=true is_debug=false extra_cflags=["-Wno-error"] skia_use_system_expat=false skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_system_harfbuzz=false'
./ninja -C out/Release -j 2
./ninja -C out/Release -j 2 skia
mkdir -p $TRAVIS_CACHE_DIR/third_party/skia/out/Release
cp -r ./out/Release/* $TRAVIS_CACHE_DIR/third_party/skia/out/Release
cd ..
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ bin/gn gen out/Release --args='is_official_build=true is_debug=false extra_cflag
```
Build a release version of skia (you can use more than 2 threads):
```
./ninja -C out/Release -j 2
./ninja -C out/Release -j 2 skia
```
If you want, you can also build a debug version:
```
bin/gn gen out/Debug --args='extra_cflags=["-Wno-error"] cc="gcc-7" cxx="g++-7"'
./ninja -C out/Debug -j 2
./ninja -C out/Debug -j 2 skia
```

Go back to the third_party folder:
Expand Down

0 comments on commit c2bce51

Please sign in to comment.