summaryrefslogtreecommitdiff
path: root/mojo/public/cpp/system/tests/BUILD.gn
blob: c08f3c1099ecf3815bf44c3ce7a5805434eb7849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("tests") {
  testonly = true

  sources = [
    "core_unittest.cc",
    "data_pipe_drainer_unittest.cc",
    "file_data_pipe_producer_unittest.cc",
    "handle_signal_tracker_unittest.cc",
    "handle_signals_state_unittest.cc",
    "scope_to_message_pipe_unittest.cc",
    "simple_watcher_unittest.cc",
    "string_data_pipe_producer_unittest.cc",
    "wait_set_unittest.cc",
    "wait_unittest.cc",
  ]

  if (!is_ios) {
    sources += [ "invitation_unittest.cc" ]
  }

  deps = [
    "//base",
    "//base/test:test_support",
    "//mojo/core/test:test_support",
    "//mojo/public/c/system/tests",
    "//mojo/public/cpp/platform",
    "//mojo/public/cpp/system",
    "//mojo/public/cpp/test_support:test_utils",
    "//testing/gtest",
  ]
}