Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: base/test/BUILD.gn

Issue 2513363003: repro for crbug.com/663886
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/debug/debugger.cc ('k') | base/test/test_suite.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 static_library("test_support") { 25 static_library("test_support") {
26 testonly = true 26 testonly = true
27 sources = [ 27 sources = [
28 "../trace_event/trace_config_memory_test_util.h", 28 #"../trace_event/trace_config_memory_test_util.h",
29 "android/java_handler_thread_for_testing.cc", 29 #"android/java_handler_thread_for_testing.cc",
30 "android/java_handler_thread_for_testing.h", 30 #"android/java_handler_thread_for_testing.h",
31 "android/test_system_message_handler_link_android.cc", 31 "android/test_system_message_handler_link_android.cc",
32 "android/test_system_message_handler_link_android.h", 32 "android/test_system_message_handler_link_android.h",
33 "fuzzed_data_provider.cc", 33 #"fuzzed_data_provider.cc",
34 "fuzzed_data_provider.h", 34 #"fuzzed_data_provider.h",
35 "gtest_util.cc", 35 #"gtest_util.cc",
36 "gtest_util.h", 36 #"gtest_util.h",
37 "gtest_xml_unittest_result_printer.cc", 37 #"gtest_xml_unittest_result_printer.cc",
38 "gtest_xml_unittest_result_printer.h", 38 #"gtest_xml_unittest_result_printer.h",
39 "gtest_xml_util.cc", 39 #"gtest_xml_util.cc",
40 "gtest_xml_util.h", 40 #"gtest_xml_util.h",
41 "histogram_tester.cc", 41 #"histogram_tester.cc",
42 "histogram_tester.h", 42 #"histogram_tester.h",
43 "icu_test_util.cc", 43 #"icu_test_util.cc",
44 "icu_test_util.h", 44 #"icu_test_util.h",
45 "ios/wait_util.h", 45 #"ios/wait_util.h",
46 "ios/wait_util.mm", 46 #"ios/wait_util.mm",
47 "launcher/test_result.cc", 47 #"launcher/test_result.cc",
48 "launcher/test_result.h", 48 #"launcher/test_result.h",
49 "launcher/test_results_tracker.h", 49 #"launcher/test_results_tracker.h",
50 "launcher/unit_test_launcher.h", 50 #"launcher/unit_test_launcher.h",
51 "mock_chrome_application_mac.h", 51 #"mock_chrome_application_mac.h",
52 "mock_chrome_application_mac.mm", 52 #"mock_chrome_application_mac.mm",
53 "mock_devices_changed_observer.cc", 53 #"mock_devices_changed_observer.cc",
54 "mock_devices_changed_observer.h", 54 #"mock_devices_changed_observer.h",
55 "mock_entropy_provider.cc", 55 #"mock_entropy_provider.cc",
56 "mock_entropy_provider.h", 56 #"mock_entropy_provider.h",
57 "mock_log.cc", 57 #"mock_log.cc",
58 "mock_log.h", 58 #"mock_log.h",
59 "multiprocess_test.h", 59 #"multiprocess_test.h",
60 "null_task_runner.cc", 60 #"null_task_runner.cc",
61 "null_task_runner.h", 61 #"null_task_runner.h",
62 "opaque_ref_counted.cc", 62 #"opaque_ref_counted.cc",
63 "opaque_ref_counted.h", 63 #"opaque_ref_counted.h",
64 "perf_log.cc", 64 #"perf_log.cc",
65 "perf_log.h", 65 #"perf_log.h",
66 "perf_test_suite.cc", 66 #"perf_test_suite.cc",
67 "perf_test_suite.h", 67 #"perf_test_suite.h",
68 "perf_time_logger.cc", 68 #"perf_time_logger.cc",
69 "perf_time_logger.h", 69 #"perf_time_logger.h",
70 "power_monitor_test_base.cc", 70 #"power_monitor_test_base.cc",
71 "power_monitor_test_base.h", 71 #"power_monitor_test_base.h",
72 "scoped_command_line.cc", 72 #"scoped_command_line.cc",
73 "scoped_command_line.h", 73 #"scoped_command_line.h",
74 "scoped_feature_list.cc", 74 #"scoped_feature_list.cc",
75 "scoped_feature_list.h", 75 #"scoped_feature_list.h",
76 "scoped_locale.cc", 76 #"scoped_locale.cc",
77 "scoped_locale.h", 77 #"scoped_locale.h",
78 "scoped_path_override.cc", 78 #"scoped_path_override.cc",
79 "scoped_path_override.h", 79 #"scoped_path_override.h",
80 "sequenced_task_runner_test_template.cc", 80 #"sequenced_task_runner_test_template.cc",
81 "sequenced_task_runner_test_template.h", 81 #"sequenced_task_runner_test_template.h",
82 "sequenced_worker_pool_owner.cc", 82 #"sequenced_worker_pool_owner.cc",
83 "sequenced_worker_pool_owner.h", 83 #"sequenced_worker_pool_owner.h",
84 "simple_test_clock.cc", 84 #"simple_test_clock.cc",
85 "simple_test_clock.h", 85 #"simple_test_clock.h",
86 "simple_test_tick_clock.cc", 86 #"simple_test_tick_clock.cc",
87 "simple_test_tick_clock.h", 87 #"simple_test_tick_clock.h",
88 "task_runner_test_template.cc", 88 #"task_runner_test_template.cc",
89 "task_runner_test_template.h", 89 #"task_runner_test_template.h",
90 "test_discardable_memory_allocator.cc", 90 #"test_discardable_memory_allocator.cc",
91 "test_discardable_memory_allocator.h", 91 #"test_discardable_memory_allocator.h",
92 "test_file_util.cc", 92 #"test_file_util.cc",
93 "test_file_util.h", 93 #"test_file_util.h",
94 "test_file_util_android.cc", 94 #"test_file_util_android.cc",
95 "test_file_util_linux.cc", 95 #"test_file_util_linux.cc",
96 "test_file_util_mac.cc", 96 #"test_file_util_mac.cc",
97 "test_file_util_posix.cc", 97 #"test_file_util_posix.cc",
98 "test_file_util_win.cc", 98 #"test_file_util_win.cc",
99 "test_io_thread.cc", 99 #"test_io_thread.cc",
100 "test_io_thread.h", 100 #"test_io_thread.h",
101 "test_listener_ios.h", 101 #"test_listener_ios.h",
102 "test_listener_ios.mm", 102 #"test_listener_ios.mm",
103 "test_message_loop.cc", 103 #"test_message_loop.cc",
104 "test_message_loop.h", 104 #"test_message_loop.h",
105 "test_mock_time_task_runner.cc", 105 #"test_mock_time_task_runner.cc",
106 "test_mock_time_task_runner.h", 106 #"test_mock_time_task_runner.h",
107 "test_pending_task.cc", 107 #"test_pending_task.cc",
108 "test_pending_task.h", 108 #"test_pending_task.h",
109 "test_reg_util_win.cc", 109 #"test_reg_util_win.cc",
110 "test_reg_util_win.h", 110 #"test_reg_util_win.h",
111 "test_shortcut_win.cc", 111 #"test_shortcut_win.cc",
112 "test_shortcut_win.h", 112 #"test_shortcut_win.h",
113 "test_simple_task_runner.cc", 113 #"test_simple_task_runner.cc",
114 "test_simple_task_runner.h", 114 #"test_simple_task_runner.h",
115 "test_suite.cc", 115 "test_suite.cc",
116 "test_suite.h", 116 "test_suite.h",
117 "test_support_android.cc", 117 "test_support_android.cc",
118 "test_support_android.h", 118 "test_support_android.h",
119 "test_support_ios.h", 119 #"test_support_ios.h",
120 "test_support_ios.mm", 120 #"test_support_ios.mm",
121 "test_ui_thread_android.cc", 121 #"test_ui_thread_android.cc",
122 "test_ui_thread_android.h", 122 #"test_ui_thread_android.h",
123 "thread_test_helper.cc", 123 #"thread_test_helper.cc",
124 "thread_test_helper.h", 124 #"thread_test_helper.h",
125 "trace_event_analyzer.cc", 125 #"trace_event_analyzer.cc",
126 "trace_event_analyzer.h", 126 #"trace_event_analyzer.h",
127 "trace_to_file.cc", 127 #"trace_to_file.cc",
128 "trace_to_file.h", 128 #"trace_to_file.h",
129 "user_action_tester.cc", 129 #"user_action_tester.cc",
130 "user_action_tester.h", 130 #"user_action_tester.h",
131 "values_test_util.cc", 131 #"values_test_util.cc",
132 "values_test_util.h", 132 #"values_test_util.h",
133 ] 133 ]
134 134
135 if (is_ios) { 135 if (is_ios) {
136 sources += [ "launcher/unit_test_launcher_ios.cc" ] 136 sources += [ "launcher/unit_test_launcher_ios.cc" ]
137 } else if (!is_nacl_nonsfi) { 137 } else if (!is_nacl_nonsfi) {
138 sources += [ 138 sources += [
139 "launcher/test_launcher.cc", 139 "launcher/test_launcher.cc",
140 "launcher/test_launcher.h", 140 "launcher/test_launcher.h",
141 "launcher/test_launcher_tracer.cc", 141 "launcher/test_launcher_tracer.cc",
142 "launcher/test_launcher_tracer.h", 142 "launcher/test_launcher_tracer.h",
143 "launcher/test_results_tracker.cc", 143 "launcher/test_results_tracker.cc",
144 "launcher/unit_test_launcher.cc", 144 "launcher/unit_test_launcher.cc",
145 "multiprocess_test.cc", 145 "multiprocess_test.cc",
146 "multiprocess_test_android.cc", 146 "multiprocess_test_android.cc",
147 ] 147 ]
148 } 148 }
149 149
150 configs += [ "//build/config:precompiled_headers" ] 150 configs += [ "//build/config:precompiled_headers" ]
151 151
152 data = [ 152 data = [
153 # The isolate needs this script for setting up the test. It's not actually 153 # The isolate needs this script for setting up the test. It's not actually
154 # needed to run this target locally. 154 # needed to run this target locally.
155 "//testing/test_env.py", 155 "//testing/test_env.py",
156 ] 156 ]
157 157
158 public_deps = [ 158 public_deps = [
159 ":test_config", 159 ":test_config",
160 "//base", 160 #"//base",
161 "//base:base_static", 161 #"//base:base_static",
162 "//base:i18n", 162 #"//base:i18n",
163 ] 163 ]
164 deps = [ 164 deps = [
165 "//base/third_party/dynamic_annotations", 165 #"//base/third_party/dynamic_annotations",
166 "//testing/gmock", 166 #"//testing/gmock",
167 "//testing/gtest", 167 "//testing/gtest",
168 "//third_party/icu:icuuc", 168 #"//third_party/icu:icuuc",
169 "//third_party/libxml", 169 #"//third_party/libxml",
170 ] 170 ]
171 171
172 if (!is_posix) { 172 if (!is_posix) {
173 sources -= [ 173 sources -= [
174 "scoped_locale.cc", 174 "scoped_locale.cc",
175 "scoped_locale.h", 175 "scoped_locale.h",
176 ] 176 ]
177 } 177 }
178 178
179 if (is_ios) { 179 if (is_ios) {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 if (is_android) { 317 if (is_android) {
318 generate_jni("base_unittests_jni_headers") { 318 generate_jni("base_unittests_jni_headers") {
319 sources = [ 319 sources = [
320 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 320 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
321 "android/java/src/org/chromium/base/TestSystemMessageHandler.java", 321 "android/java/src/org/chromium/base/TestSystemMessageHandler.java",
322 "android/java/src/org/chromium/base/TestUiThread.java", 322 "android/java/src/org/chromium/base/TestUiThread.java",
323 ] 323 ]
324 jni_package = "base" 324 jni_package = "base"
325 } 325 }
326 } 326 }
OLDNEW
« no previous file with comments | « base/debug/debugger.cc ('k') | base/test/test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698