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

Side by Side Diff: third_party/harfbuzz-ng/src/check-internal-symbols.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 if which nm 2>/dev/null >/dev/null; then
7 :
8 else
9 echo "check-internal-symbols.sh: 'nm' not found; skipping test"
10 exit 0
11 fi
12
13 test -z "$srcdir" && srcdir=.
14 test -z "$MAKE" && MAKE=make
15 stat=0
16
17 so=.libs/libharfbuzz.so
18 if test -f "$so"; then
19 echo "Checking that we are exposing internal symbols"
20 if nm $so | grep ' T ' | grep -v ' T _fini\>\| T _init\>\| T hb_'; then
21 echo "Ouch, internal symbols exposed"
22 stat=1
23 fi
24 else
25 echo "check-internal-symbols.sh: libharfbuzz.so not found; skipping test "
26 fi
27
28 exit $stat
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/check-header-guards.sh ('k') | third_party/harfbuzz-ng/src/check-libstdc++.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698