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

Side by Side Diff: third_party/sqlite/src/tool/symbols-mingw.sh

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/sqlite/src/tool/symbols.sh ('k') | third_party/sqlite/src/tool/tostr.awk » ('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/sh
2 #
3 # Run this script in a directory that contains a valid SQLite makefile in
4 # order to verify that unintentionally exported symbols.
5 #
6 make sqlite3.c
7
8 echo '****** Exported symbols from a build including RTREE && FTS4 ******'
9 gcc -c -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE \
10 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_STAT3 \
11 -DSQLITE_ENABLE_MEMSYS5 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
12 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_ATOMIC_WRITE \
13 sqlite3.c
14 nm sqlite3.o | grep " [TD] "
15
16 echo '****** Surplus symbols from a build including RTREE & FTS4 ******'
17 nm sqlite3.o | grep " [TD] " | grep -v " .*sqlite3_"
18
19 echo '****** Dependencies of the core. No extensions. No OS interface *******'
20 gcc -c -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_STAT3 \
21 -DSQLITE_ENABLE_MEMSYS5 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
22 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_ATOMIC_WRITE \
23 -DSQLITE_OS_OTHER -DSQLITE_THREADSAFE=0 \
24 sqlite3.c
25 nm sqlite3.o | grep " U "
26
27 echo '****** Dependencies including RTREE & FTS4 *******'
28 gcc -c -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE \
29 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_STAT3 \
30 -DSQLITE_ENABLE_MEMSYS5 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
31 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_ATOMIC_WRITE \
32 sqlite3.c
33 nm sqlite3.o | grep " U "
OLDNEW
« no previous file with comments | « third_party/sqlite/src/tool/symbols.sh ('k') | third_party/sqlite/src/tool/tostr.awk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698