OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 # Copyright 2015 Google Inc. |
| 3 # |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
| 7 # Generate a single header with skia's main public headers. |
| 8 : ${PREFIX:=$(dirname "$0")/local} |
| 9 cd "$PREFIX/include/skia" |
| 10 printf '#ifndef skia_headers_DEFINED\n' |
| 11 printf '#define skia_headers_DEFINED\n\n' |
| 12 for directory in c core effects pathops gpu; do |
| 13 printf '// %s\n' $directory |
| 14 find $directory -maxdepth 1 -name "*.h" \ |
| 15 | sed "s/^.*\/\(.*\)/#include \"\1\"/" \ |
| 16 | LANG= sort |
| 17 printf '\n' |
| 18 done |
| 19 printf '#include "GrGLInterface.h"\n' |
| 20 printf '\n#endif // skia_headers_DEFINED\n' |
OLD | NEW |