OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//build/config/nacl/config.gni") |
6 | 7 |
7 if (is_android) { | 8 if (is_android) { |
8 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
9 } | 10 } |
10 | 11 |
11 source_set("test_config") { | 12 source_set("test_config") { |
12 # TODO http://crbug.com/412064 enable this flag all the time. | 13 # TODO http://crbug.com/412064 enable this flag all the time. |
13 testonly = !is_component_build | 14 testonly = !is_component_build |
14 sources = [ | 15 sources = [ |
15 "test_switches.cc", | 16 "test_switches.cc", |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 ] | 184 ] |
184 deps = [ | 185 deps = [ |
185 ":test_support", | 186 ":test_support", |
186 "//base", | 187 "//base", |
187 "//testing/gtest", | 188 "//testing/gtest", |
188 ] | 189 ] |
189 | 190 |
190 public_configs = [ ":perf_test_config" ] | 191 public_configs = [ ":perf_test_config" ] |
191 } | 192 } |
192 | 193 |
| 194 source_set("test_support_nonsfi") { |
| 195 testonly = true |
| 196 sources = [ |
| 197 "gtest_util.cc", |
| 198 "gtest_xml_unittest_result_printer.cc", |
| 199 "launcher/unit_test_launcher_nacl_nonsfi.cc", |
| 200 "test_switches.cc", |
| 201 ] |
| 202 public_deps = [ |
| 203 "//base", |
| 204 ] |
| 205 deps = [ |
| 206 "//testing/gtest", |
| 207 ] |
| 208 } |
| 209 |
| 210 source_set("test_launcher_nacl_nonsfi") { |
| 211 testonly = true |
| 212 sources = [ |
| 213 "launcher/test_launcher_nacl_nonsfi.cc", |
| 214 ] |
| 215 deps = [ |
| 216 ":test_support", |
| 217 ] |
| 218 } |
| 219 |
193 source_set("run_all_unittests") { | 220 source_set("run_all_unittests") { |
194 testonly = true | 221 testonly = true |
195 sources = [ | 222 sources = [ |
196 "run_all_unittests.cc", | 223 "run_all_unittests.cc", |
197 ] | 224 ] |
198 deps = [ | 225 deps = [ |
199 ":test_support", | 226 ":test_support", |
200 ] | 227 ] |
201 } | 228 } |
202 | 229 |
(...skipping 12 matching lines...) Expand all Loading... |
215 | 242 |
216 if (is_android) { | 243 if (is_android) { |
217 generate_jni("base_unittests_jni_headers") { | 244 generate_jni("base_unittests_jni_headers") { |
218 sources = [ | 245 sources = [ |
219 "android/java/src/org/chromium/base/ContentUriTestUtils.java", | 246 "android/java/src/org/chromium/base/ContentUriTestUtils.java", |
220 "android/java/src/org/chromium/base/TestUiThread.java", | 247 "android/java/src/org/chromium/base/TestUiThread.java", |
221 ] | 248 ] |
222 jni_package = "base" | 249 jni_package = "base" |
223 } | 250 } |
224 } | 251 } |
OLD | NEW |