OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 component("ipc") { | 7 component("ipc") { |
8 sources = [ | 8 sources = [ |
9 "attachment_broker.h", | 9 "attachment_broker.h", |
10 "attachment_broker_messages.h", | 10 "attachment_broker_messages.h", |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 "//base", | 100 "//base", |
101 | 101 |
102 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. | 102 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
103 "//base/third_party/dynamic_annotations", | 103 "//base/third_party/dynamic_annotations", |
104 "//crypto:crypto", | 104 "//crypto:crypto", |
105 ] | 105 ] |
106 } | 106 } |
107 | 107 |
108 # TODO(GYP): crbug.com/360936. Get this to build and run on Android. | 108 # TODO(GYP): crbug.com/360936. Get this to build and run on Android. |
109 if (!is_android) { | 109 if (!is_android) { |
| 110 group("ipc_tests_run") { |
| 111 testonly = true |
| 112 deps = [ |
| 113 ":ipc_tests", |
| 114 ] |
| 115 } |
| 116 |
110 test("ipc_tests") { | 117 test("ipc_tests") { |
111 sources = [ | 118 sources = [ |
112 "attachment_broker_win_unittest.cc", | 119 "attachment_broker_win_unittest.cc", |
113 "ipc_channel_posix_unittest.cc", | 120 "ipc_channel_posix_unittest.cc", |
114 "ipc_channel_unittest.cc", | 121 "ipc_channel_unittest.cc", |
115 "ipc_fuzzing_tests.cc", | 122 "ipc_fuzzing_tests.cc", |
116 "ipc_message_attachment_set_posix_unittest.cc", | 123 "ipc_message_attachment_set_posix_unittest.cc", |
117 "ipc_message_unittest.cc", | 124 "ipc_message_unittest.cc", |
118 "ipc_message_utils_unittest.cc", | 125 "ipc_message_utils_unittest.cc", |
119 "ipc_send_fds_test.cc", | 126 "ipc_send_fds_test.cc", |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 "ipc_test_sink.cc", | 202 "ipc_test_sink.cc", |
196 "ipc_test_sink.h", | 203 "ipc_test_sink.h", |
197 ] | 204 ] |
198 deps = [ | 205 deps = [ |
199 ":ipc", | 206 ":ipc", |
200 "//base", | 207 "//base", |
201 "//base/test:test_support", | 208 "//base/test:test_support", |
202 "//testing/gtest", | 209 "//testing/gtest", |
203 ] | 210 ] |
204 } | 211 } |
OLD | NEW |