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 defines = [ "SQL_IMPLEMENTATION" ]
27 cflags = [ "/wd4267" ] # size_t to int.
32 "//third_party/sqlite",
33 "//base/third_party/dynamic_annotations",
37 source_set("test_support") {
40 "test/error_callback_support.cc",
41 "test/error_callback_support.h",
42 "test/scoped_error_ignorer.cc",
43 "test/scoped_error_ignorer.h",
44 "test/test_helpers.cc",
45 "test/test_helpers.h",
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",
71 cflags = [ "/wd4267" ] # size_t -> int
78 "//base/test:test_support",
80 "//third_party/sqlite",
84 #['OS == "android"', {
86 # '../testing/android/native_test.gyp:native_test_native_code',
93 #'target_name': 'sql_unittests_apk',
99 # 'test_suite_name': 'sql_unittests',
101 #'includes': [ '../build/apk_test.gypi' ],