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.
5 import("//testing/test.gni")
11 "error_delegate_util.cc",
12 "error_delegate_util.h",
24 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
27 defines = [ "SQL_IMPLEMENTATION" ]
31 "//third_party/sqlite",
32 "//base/third_party/dynamic_annotations",
36 source_set("test_support") {
39 "test/error_callback_support.cc",
40 "test/error_callback_support.h",
41 "test/scoped_error_ignorer.cc",
42 "test/scoped_error_ignorer.h",
43 "test/test_helpers.cc",
44 "test/test_helpers.h",
51 "//third_party/sqlite",
55 test("sql_unittests") {
57 "connection_unittest.cc",
58 "meta_table_unittest.cc",
59 "recovery_unittest.cc",
60 "sqlite_features_unittest.cc",
61 "statement_unittest.cc",
64 "test/run_all_unittests.cc",
65 "test/sql_test_suite.cc",
66 "test/sql_test_suite.h",
67 "transaction_unittest.cc",
70 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
71 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
77 "//base/test:test_support",
79 "//third_party/sqlite",
83 #['OS == "android"', {
85 # '../testing/android/native_test.gyp:native_test_native_code',
92 #'target_name': 'sql_unittests_apk',
98 # 'test_suite_name': 'sql_unittests',
100 #'includes': [ '../build/apk_test.gypi' ],