OLD | NEW |
(Empty) | |
| 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 |
| 5 import("//third_party/protobuf/proto_library.gni") |
| 6 import("//testing/test.gni") |
| 7 |
| 8 proto_library("media_remoting_proto") { |
| 9 proto_out_dir = "media/remoting" |
| 10 sources = [ |
| 11 "proto/remoting_rpc_message.proto", |
| 12 ] |
| 13 } |
| 14 |
| 15 source_set("rpc") { |
| 16 sources = [ |
| 17 "rpc/decoder_buffer_segment.cc", |
| 18 "rpc/decoder_buffer_segment.h", |
| 19 "rpc/rpc.cc", |
| 20 "rpc/rpc.h", |
| 21 ] |
| 22 |
| 23 deps = [ |
| 24 "//base", |
| 25 ] |
| 26 |
| 27 public_deps = [ |
| 28 ":media_remoting_proto", |
| 29 ] |
| 30 } |
| 31 |
| 32 test("media_remoting_unittests") { |
| 33 sources = [ |
| 34 "rpc/decoder_buffer_segment_unittest.cc", |
| 35 "rpc/rpc_unittest.cc", |
| 36 ] |
| 37 |
| 38 deps = [ |
| 39 ":rpc", |
| 40 "//base", |
| 41 "//base/test:run_all_unittests", |
| 42 "//base/test:test_support", |
| 43 "//media", |
| 44 "//testing/gmock", |
| 45 "//testing/gtest", |
| 46 "//ui/gfx:test_support", |
| 47 "//ui/gfx/geometry", |
| 48 ] |
| 49 } |
OLD | NEW |