| 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 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 7 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 8 | 8 |
| 9 assert(!is_ios) | 9 assert(!is_ios) |
| 10 | 10 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 "ipc_message_attachment_set_posix_unittest.cc", | 169 "ipc_message_attachment_set_posix_unittest.cc", |
| 170 "ipc_message_unittest.cc", | 170 "ipc_message_unittest.cc", |
| 171 "ipc_message_utils_unittest.cc", | 171 "ipc_message_utils_unittest.cc", |
| 172 "ipc_send_fds_test.cc", | 172 "ipc_send_fds_test.cc", |
| 173 "ipc_sync_channel_unittest.cc", | 173 "ipc_sync_channel_unittest.cc", |
| 174 "ipc_sync_message_unittest.cc", | 174 "ipc_sync_message_unittest.cc", |
| 175 "ipc_sync_message_unittest.h", | 175 "ipc_sync_message_unittest.h", |
| 176 "ipc_test_message_generator.cc", | 176 "ipc_test_message_generator.cc", |
| 177 "ipc_test_message_generator.h", | 177 "ipc_test_message_generator.h", |
| 178 "ipc_test_messages.h", | 178 "ipc_test_messages.h", |
| 179 "run_all_unittests.cc", |
| 179 "sync_socket_unittest.cc", | 180 "sync_socket_unittest.cc", |
| 180 "unix_domain_socket_util_unittest.cc", | 181 "unix_domain_socket_util_unittest.cc", |
| 181 ] | 182 ] |
| 182 | 183 |
| 183 if (is_win || is_ios) { | 184 if (is_win || is_ios) { |
| 184 sources -= [ "unix_domain_socket_util_unittest.cc" ] | 185 sources -= [ "unix_domain_socket_util_unittest.cc" ] |
| 185 } | 186 } |
| 186 | 187 |
| 187 if (is_android) { | 188 if (is_android) { |
| 188 # These multiprocess tests don't work on Android. | 189 # These multiprocess tests don't work on Android. |
| 189 sources -= [ "ipc_channel_unittest.cc" ] | 190 sources -= [ "ipc_channel_unittest.cc" ] |
| 190 } | 191 } |
| 191 | 192 |
| 192 # TODO(brettw) hook up Android testing. | 193 # TODO(brettw) hook up Android testing. |
| 193 #if (is_android && gtest_target_type == "shared_library") { | 194 #if (is_android && gtest_target_type == "shared_library") { |
| 194 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 195 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
| 195 #} | 196 #} |
| 196 | 197 |
| 197 deps = [ | 198 deps = [ |
| 198 ":ipc", | 199 ":ipc", |
| 199 ":test_support", | 200 ":test_support", |
| 200 "//base", | 201 "//base", |
| 201 "//base:i18n", | 202 "//base:i18n", |
| 202 "//base/test:run_all_unittests", | |
| 203 "//base/test:test_support", | 203 "//base/test:test_support", |
| 204 "//crypto", | 204 "//crypto", |
| 205 "//testing/gtest", | 205 "//testing/gtest", |
| 206 ] | 206 ] |
| 207 | 207 |
| 208 if (is_mac) { | 208 if (is_mac) { |
| 209 deps += [ "//sandbox/mac:seatbelt" ] | 209 deps += [ "//sandbox/mac:seatbelt" ] |
| 210 } | 210 } |
| 211 } | 211 } |
| 212 | 212 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 ] | 251 ] |
| 252 public_deps = [ | 252 public_deps = [ |
| 253 ":ipc", | 253 ":ipc", |
| 254 ] | 254 ] |
| 255 deps = [ | 255 deps = [ |
| 256 "//base", | 256 "//base", |
| 257 "//base/test:test_support", | 257 "//base/test:test_support", |
| 258 "//testing/gtest", | 258 "//testing/gtest", |
| 259 ] | 259 ] |
| 260 } | 260 } |
| OLD | NEW |