| 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 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
| 7 | 7 |
| 8 proto_library("media_remoting_proto") { | 8 proto_library("media_remoting_proto") { |
| 9 proto_out_dir = "media/remoting" | 9 proto_out_dir = "media/remoting" |
| 10 sources = [ | 10 sources = [ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 "//base", | 24 "//base", |
| 25 ] | 25 ] |
| 26 | 26 |
| 27 public_deps = [ | 27 public_deps = [ |
| 28 ":media_remoting_proto", | 28 ":media_remoting_proto", |
| 29 ] | 29 ] |
| 30 } | 30 } |
| 31 | 31 |
| 32 source_set("remoting") { | 32 source_set("remoting") { |
| 33 sources = [ | 33 sources = [ |
| 34 "remoting_controller.cc", | 34 "remoting_cdm.cc", |
| 35 "remoting_controller.h", | 35 "remoting_cdm.h", |
| 36 "remoting_cdm_controller.cc", |
| 37 "remoting_cdm_controller.h", |
| 38 "remoting_cdm_factory.cc", |
| 39 "remoting_cdm_factory.h", |
| 40 "remoting_renderer_controller.cc", |
| 41 "remoting_renderer_controller.h", |
| 36 "remoting_renderer_factory.cc", | 42 "remoting_renderer_factory.cc", |
| 37 "remoting_renderer_factory.h", | 43 "remoting_renderer_factory.h", |
| 44 "remoting_source_impl.cc", |
| 45 "remoting_source_impl.h", |
| 38 ] | 46 ] |
| 39 deps = [ | 47 deps = [ |
| 40 "//base", | 48 "//base", |
| 41 "//media", | 49 "//media", |
| 42 "//media/mojo/interfaces:remoting", | 50 "//media/mojo/interfaces:remoting", |
| 43 ] | 51 ] |
| 44 } | 52 } |
| 45 | 53 |
| 46 source_set("media_remoting_tests") { | 54 source_set("media_remoting_tests") { |
| 47 testonly = true | 55 testonly = true |
| 48 sources = [ | 56 sources = [ |
| 49 "remoting_controller_unittest.cc", | 57 "remoting_renderer_controller_unittest.cc", |
| 50 "rpc/proto_utils_unittest.cc", | 58 "rpc/proto_utils_unittest.cc", |
| 51 ] | 59 ] |
| 52 | 60 |
| 53 deps = [ | 61 deps = [ |
| 54 ":remoting", | 62 ":remoting", |
| 55 ":rpc", | 63 ":rpc", |
| 56 "//base", | 64 "//base", |
| 57 "//base/test:test_support", | 65 "//base/test:test_support", |
| 58 "//media", | 66 "//media", |
| 59 "//media/mojo/interfaces:remoting", | 67 "//media/mojo/interfaces:remoting", |
| 60 "//testing/gmock", | 68 "//testing/gmock", |
| 61 "//testing/gtest", | 69 "//testing/gtest", |
| 62 "//ui/gfx:test_support", | 70 "//ui/gfx:test_support", |
| 63 "//ui/gfx/geometry", | 71 "//ui/gfx/geometry", |
| 72 "//url", |
| 64 ] | 73 ] |
| 65 } | 74 } |
| 66 | 75 |
| 67 test("media_remoting_unittests") { | 76 test("media_remoting_unittests") { |
| 68 deps = [ | 77 deps = [ |
| 69 ":media_remoting_tests", | 78 ":media_remoting_tests", |
| 70 "//media/test:run_all_unittests", | 79 "//media/test:run_all_unittests", |
| 71 ] | 80 ] |
| 72 } | 81 } |
| OLD | NEW |