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 "database_memory_dump_provider.cc",
12 "database_memory_dump_provider.h",
13 "error_delegate_util.cc",
14 "error_delegate_util.h",
18 "internal_api_token.h",
25 "sql_memory_dump_provider.cc",
26 "sql_memory_dump_provider.h",
37 defines = [ "IS_SQL_IMPL" ]
41 "//base/third_party/dynamic_annotations",
42 "//third_party/sqlite",
45 # For vfs_wrapper.cc time-machine exclusions.
48 "CoreFoundation.framework",
49 "CoreServices.framework",
54 static_library("test_support") {
57 "test/error_callback_support.cc",
58 "test/error_callback_support.h",
59 "test/scoped_error_expecter.cc",
60 "test/scoped_error_expecter.h",
61 "test/test_helpers.cc",
62 "test/test_helpers.h",
71 "//third_party/sqlite",
75 bundle_data("sql_unittests_bundle_data") {
78 "test/data/recovery_387868",
81 "{{bundle_resources_dir}}/" +
82 "{{source_root_relative_dir}}/{{source_file_part}}",
86 test("sql_unittests") {
88 "database_unittest.cc",
89 "meta_table_unittest.cc",
90 "recovery_unittest.cc",
91 "sql_memory_dump_provider_unittest.cc",
92 "sqlite_features_unittest.cc",
93 "statement_id_unittest.cc",
94 "statement_unittest.cc",
97 "test/run_all_unittests.cc",
98 "test/sql_test_base.cc",
99 "test/sql_test_base.h",
100 "test/sql_test_suite.cc",
101 "test/sql_test_suite.h",
102 "transaction_unittest.cc",
111 ":sql_unittests_bundle_data",
113 "//base/test:test_support",
115 "//third_party/sqlite",