| 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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 9 | 9 |
| 10 component("ipc") { | 10 component("ipc") { |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 } | 224 } |
| 225 | 225 |
| 226 if (!is_android) { | 226 if (!is_android) { |
| 227 sources += [ "ipc_channel_unittest.cc" ] | 227 sources += [ "ipc_channel_unittest.cc" ] |
| 228 } | 228 } |
| 229 | 229 |
| 230 if (!is_ios) { | 230 if (!is_ios) { |
| 231 sources += [ "ipc_send_fds_test.cc" ] | 231 sources += [ "ipc_send_fds_test.cc" ] |
| 232 } | 232 } |
| 233 | 233 |
| 234 # TODO(brettw) hook up Android testing. | |
| 235 #if (is_android && gtest_target_type == "shared_library") { | |
| 236 # deps += "/testing/android/native_test.gyp:native_testNative_code" | |
| 237 #} | |
| 238 | |
| 239 deps = [ | 234 deps = [ |
| 240 ":ipc", | 235 ":ipc", |
| 241 ":mojom", | 236 ":mojom", |
| 242 ":run_all_unittests", | 237 ":run_all_unittests", |
| 243 ":test_interfaces", | 238 ":test_interfaces", |
| 244 ":test_support", | 239 ":test_support", |
| 245 "//base", | 240 "//base", |
| 246 "//base:i18n", | 241 "//base:i18n", |
| 247 "//base/test:test_support", | 242 "//base/test:test_support", |
| 248 "//crypto", | 243 "//crypto", |
| 249 "//mojo/edk/system", | 244 "//mojo/edk/system", |
| 250 "//mojo/edk/test:test_support", | 245 "//mojo/edk/test:test_support", |
| 251 "//testing/gtest", | 246 "//testing/gtest", |
| 252 ] | 247 ] |
| 253 | 248 |
| 254 if (is_mac) { | 249 if (is_mac) { |
| 255 deps += [ "//sandbox/mac:seatbelt" ] | 250 deps += [ "//sandbox/mac:seatbelt" ] |
| 256 } | 251 } |
| 257 } | 252 } |
| 258 | 253 |
| 259 test("ipc_perftests") { | 254 test("ipc_perftests") { |
| 260 sources = [ | 255 sources = [ |
| 261 "ipc_mojo_perftest.cc", | 256 "ipc_mojo_perftest.cc", |
| 262 "ipc_perftests.cc", | 257 "ipc_perftests.cc", |
| 263 "run_all_perftests.cc", | 258 "run_all_perftests.cc", |
| 264 ] | 259 ] |
| 265 | 260 |
| 266 # TODO(brettw) hook up Android testing. | |
| 267 #if (is_android && gtest_target_type == "shared_library") { | |
| 268 # deps += "/testing/android/native_test.gyp:native_testNative_code" | |
| 269 #} | |
| 270 | |
| 271 deps = [ | 261 deps = [ |
| 272 ":ipc", | 262 ":ipc", |
| 273 ":test_support", | 263 ":test_support", |
| 274 "//base", | 264 "//base", |
| 275 "//base:i18n", | 265 "//base:i18n", |
| 276 "//base/test:test_support", | 266 "//base/test:test_support", |
| 277 "//mojo/edk/system", | 267 "//mojo/edk/system", |
| 278 "//mojo/edk/test:test_support", | 268 "//mojo/edk/test:test_support", |
| 279 "//testing/gtest", | 269 "//testing/gtest", |
| 280 ] | 270 ] |
| (...skipping 20 matching lines...) Expand all Loading... |
| 301 public_deps = [ | 291 public_deps = [ |
| 302 ":ipc", | 292 ":ipc", |
| 303 ] | 293 ] |
| 304 deps = [ | 294 deps = [ |
| 305 "//base", | 295 "//base", |
| 306 "//base/test:test_support", | 296 "//base/test:test_support", |
| 307 "//testing/gtest", | 297 "//testing/gtest", |
| 308 ] | 298 ] |
| 309 } | 299 } |
| 310 } | 300 } |
| OLD | NEW |