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 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
11 source_set("test_config") { | 11 source_set("test_config") { |
12 # TODO http://crbug.com/412064 enable this flag all the time. | 12 # TODO http://crbug.com/412064 enable this flag all the time. |
13 testonly = !is_component_build | 13 testonly = !is_component_build |
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 source_set("test_support") { | 26 source_set("test_support") { |
27 # TODO http://crbug.com/412064 enable this flag all the time. | 27 # TODO http://crbug.com/412064 enable this flag all the time. |
28 testonly = !is_component_build | 28 testonly = !is_component_build |
29 sources = [ | 29 sources = [ |
| 30 "energy_monitor_mac.cc", |
| 31 "energy_monitor_mac.h", |
30 "gtest_util.cc", | 32 "gtest_util.cc", |
31 "gtest_util.h", | 33 "gtest_util.h", |
32 "gtest_xml_unittest_result_printer.cc", | 34 "gtest_xml_unittest_result_printer.cc", |
33 "gtest_xml_unittest_result_printer.h", | 35 "gtest_xml_unittest_result_printer.h", |
34 "gtest_xml_util.cc", | 36 "gtest_xml_util.cc", |
35 "gtest_xml_util.h", | 37 "gtest_xml_util.h", |
36 "histogram_tester.cc", | 38 "histogram_tester.cc", |
37 "histogram_tester.h", | 39 "histogram_tester.h", |
38 "ios/wait_util.h", | 40 "ios/wait_util.h", |
39 "ios/wait_util.mm", | 41 "ios/wait_util.mm", |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 | 217 |
216 if (is_android) { | 218 if (is_android) { |
217 generate_jni("base_unittests_jni_headers") { | 219 generate_jni("base_unittests_jni_headers") { |
218 sources = [ | 220 sources = [ |
219 "android/java/src/org/chromium/base/ContentUriTestUtils.java", | 221 "android/java/src/org/chromium/base/ContentUriTestUtils.java", |
220 "android/java/src/org/chromium/base/TestUiThread.java", | 222 "android/java/src/org/chromium/base/TestUiThread.java", |
221 ] | 223 ] |
222 jni_package = "base" | 224 jni_package = "base" |
223 } | 225 } |
224 } | 226 } |
OLD | NEW |