Index: media/remoting/BUILD.gn |
diff --git a/media/remoting/BUILD.gn b/media/remoting/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..849699018195594b5e7c22ef214fda8b92c1c66c |
--- /dev/null |
+++ b/media/remoting/BUILD.gn |
@@ -0,0 +1,49 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//third_party/protobuf/proto_library.gni") |
+import("//testing/test.gni") |
+ |
+proto_library("media_remoting_proto") { |
+ proto_out_dir = "media/remoting" |
+ sources = [ |
+ "proto/remoting_rpc_message.proto", |
+ ] |
+} |
+ |
+source_set("rpc") { |
+ sources = [ |
+ "rpc/decoder_buffer_segment.cc", |
+ "rpc/decoder_buffer_segment.h", |
+ "rpc/rpc.cc", |
+ "rpc/rpc.h", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ ] |
+ |
+ public_deps = [ |
+ ":media_remoting_proto", |
+ ] |
+} |
+ |
+test("media_remoting_unittests") { |
+ sources = [ |
+ "rpc/decoder_buffer_segment_unittest.cc", |
+ "rpc/rpc_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":rpc", |
+ "//base", |
+ "//base/test:run_all_unittests", |
+ "//base/test:test_support", |
+ "//media", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//ui/gfx:test_support", |
+ "//ui/gfx/geometry", |
+ ] |
+} |