Chromium Code Reviews| 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 -D skia_mesa=1) |
|
tfarina
2014/10/13 21:28:12
while you are here, could you remove the space bet
humper
2014/10/13 21:50:06
Done.
| |
| OLD | NEW |