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 import("../../../mojo/public/tools/bindings/mojom.gni") | 6 import("../../../mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 deps = [ | 126 deps = [ |
127 "//base", | 127 "//base", |
128 "//base/test:test_support", | 128 "//base/test:test_support", |
129 "//mojo/edk/test:test_support", | 129 "//mojo/edk/test:test_support", |
130 "//testing/gtest:gtest", | 130 "//testing/gtest:gtest", |
131 ] | 131 ] |
132 } | 132 } |
133 | 133 |
134 test("mojo_system_unittests") { | 134 test("mojo_system_unittests") { |
135 sources = [ | 135 sources = [ |
136 "awakable_list_unittest.cc", | |
137 "core_test_base.cc", | |
138 "core_test_base.h", | |
139 "core_unittest.cc", | |
140 "data_pipe_unittest.cc", | |
141 "message_pipe_unittest.cc", | |
142 "options_validation_unittest.cc", | 136 "options_validation_unittest.cc", |
143 "platform_handle_dispatcher_unittest.cc", | |
144 "shared_buffer_dispatcher_unittest.cc", | |
145 "shared_buffer_unittest.cc", | |
146 "wait_set_dispatcher_unittest.cc", | |
147 "waiter_test_utils.cc", | |
148 "waiter_test_utils.h", | |
149 "waiter_unittest.cc", | |
150 ] | 137 ] |
151 | 138 |
152 if (!is_ios) { | 139 if (!is_ios) { |
153 sources += [ "multiprocess_message_pipe_unittest.cc" ] | 140 sources += [ "multiprocess_message_pipe_unittest.cc" ] |
154 } | 141 } |
155 | 142 |
| 143 if (!is_android) { |
| 144 # TODO(rockot): Re-enable tests on Android once we figure out what's causing |
| 145 # them to time out en masse. http://crbug.com/585802 |
| 146 sources += [ |
| 147 "awakable_list_unittest.cc", |
| 148 "core_test_base.cc", |
| 149 "core_test_base.h", |
| 150 "core_unittest.cc", |
| 151 "data_pipe_unittest.cc", |
| 152 "message_pipe_unittest.cc", |
| 153 "platform_handle_dispatcher_unittest.cc", |
| 154 "shared_buffer_dispatcher_unittest.cc", |
| 155 "shared_buffer_unittest.cc", |
| 156 "wait_set_dispatcher_unittest.cc", |
| 157 "waiter_test_utils.cc", |
| 158 "waiter_test_utils.h", |
| 159 "waiter_unittest.cc", |
| 160 ] |
| 161 } |
| 162 |
156 deps = [ | 163 deps = [ |
157 ":test_utils", | 164 ":test_utils", |
158 "//base", | 165 "//base", |
159 "//base/test:test_support", | 166 "//base/test:test_support", |
160 "//mojo/edk/embedder:embedder_unittests", | 167 "//mojo/edk/embedder:embedder_unittests", |
161 "//mojo/edk/system", | 168 "//mojo/edk/system", |
162 "//mojo/edk/test:run_all_unittests", | 169 "//mojo/edk/test:run_all_unittests", |
163 "//mojo/edk/test:test_support", | 170 "//mojo/edk/test:test_support", |
164 "//mojo/public/cpp/environment:standalone", | 171 "//mojo/public/cpp/environment:standalone", |
165 "//testing/gtest", | 172 "//testing/gtest", |
(...skipping 11 matching lines...) Expand all Loading... |
177 ":test_utils", | 184 ":test_utils", |
178 "//base", | 185 "//base", |
179 "//base/test:test_support", | 186 "//base/test:test_support", |
180 "//mojo/edk/system", | 187 "//mojo/edk/system", |
181 "//mojo/edk/test:run_all_perftests", | 188 "//mojo/edk/test:run_all_perftests", |
182 "//mojo/edk/test:test_support", | 189 "//mojo/edk/test:test_support", |
183 "//mojo/public/cpp/environment:standalone", | 190 "//mojo/public/cpp/environment:standalone", |
184 "//testing/gtest", | 191 "//testing/gtest", |
185 ] | 192 ] |
186 } | 193 } |
OLD | NEW |