1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
9 "error_delegate_util.cc",
10 "error_delegate_util.h",
22 defines = [ "SQL_IMPLEMENTATION" ]
25 cflags = [ "/wd4267" ] # size_t to int.
30 "//third_party/sqlite",
31 "//base/third_party/dynamic_annotations",
35 source_set("test_support") {
37 "test/error_callback_support.cc",
38 "test/error_callback_support.h",
39 "test/scoped_error_ignorer.cc",
40 "test/scoped_error_ignorer.h",
41 "test/test_helpers.cc",
42 "test/test_helpers.h",
52 test("sql_unittests") {
54 "connection_unittest.cc",
55 "meta_table_unittest.cc",
56 "recovery_unittest.cc",
57 "sqlite_features_unittest.cc",
58 "statement_unittest.cc",
61 "test/run_all_unittests.cc",
62 "test/sql_test_suite.cc",
63 "test/sql_test_suite.h",
64 "transaction_unittest.cc",
68 cflags = [ "/wd4267" ] # size_t -> int
75 "//base/test:test_support",
77 "//third_party/sqlite",
81 #['OS == "android"', {
83 # '../testing/android/native_test.gyp:native_test_native_code',
90 #'target_name': 'sql_unittests_apk',
96 # 'test_suite_name': 'sql_unittests',
98 #'includes': [ '../build/apk_test.gypi' ],