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_filter.h", 14 "message_queue.cc", 15 "message_queue.h", 16 "name.cc", 17 "name.h", 18 "node.cc", 19 "node.h", 20 "node_delegate.h", 21 "port.cc", 22 "port.h", 23 "port_ref.cc", 24 "user_data.h", 25 ] 26 27 public_deps = [ 28 "//base", 29 ] 30} 31 32source_set("tests") { 33 testonly = true 34 35 sources = [ 36 "ports_unittest.cc", 37 ] 38 39 deps = [ 40 ":ports", 41 "//base", 42 "//base/test:test_support", 43 "//testing/gtest", 44 ] 45} 46