OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # this script runs as root inside the chroot environment and updates the depot t
ools, go environment, | 3 # this script runs as root inside the chroot environment and updates the depot t
ools, go environment, |
4 # and skia source. | 4 # and skia source. |
5 | 5 |
6 # need to mount /dev/shm first so that python will execute properly. | 6 # need to mount /dev/shm first so that python will execute properly. |
7 | 7 |
8 mount /dev/shm | 8 mount /dev/shm |
9 | 9 |
10 SKIA_BUILD=/skia_build | 10 SKIA_BUILD=/skia_build |
(...skipping 18 matching lines...) Expand all Loading... |
29 cd skia | 29 cd skia |
30 gclient config --name . https://skia.googlesource.com/skia.git | 30 gclient config --name . https://skia.googlesource.com/skia.git |
31 gclient sync | 31 gclient sync |
32 git checkout master | 32 git checkout master |
33 | 33 |
34 # PATCH=issue196723021_100001.diff | 34 # PATCH=issue196723021_100001.diff |
35 # rm $PATCH | 35 # rm $PATCH |
36 # wget https://codereview.chromium.org/download/$PATCH | 36 # wget https://codereview.chromium.org/download/$PATCH |
37 # git apply $PATCH | 37 # git apply $PATCH |
38 | 38 |
39 SKIA_GYP_OUTPUT_DIR=${SKIA_BUILD}/skia/out GYP_GENERATORS=ninja ./gyp_skia -Dski
a_mesa=1 | 39 SKIA_GYP_OUTPUT_DIR=${SKIA_BUILD}/skia/out GYP_GENERATORS=ninja ./gyp_skia -Dski
a_gpu=0 |
40 | 40 |
41 ninja -C ${SKIA_BUILD}/skia/out/Release skia_lib libjpeg libSkKTX libetc1 flags
sk_tool_utils resources | 41 ninja -C ${SKIA_BUILD}/skia/out/Release skia_lib libjpeg libSkKTX libetc1 flags
sk_tool_utils resources |
OLD | NEW |