OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("ports") { | 7 source_set("ports") { |
8 sources = [ | 8 sources = [ |
9 "event.cc", | 9 "event.cc", |
10 "event.h", | 10 "event.h", |
11 "message.cc", | 11 "message.cc", |
12 "message.h", | 12 "message.h", |
13 "message_filter.h", | 13 "message_filter.h", |
14 "message_queue.cc", | 14 "message_queue.cc", |
15 "message_queue.h", | 15 "message_queue.h", |
16 "name.cc", | 16 "name.cc", |
17 "name.h", | 17 "name.h", |
18 "node.cc", | 18 "node.cc", |
19 "node.h", | 19 "node.h", |
20 "node_delegate.h", | 20 "node_delegate.h", |
21 "port.cc", | 21 "port.cc", |
22 "port.h", | 22 "port.h", |
23 "port_ref.cc", | 23 "port_ref.cc", |
| 24 "port_ref.h", |
24 "user_data.h", | 25 "user_data.h", |
25 ] | 26 ] |
26 | 27 |
27 public_deps = [ | 28 public_deps = [ |
28 "//base", | 29 "//base", |
29 ] | 30 ] |
30 } | 31 } |
31 | 32 |
32 source_set("tests") { | 33 source_set("tests") { |
33 testonly = true | 34 testonly = true |
34 | 35 |
35 sources = [ | 36 sources = [ |
36 "ports_unittest.cc", | 37 "ports_unittest.cc", |
37 ] | 38 ] |
38 | 39 |
39 deps = [ | 40 deps = [ |
40 ":ports", | 41 ":ports", |
41 "//base", | 42 "//base", |
42 "//base/test:test_support", | 43 "//base/test:test_support", |
43 "//testing/gtest", | 44 "//testing/gtest", |
44 ] | 45 ] |
45 } | 46 } |
OLD | NEW |