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

Side by Side Diff: third_party/harfbuzz-ng/src/check-header-guards.sh

Issue 6052008: harfbuzz: check in harfbuzz-ng, add gyp define to use it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/sh
2
3 LC_ALL=C
4 export LC_ALL
5
6 test -z "$srcdir" && srcdir=.
7 stat=0
8
9 cd "$srcdir"
10
11 for x in hb-*.h hb-*.hh ; do
12 tag=`echo "$x" | tr 'a-z.-' 'A-Z_'`
13 lines=`grep "\<$tag\>" "$x" | wc -l`
14 if test "x$lines" != x3; then
15 echo "Ouch, header file $x does not have correct preprocessor gu ards"
16 stat=1
17 fi
18 done
19
20 exit $stat
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/check-c-linkage-decls.sh ('k') | third_party/harfbuzz-ng/src/check-internal-symbols.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698