1# Copyright 2016 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//testing/test.gni")
6
7source_set("ports") {
8  sources = [
9    "event.cc",
10    "event.h",
11    "message.cc",
12    "message.h",
13    "message_queue.cc",
14    "message_queue.h",
15    "name.cc",
16    "name.h",
17    "node.cc",
18    "node.h",
19    "node_delegate.h",
20    "port.cc",
21    "port.h",
22    "port_ref.cc",
23    "user_data.h",
24  ]
25
26  public_deps = [
27    "//base",
28  ]
29}
30
31source_set("tests") {
32  testonly = true
33
34  sources = [
35    "ports_unittest.cc",
36  ]
37
38  deps = [
39    ":ports",
40    "//base",
41    "//base/test:test_support",
42    "//testing/gtest",
43  ]
44}
45