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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 "test/data/", | 100 "test/data/", |
101 ] | 101 ] |
102 | 102 |
103 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 103 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
104 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 104 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
105 | 105 |
106 deps = [ | 106 deps = [ |
107 ":redirection_header", | 107 ":redirection_header", |
108 ":sql", | 108 ":sql", |
109 ":test_support", | 109 ":test_support", |
110 "//base/allocator", | |
111 "//base/test:test_support", | 110 "//base/test:test_support", |
112 "//testing/gtest", | 111 "//testing/gtest", |
113 "//third_party/sqlite", | 112 "//third_party/sqlite", |
114 ] | 113 ] |
115 | 114 |
116 if (is_android) { | 115 if (is_android) { |
117 isolate_file = "sql_unittests.isolate" | 116 isolate_file = "sql_unittests.isolate" |
118 } | 117 } |
119 | 118 |
120 # TODO(GYP) | 119 # TODO(GYP) |
121 #['OS == "android"', { | 120 #['OS == "android"', { |
122 # 'dependencies': [ | 121 # 'dependencies': [ |
123 # '../testing/android/native_test.gyp:native_test_native_code', | 122 # '../testing/android/native_test.gyp:native_test_native_code', |
124 # ], | 123 # ], |
125 #}], | 124 #}], |
126 } | 125 } |
127 | 126 |
128 if (is_android) { | 127 if (is_android) { |
129 #TODO(GYP) | 128 #TODO(GYP) |
130 #'target_name': 'sql_unittests_apk', | 129 #'target_name': 'sql_unittests_apk', |
131 #'type': 'none', | 130 #'type': 'none', |
132 #'dependencies': [ | 131 #'dependencies': [ |
133 # 'sql_unittests', | 132 # 'sql_unittests', |
134 #], | 133 #], |
135 #'variables': { | 134 #'variables': { |
136 # 'test_suite_name': 'sql_unittests', | 135 # 'test_suite_name': 'sql_unittests', |
137 #}, | 136 #}, |
138 #'includes': [ '../build/apk_test.gypi' ], | 137 #'includes': [ '../build/apk_test.gypi' ], |
139 } | 138 } |
OLD | NEW |