Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: mojo/edk/system/BUILD.gn

Issue 1430093006: EDK: Split the mojo_edk_system_unittests target. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/embedder/BUILD.gn ('k') | mojo/edk/system/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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") 6 import("//testing/test.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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 ] 120 ]
121 121
122 deps = [ 122 deps = [
123 "//base", 123 "//base",
124 "//base/third_party/dynamic_annotations", 124 "//base/third_party/dynamic_annotations",
125 ] 125 ]
126 126
127 allow_circular_includes_from = [ "../embedder" ] 127 allow_circular_includes_from = [ "../embedder" ]
128 } 128 }
129 129
130 group("tests") {
131 testonly = true
132 deps = [
133 ":mojo_edk_system_perftests",
134 ":mojo_edk_system_unittests",
135 ]
136 }
137
138 mojo_edk_unittests("mojo_edk_system_unittests") { 130 mojo_edk_unittests("mojo_edk_system_unittests") {
139 sources = [ 131 sources = [
140 # TODO(vtl): This should be in its own mojo_edk_unittests target. 132 # TODO(vtl): This should be in its own mojo_edk_unittests target.
141 "../test/multiprocess_test_helper_unittest.cc", 133 "../test/multiprocess_test_helper_unittest.cc",
142 "awakable_list_unittest.cc", 134 "awakable_list_unittest.cc",
143 "channel_endpoint_id_unittest.cc", 135 "channel_endpoint_id_unittest.cc",
144 "channel_endpoint_unittest.cc", 136 "channel_endpoint_unittest.cc",
145 "channel_manager_unittest.cc", 137 "channel_manager_unittest.cc",
146 "channel_test_base.cc", 138 "channel_test_base.cc",
147 "channel_test_base.h", 139 "channel_test_base.h",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 "waiter_unittest.cc", 171 "waiter_unittest.cc",
180 ] 172 ]
181 173
182 deps = [ 174 deps = [
183 ":system", 175 ":system",
184 "//base", 176 "//base",
185 "//testing/gtest", 177 "//testing/gtest",
186 ] 178 ]
187 179
188 mojo_edk_deps = [ 180 mojo_edk_deps = [
189 # TODO(vtl): Add separate mojo_edk_unittests targets for these.
190 "mojo/edk/embedder:unittests",
191 "mojo/edk/system/test:unittests",
192 "mojo/edk/util:unittests",
193
194 "mojo/edk/system/test", 181 "mojo/edk/system/test",
195 "mojo/edk/test:test_support", 182 "mojo/edk/test:test_support",
196 "mojo/edk/util", 183 "mojo/edk/util",
197 ] 184 ]
198 } 185 }
199 186
200 mojo_edk_perftests("mojo_edk_system_perftests") { 187 mojo_edk_perftests("mojo_edk_system_perftests") {
201 sources = [ 188 sources = [
202 "message_pipe_perftest.cc", 189 "message_pipe_perftest.cc",
203 "message_pipe_test_utils.cc", 190 "message_pipe_test_utils.cc",
204 "message_pipe_test_utils.h", 191 "message_pipe_test_utils.h",
205 ] 192 ]
206 193
207 deps = [ 194 deps = [
208 ":system", 195 ":system",
209 "//base", 196 "//base",
210 "//testing/gtest", 197 "//testing/gtest",
211 ] 198 ]
212 199
213 mojo_edk_deps = [ 200 mojo_edk_deps = [
214 # TODO(vtl): Add separate test targets for this. 201 # TODO(vtl): Add separate test targets for this.
215 "mojo/edk/util:perftests", 202 "mojo/edk/util:perftests",
216 203
217 "mojo/edk/system/test", 204 "mojo/edk/system/test",
218 "mojo/edk/system/test:perf", 205 "mojo/edk/system/test:perf",
219 "mojo/edk/test:test_support", 206 "mojo/edk/test:test_support",
220 ] 207 ]
221 } 208 }
OLDNEW
« no previous file with comments | « mojo/edk/embedder/BUILD.gn ('k') | mojo/edk/system/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698