| 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("../mojo_edk.gni") | 5 import("../mojo_edk.gni") |
| 6 import("//testing/test.gni") | |
| 7 | 6 |
| 8 mojo_edk_source_set("test_support") { | 7 mojo_edk_source_set("test_support") { |
| 9 testonly = true | 8 testonly = true |
| 10 sources = [ | 9 sources = [ |
| 11 "multiprocess_test_helper.cc", | 10 "multiprocess_test_helper.cc", |
| 12 "multiprocess_test_helper.h", | 11 "multiprocess_test_helper.h", |
| 13 "scoped_ipc_support.cc", | 12 "scoped_ipc_support.cc", |
| 14 "scoped_ipc_support.h", | 13 "scoped_ipc_support.h", |
| 15 "scoped_test_dir.cc", | 14 "scoped_test_dir.cc", |
| 16 "scoped_test_dir.h", | 15 "scoped_test_dir.h", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 79 |
| 81 sources = [ | 80 sources = [ |
| 82 "test_support_impl.cc", | 81 "test_support_impl.cc", |
| 83 ] | 82 ] |
| 84 | 83 |
| 85 visibility = [ | 84 visibility = [ |
| 86 ":run_all_unittests", | 85 ":run_all_unittests", |
| 87 ":run_all_perftests", | 86 ":run_all_perftests", |
| 88 ] | 87 ] |
| 89 } | 88 } |
| 90 | |
| 91 # Public SDK test targets follow. These targets are not defined within the | |
| 92 # public SDK itself as running the unittests requires the EDK. | |
| 93 # TODO(vtl): These don't really belong here. (They should be converted to | |
| 94 # apptests, but even apart from that these targets belong somewhere else.) | |
| 95 | |
| 96 group("public_tests") { | |
| 97 testonly = true | |
| 98 deps = [ | |
| 99 ":mojo_public_application_unittests", | |
| 100 ":mojo_public_bindings_perftests", | |
| 101 ":mojo_public_bindings_unittests", | |
| 102 ":mojo_public_environment_unittests", | |
| 103 ":mojo_public_system_perftests", | |
| 104 ":mojo_public_system_unittests", | |
| 105 ":mojo_public_utility_unittests", | |
| 106 ":mojo_system_impl_private_unittests", | |
| 107 ] | |
| 108 } | |
| 109 | |
| 110 test("mojo_public_application_unittests") { | |
| 111 deps = [ | |
| 112 ":run_all_unittests", | |
| 113 "../../public/cpp/application/tests", | |
| 114 ] | |
| 115 } | |
| 116 | |
| 117 test("mojo_public_bindings_unittests") { | |
| 118 deps = [ | |
| 119 ":run_all_unittests", | |
| 120 "../../public/cpp/bindings/tests", | |
| 121 ] | |
| 122 } | |
| 123 | |
| 124 test("mojo_public_bindings_perftests") { | |
| 125 deps = [ | |
| 126 ":run_all_perftests", | |
| 127 "../../public/cpp/bindings/tests:perftests", | |
| 128 ] | |
| 129 } | |
| 130 | |
| 131 test("mojo_public_environment_unittests") { | |
| 132 deps = [ | |
| 133 ":run_all_unittests", | |
| 134 "../../public/cpp/environment/tests", | |
| 135 ] | |
| 136 } | |
| 137 | |
| 138 test("mojo_public_system_perftests") { | |
| 139 deps = [ | |
| 140 ":run_all_perftests", | |
| 141 "../../public/c/system/tests:perftests", | |
| 142 ] | |
| 143 } | |
| 144 | |
| 145 test("mojo_public_system_unittests") { | |
| 146 deps = [ | |
| 147 ":run_all_unittests", | |
| 148 "../../public/cpp/system/tests", | |
| 149 ] | |
| 150 } | |
| 151 | |
| 152 test("mojo_public_utility_unittests") { | |
| 153 deps = [ | |
| 154 ":run_all_unittests", | |
| 155 "../../public/cpp/utility/tests", | |
| 156 ] | |
| 157 } | |
| 158 | |
| 159 test("mojo_system_impl_private_unittests") { | |
| 160 deps = [ | |
| 161 ":run_all_unittests", | |
| 162 "../../public/platform/native:system_impl_private_tests", | |
| 163 ] | |
| 164 } | |
| OLD | NEW |