OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # fiddle_gyp will copy the fiddle-specific gyp file from the cache | 3 # fiddle_gyp will copy the fiddle-specific gyp file from the cache |
4 # into the local skia tree, and generate the necessary ninja build | 4 # into the local skia tree, and generate the necessary ninja build |
5 # files. | 5 # files. |
6 # | 6 # |
7 # Because gyp is really picky about directory structures, this is | 7 # Because gyp is really picky about directory structures, this is |
8 # necessary to avoid re-building the entire skia library every time. | 8 # necessary to avoid re-building the entire skia library every time. |
9 | 9 |
10 [ -z "$SKIA_ROOT" ] && SKIA_ROOT="../../../" | 10 [ -z "$SKIA_ROOT" ] && SKIA_ROOT="../../../" |
11 [ -z "$WEBTRY_CACHE_DIR" ] && WEBTRY_CACHE_DIR="../../../../cache" | 11 [ -z "$WEBTRY_CACHE_DIR" ] && WEBTRY_CACHE_DIR="../../../../cache" |
12 | 12 |
13 cp $WEBTRY_CACHE_DIR/$1.gyp $SKIA_ROOT/gyp | 13 cp $WEBTRY_CACHE_DIR/$1.gyp $SKIA_ROOT/gyp |
14 (cd $SKIA_ROOT ; ./gyp_skia gyp/$1.gyp gyp/most.gyp -D skia_gpu=0) | 14 (cd $SKIA_ROOT ; ./gyp_skia gyp/$1.gyp gyp/most.gyp -Dskia_mesa=1) |
OLD | NEW |