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 28 matching lines...) Expand all Loading... |
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", |
45 "test/test_helpers.cc", | 45 "test/test_helpers.cc", |
46 "test/test_helpers.h", | 46 "test/test_helpers.h", |
47 ] | 47 ] |
48 | 48 |
| 49 public_deps = [ |
| 50 ":sql", |
| 51 ] |
49 deps = [ | 52 deps = [ |
50 ":sql", | |
51 "//base", | 53 "//base", |
52 "//testing/gtest", | 54 "//testing/gtest", |
53 "//third_party/sqlite", | 55 "//third_party/sqlite", |
54 ] | 56 ] |
55 } | 57 } |
56 | 58 |
57 source_set("redirection_header") { | 59 source_set("redirection_header") { |
58 # This target exists because we need a way to switch between | 60 # This target exists because we need a way to switch between |
59 # "test/sql_test_base.h" and "mojo/sql_test_base.h" at compile time, to allow | 61 # "test/sql_test_base.h" and "mojo/sql_test_base.h" at compile time, to allow |
60 # us to switch out the gtest vs mojo:apptest frameworks. | 62 # us to switch out the gtest vs mojo:apptest frameworks. |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 #'target_name': 'sql_unittests_apk', | 128 #'target_name': 'sql_unittests_apk', |
127 #'type': 'none', | 129 #'type': 'none', |
128 #'dependencies': [ | 130 #'dependencies': [ |
129 # 'sql_unittests', | 131 # 'sql_unittests', |
130 #], | 132 #], |
131 #'variables': { | 133 #'variables': { |
132 # 'test_suite_name': 'sql_unittests', | 134 # 'test_suite_name': 'sql_unittests', |
133 #}, | 135 #}, |
134 #'includes': [ '../build/apk_test.gypi' ], | 136 #'includes': [ '../build/apk_test.gypi' ], |
135 } | 137 } |
OLD | NEW |