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", |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 # Public SDK test targets follow. These targets are not defined within the | 86 # Public SDK test targets follow. These targets are not defined within the |
87 # public SDK itself as running the unittests requires the EDK. | 87 # public SDK itself as running the unittests requires the EDK. |
88 # TODO(vtl): These don't really belong here. (They should be converted to | 88 # TODO(vtl): These don't really belong here. (They should be converted to |
89 # apptests, but even apart from that these targets belong somewhere else.) | 89 # apptests, but even apart from that these targets belong somewhere else.) |
90 | 90 |
91 group("public_tests") { | 91 group("public_tests") { |
92 testonly = true | 92 testonly = true |
93 deps = [ | 93 deps = [ |
94 ":mojo_public_bindings_unittests", | 94 ":mojo_public_bindings_unittests", |
95 ":mojo_public_environment_unittests", | |
96 ":mojo_public_system_perftests", | 95 ":mojo_public_system_perftests", |
97 ":mojo_public_system_unittests", | 96 ":mojo_public_system_unittests", |
98 ":mojo_public_utility_unittests", | 97 ":mojo_public_utility_unittests", |
99 ] | 98 ] |
100 } | 99 } |
101 | 100 |
102 test("mojo_public_bindings_perftests") { | 101 test("mojo_public_bindings_perftests") { |
103 deps = [ | 102 deps = [ |
104 ":run_all_perftests", | 103 ":run_all_perftests", |
105 "//mojo/edk/test:test_support", | 104 "//mojo/edk/test:test_support", |
106 "//mojo/public/cpp/bindings/tests:perftests", | 105 "//mojo/public/cpp/bindings/tests:perftests", |
107 ] | 106 ] |
108 } | 107 } |
109 | 108 |
110 test("mojo_public_bindings_unittests") { | 109 test("mojo_public_bindings_unittests") { |
111 deps = [ | 110 deps = [ |
112 ":run_all_unittests", | 111 ":run_all_unittests", |
113 "//mojo/edk/test:test_support", | 112 "//mojo/edk/test:test_support", |
114 "//mojo/public/cpp/bindings/tests", | 113 "//mojo/public/cpp/bindings/tests", |
115 ] | 114 ] |
116 } | 115 } |
117 | 116 |
118 test("mojo_public_environment_unittests") { | |
119 deps = [ | |
120 ":run_all_unittests", | |
121 "//mojo/public/cpp/environment/tests", | |
122 ] | |
123 } | |
124 | |
125 test("mojo_public_system_perftests") { | 117 test("mojo_public_system_perftests") { |
126 deps = [ | 118 deps = [ |
127 ":run_all_perftests", | 119 ":run_all_perftests", |
128 "//mojo/public/c/system/tests:perftests", | 120 "//mojo/public/c/system/tests:perftests", |
129 ] | 121 ] |
130 } | 122 } |
131 | 123 |
132 test("mojo_public_system_unittests") { | 124 test("mojo_public_system_unittests") { |
133 deps = [ | 125 deps = [ |
134 ":run_all_unittests", | 126 ":run_all_unittests", |
135 "//mojo/public/cpp/system/tests", | 127 "//mojo/public/cpp/system/tests", |
136 ] | 128 ] |
137 } | 129 } |
138 | 130 |
139 test("mojo_public_utility_unittests") { | 131 test("mojo_public_utility_unittests") { |
140 deps = [ | 132 deps = [ |
141 ":run_all_unittests", | 133 ":run_all_unittests", |
142 "//mojo/public/cpp/utility/tests", | 134 "//mojo/public/cpp/utility/tests", |
143 ] | 135 ] |
144 } | 136 } |
OLD | NEW |