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("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("ipc") { | 8 component("ipc") { |
9 sources = [ | 9 sources = [ |
10 "attachment_broker.cc", | 10 "attachment_broker.cc", |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 "ipc_test_message_generator.h", | 172 "ipc_test_message_generator.h", |
173 "ipc_test_messages.h", | 173 "ipc_test_messages.h", |
174 "sync_socket_unittest.cc", | 174 "sync_socket_unittest.cc", |
175 "unix_domain_socket_util_unittest.cc", | 175 "unix_domain_socket_util_unittest.cc", |
176 ] | 176 ] |
177 | 177 |
178 if (is_win || is_ios) { | 178 if (is_win || is_ios) { |
179 sources -= [ "unix_domain_socket_util_unittest.cc" ] | 179 sources -= [ "unix_domain_socket_util_unittest.cc" ] |
180 } | 180 } |
181 | 181 |
| 182 if (is_android) { |
| 183 # These multiprocess tests don't work on Android. |
| 184 sources -= [ "ipc_channel_unittest.cc" ] |
| 185 } |
| 186 |
182 # TODO(brettw) hook up Android testing. | 187 # TODO(brettw) hook up Android testing. |
183 #if (is_android && gtest_target_type == "shared_library") { | 188 #if (is_android && gtest_target_type == "shared_library") { |
184 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 189 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
185 #} | 190 #} |
186 | 191 |
187 # TODO(brettw) hook up tcmalloc to this target. | 192 # TODO(brettw) hook up tcmalloc to this target. |
188 #if (is_posix && !is_mac && !is_android) { | 193 #if (is_posix && !is_mac && !is_android) { |
189 # if (use_allocator!="none") { | 194 # if (use_allocator!="none") { |
190 # deps += "/base/allocator" | 195 # deps += "/base/allocator" |
191 # } | 196 # } |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 ] | 255 ] |
251 public_deps = [ | 256 public_deps = [ |
252 ":ipc", | 257 ":ipc", |
253 ] | 258 ] |
254 deps = [ | 259 deps = [ |
255 "//base", | 260 "//base", |
256 "//base/test:test_support", | 261 "//base/test:test_support", |
257 "//testing/gtest", | 262 "//testing/gtest", |
258 ] | 263 ] |
259 } | 264 } |
OLD | NEW |