| 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", |
| 136 "options_validation_unittest.cc", | 142 "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", |
| 137 ] | 150 ] |
| 138 | 151 |
| 139 if (!is_ios) { | 152 if (!is_ios) { |
| 140 sources += [ "multiprocess_message_pipe_unittest.cc" ] | 153 sources += [ "multiprocess_message_pipe_unittest.cc" ] |
| 141 } | 154 } |
| 142 | 155 |
| 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 | |
| 163 deps = [ | 156 deps = [ |
| 164 ":test_utils", | 157 ":test_utils", |
| 165 "//base", | 158 "//base", |
| 166 "//base/test:test_support", | 159 "//base/test:test_support", |
| 167 "//mojo/edk/embedder:embedder_unittests", | 160 "//mojo/edk/embedder:embedder_unittests", |
| 168 "//mojo/edk/system", | 161 "//mojo/edk/system", |
| 169 "//mojo/edk/test:run_all_unittests", | 162 "//mojo/edk/test:run_all_unittests", |
| 170 "//mojo/edk/test:test_support", | 163 "//mojo/edk/test:test_support", |
| 171 "//mojo/public/cpp/environment:standalone", | 164 "//mojo/public/cpp/environment:standalone", |
| 172 "//testing/gtest", | 165 "//testing/gtest", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 184 ":test_utils", | 177 ":test_utils", |
| 185 "//base", | 178 "//base", |
| 186 "//base/test:test_support", | 179 "//base/test:test_support", |
| 187 "//mojo/edk/system", | 180 "//mojo/edk/system", |
| 188 "//mojo/edk/test:run_all_perftests", | 181 "//mojo/edk/test:run_all_perftests", |
| 189 "//mojo/edk/test:test_support", | 182 "//mojo/edk/test:test_support", |
| 190 "//mojo/public/cpp/environment:standalone", | 183 "//mojo/public/cpp/environment:standalone", |
| 191 "//testing/gtest", | 184 "//testing/gtest", |
| 192 ] | 185 ] |
| 193 } | 186 } |
| OLD | NEW |