Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: experimental/fiddle/headers.sh

Issue 1349163003: experiment/fiddle (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698