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

Side by Side Diff: third_party/talloc/script/abi_checks_gcc.sh

Issue 2282793002: Remove unused third_party/talloc (Closed)
Patch Set: Created 4 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
« no previous file with comments | « third_party/talloc/script/abi_checks.sh ('k') | third_party/talloc/script/mksigs.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 make clean
4
5 mkdir abi
6 ABI_CHECKS="-aux-info abi/\$@.X"
7 make ABI_CHECK="$ABI_CHECKS" CC="/usr/bin/gcc"
8
9 for i in abi/*.X; do cat $i | grep 'talloc\.h'; done | sort | uniq | awk -F "ext ern " '{ print $2 }' | sort > abi/signatures
10
11 cat > abi/exports << EOF
12 {
13 global:
14 EOF
15 cat abi/signatures | awk -F '(' '{ print $1 }' | awk -F ' ' '{ print " "$NF";" }' | tr -d '*' | sort >> abi/exports
16 # need to manually add talloc free for backward ABI compat
17 echo ' talloc_free;' >> abi/exports
18 cat >> abi/exports << EOF
19
20 local: *;
21 };
22 EOF
23
24 rm -fr abi/*.X
25
26 diff -u talloc.signatures abi/signatures
27 if [ "$?" != "0" ]; then
28 echo "WARNING: Possible ABI Change!!"
29 fi
30
31 diff -u talloc.exports abi/exports
32 if [ "$?" != "0" ]; then
33 echo "WARNING: Export file may be outdated!!"
34 fi
OLDNEW
« no previous file with comments | « third_party/talloc/script/abi_checks.sh ('k') | third_party/talloc/script/mksigs.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698