OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 component("sql") { | 7 component("sql") { |
8 sources = [ | 8 sources = [ |
9 "connection.cc", | 9 "connection.cc", |
10 "connection.h", | 10 "connection.h", |
(...skipping 12 matching lines...) Expand all Loading... |
23 "transaction.h", | 23 "transaction.h", |
24 ] | 24 ] |
25 | 25 |
26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
28 | 28 |
29 defines = [ "SQL_IMPLEMENTATION" ] | 29 defines = [ "SQL_IMPLEMENTATION" ] |
30 | 30 |
31 deps = [ | 31 deps = [ |
32 "//base", | 32 "//base", |
| 33 "//base/third_party/dynamic_annotations", |
33 "//third_party/sqlite", | 34 "//third_party/sqlite", |
34 "//base/third_party/dynamic_annotations", | |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 source_set("test_support") { | 38 source_set("test_support") { |
39 testonly = true | 39 testonly = true |
40 sources = [ | 40 sources = [ |
41 "test/error_callback_support.cc", | 41 "test/error_callback_support.cc", |
42 "test/error_callback_support.h", | 42 "test/error_callback_support.h", |
43 "test/scoped_error_ignorer.cc", | 43 "test/scoped_error_ignorer.cc", |
44 "test/scoped_error_ignorer.h", | 44 "test/scoped_error_ignorer.h", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 ] | 93 ] |
94 | 94 |
95 data = [ | 95 data = [ |
96 "test/data/", | 96 "test/data/", |
97 ] | 97 ] |
98 | 98 |
99 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 99 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
100 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 100 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
101 | 101 |
102 deps = [ | 102 deps = [ |
| 103 ":redirection_header", |
103 ":sql", | 104 ":sql", |
104 ":redirection_header", | |
105 ":test_support", | 105 ":test_support", |
106 "//base/allocator", | 106 "//base/allocator", |
107 "//base/test:test_support", | 107 "//base/test:test_support", |
108 "//testing/gtest", | 108 "//testing/gtest", |
109 "//third_party/sqlite", | 109 "//third_party/sqlite", |
110 ] | 110 ] |
111 | 111 |
112 if (is_android) { | 112 if (is_android) { |
113 isolate_file = "sql_unittests.isolate" | 113 isolate_file = "sql_unittests.isolate" |
114 } | 114 } |
(...skipping 11 matching lines...) Expand all Loading... |
126 #'target_name': 'sql_unittests_apk', | 126 #'target_name': 'sql_unittests_apk', |
127 #'type': 'none', | 127 #'type': 'none', |
128 #'dependencies': [ | 128 #'dependencies': [ |
129 # 'sql_unittests', | 129 # 'sql_unittests', |
130 #], | 130 #], |
131 #'variables': { | 131 #'variables': { |
132 # 'test_suite_name': 'sql_unittests', | 132 # 'test_suite_name': 'sql_unittests', |
133 #}, | 133 #}, |
134 #'includes': [ '../build/apk_test.gypi' ], | 134 #'includes': [ '../build/apk_test.gypi' ], |
135 } | 135 } |
OLD | NEW |