| 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 | 6 |
| 7 source_set("test_support") { | 7 source_set("test_support") { |
| 8 testonly = true | 8 testonly = true |
| 9 sources = [ | 9 sources = [ |
| 10 "mojo_test_base.cc", | 10 "mojo_test_base.cc", |
| 11 "mojo_test_base.h", | 11 "mojo_test_base.h", |
| 12 "multiprocess_test_helper.cc", | |
| 13 "multiprocess_test_helper.h", | |
| 14 "scoped_ipc_support.cc", | 12 "scoped_ipc_support.cc", |
| 15 "scoped_ipc_support.h", | 13 "scoped_ipc_support.h", |
| 16 "test_utils.h", | 14 "test_utils.h", |
| 17 "test_utils_posix.cc", | 15 "test_utils_posix.cc", |
| 18 "test_utils_win.cc", | 16 "test_utils_win.cc", |
| 19 ] | 17 ] |
| 20 | 18 |
| 19 if (!is_ios) { |
| 20 sources += [ |
| 21 "multiprocess_test_helper.cc", |
| 22 "multiprocess_test_helper.h", |
| 23 ] |
| 24 } |
| 25 |
| 21 deps = [ | 26 deps = [ |
| 22 "//base", | 27 "//base", |
| 23 "//base/test:test_support", | 28 "//base/test:test_support", |
| 24 "//mojo/edk/system", | 29 "//mojo/edk/system", |
| 25 "//mojo/public/cpp/system", | 30 "//mojo/public/cpp/system", |
| 26 "//testing/gtest", | 31 "//testing/gtest", |
| 27 ] | 32 ] |
| 28 } | 33 } |
| 29 | 34 |
| 30 source_set("run_all_unittests") { | 35 source_set("run_all_unittests") { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 "//mojo/public/c/system/tests:perftests", | 124 "//mojo/public/c/system/tests:perftests", |
| 120 ] | 125 ] |
| 121 } | 126 } |
| 122 | 127 |
| 123 test("mojo_public_system_unittests") { | 128 test("mojo_public_system_unittests") { |
| 124 deps = [ | 129 deps = [ |
| 125 ":run_all_unittests", | 130 ":run_all_unittests", |
| 126 "//mojo/public/cpp/system/tests", | 131 "//mojo/public/cpp/system/tests", |
| 127 ] | 132 ] |
| 128 } | 133 } |
| OLD | NEW |