| 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.h", | 10 "event.h", |
| 10 "hash_functions.h", | 11 "hash_functions.h", |
| 11 "message.cc", | 12 "message.cc", |
| 12 "message.h", | 13 "message.h", |
| 13 "message_queue.cc", | 14 "message_queue.cc", |
| 14 "message_queue.h", | 15 "message_queue.h", |
| 15 "name.cc", | 16 "name.cc", |
| 16 "name.h", | 17 "name.h", |
| 17 "node.cc", | 18 "node.cc", |
| 18 "node.h", | 19 "node.h", |
| 19 "node_delegate.h", | 20 "node_delegate.h", |
| 20 "port.cc", | 21 "port.cc", |
| 21 "port.h", | 22 "port.h", |
| 22 "port_ref.cc", | 23 "port_ref.cc", |
| 23 "user_data.h", | 24 "user_data.h", |
| 24 ] | 25 ] |
| 25 | 26 |
| 26 public_deps = [ | 27 public_deps = [ |
| 27 "//base", | 28 "//base", |
| 28 "//mojo/public/c/system", | |
| 29 ] | 29 ] |
| 30 } | 30 } |
| 31 | 31 |
| 32 test("mojo_system_ports_unittests") { | 32 test("mojo_system_ports_unittests") { |
| 33 sources = [ | 33 sources = [ |
| 34 "ports_unittest.cc", | 34 "ports_unittest.cc", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 deps = [ | 37 deps = [ |
| 38 ":ports", | 38 ":ports", |
| 39 "//base", | 39 "//base", |
| 40 "//base/test:run_all_unittests", |
| 40 "//base/test:test_support", | 41 "//base/test:test_support", |
| 41 "//mojo/edk/test:run_all_unittests", | |
| 42 "//testing/gtest", | 42 "//testing/gtest", |
| 43 ] | 43 ] |
| 44 } | 44 } |
| OLD | NEW |