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 import("//build/config/nacl/config.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
11 | 11 |
12 static_library("test_config") { | 12 static_library("test_config") { |
13 testonly = true | 13 testonly = true |
14 sources = [ | 14 sources = [ |
15 "test_switches.cc", | 15 "test_switches.cc", |
16 "test_switches.h", | 16 "test_switches.h", |
17 "test_timeouts.cc", | 17 "test_timeouts.cc", |
18 "test_timeouts.h", | 18 "test_timeouts.h", |
19 ] | 19 ] |
20 deps = [ | 20 deps = [ |
21 "//base", | 21 "//base", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 # GYP: //base/base.gyp:test_support_base | 25 # GYP: //base/base.gyp:test_support_base |
26 static_library("test_support") { | 26 static_library("test_support") { |
27 testonly = true | 27 testonly = true |
28 sources = [ | 28 sources = [ |
29 "../trace_event/trace_config_memory_test_util.h", | 29 "../trace_event/trace_config_memory_test_util.h", |
| 30 "android/java_handler_thread_for_testing.cc", |
| 31 "android/java_handler_thread_for_testing.h", |
| 32 "android/test_system_message_handler_link_android.cc", |
| 33 "android/test_system_message_handler_link_android.h", |
30 "gtest_util.cc", | 34 "gtest_util.cc", |
31 "gtest_util.h", | 35 "gtest_util.h", |
32 "gtest_xml_unittest_result_printer.cc", | 36 "gtest_xml_unittest_result_printer.cc", |
33 "gtest_xml_unittest_result_printer.h", | 37 "gtest_xml_unittest_result_printer.h", |
34 "gtest_xml_util.cc", | 38 "gtest_xml_util.cc", |
35 "gtest_xml_util.h", | 39 "gtest_xml_util.h", |
36 "histogram_tester.cc", | 40 "histogram_tester.cc", |
37 "histogram_tester.h", | 41 "histogram_tester.h", |
38 "ios/wait_util.h", | 42 "ios/wait_util.h", |
39 "ios/wait_util.mm", | 43 "ios/wait_util.mm", |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 "//base", | 269 "//base", |
266 "//build/config/sanitizers:deps", | 270 "//build/config/sanitizers:deps", |
267 ] | 271 ] |
268 } | 272 } |
269 } | 273 } |
270 | 274 |
271 if (is_android) { | 275 if (is_android) { |
272 generate_jni("base_unittests_jni_headers") { | 276 generate_jni("base_unittests_jni_headers") { |
273 sources = [ | 277 sources = [ |
274 "android/java/src/org/chromium/base/ContentUriTestUtils.java", | 278 "android/java/src/org/chromium/base/ContentUriTestUtils.java", |
| 279 "android/java/src/org/chromium/base/TestSystemMessageHandler.java", |
275 "android/java/src/org/chromium/base/TestUiThread.java", | 280 "android/java/src/org/chromium/base/TestUiThread.java", |
276 ] | 281 ] |
277 jni_package = "base" | 282 jni_package = "base" |
278 } | 283 } |
279 } | 284 } |
OLD | NEW |