[sqlite] Respect the gyp and gn component switch.
commit4ec68d9ad2d3e0c74967a17946c8bf7ed4450f73
authorshess <shess@chromium.org>
Fri, 28 Aug 2015 15:22:17 +0000 (28 08:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 28 Aug 2015 15:22:45 +0000 (28 15:22 +0000)
treee7726a4ed2f753ed5d7e2a093751a384a78ac6e6
parent532e30599bb0a1b8bf8ac62cfae570c8b4594864
[sqlite] Respect the gyp and gn component switch.

SQLITE_API is the existing mechanism SQLite provides, and is used in
preference to inventing a new SQLITE_EXPORT symbol (like
sql/sql_export.h and other examples).

CoreServices.framework is necessary on OSX because of the Time Machine
patch.

Remove sql/proxy.{h,cc}, which was necessary to work around SQLite
linking statically into both component shlibs and unit test executables.

BUG=489444

Review URL: https://codereview.chromium.org/1322463002

Cr-Commit-Position: refs/heads/master@{#346151}
sql/BUILD.gn
sql/connection_unittest.cc
sql/proxy.cc [deleted file]
sql/proxy.h [deleted file]
sql/sql.gyp
third_party/sqlite/BUILD.gn
third_party/sqlite/sqlite.gyp