summaryrefslogtreecommitdiffstats
path: root/app/app.gyp
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 21:30:56 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 21:30:56 +0000
commite5ffd0e471417e75ddcd5af20c3254c0ec2f1f5d (patch)
tree60e8d7c1de4ee33cc063cfa98a168e8fe9fcf27b /app/app.gyp
parent92c3dc6b3fffbaf9fa2fa409120ca051bf317234 (diff)
downloadchromium_src-e5ffd0e471417e75ddcd5af20c3254c0ec2f1f5d.zip
chromium_src-e5ffd0e471417e75ddcd5af20c3254c0ec2f1f5d.tar.gz
chromium_src-e5ffd0e471417e75ddcd5af20c3254c0ec2f1f5d.tar.bz2
Add a new wrapper for sqlite. This is mostly a large cleanup of the existing
one, combined with the statement cache in a nice way. It is designed to entirely wrap sqlite so that we can catch corrupt errors in the future and "do something" when we get them without having to change all the calling code. There is also a new meta_table file which is almost exactly like the old one but which uses the new sql interface. This patch changes Chrome's history TextDatabase to use this new wrapper as a proof of concept, because this usage is relatively well-confined. Review URL: http://codereview.chromium.org/199047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/app.gyp')
-rw-r--r--app/app.gyp14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/app.gyp b/app/app.gyp
index 41b7ee6..b610b02 100644
--- a/app/app.gyp
+++ b/app/app.gyp
@@ -50,6 +50,7 @@
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
+ '../third_party/sqlite/sqlite.gyp:sqlite',
],
'include_dirs': [
'..',
@@ -110,6 +111,14 @@
'resource_bundle_mac.mm',
'slide_animation.cc',
'slide_animation.h',
+ 'sql/connection.cc',
+ 'sql/connection.h',
+ 'sql/meta_table.cc',
+ 'sql/meta_table.h',
+ 'sql/statement.cc',
+ 'sql/statement.h',
+ 'sql/transaction.cc',
+ 'sql/transaction.h',
'theme_provider.cc',
'theme_provider.h',
'throb_animation.cc',
@@ -198,8 +207,11 @@
'os_exchange_data_win_unittest.cc',
'run_all_unittests.cc',
'test_suite.h',
+ 'sql/connection_unittest.cc',
+ 'sql/statement_unittest.cc',
+ 'sql/transaction_unittest.cc',
'tree_node_iterator_unittest.cc',
- 'win_util_unittest.cc',
+ 'win_util_unittest.cc',
],
'include_dirs': [
'..',