Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Unified Diff: components/cast_channel/BUILD.gn

Issue 2913033003: [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cast_channel/BUILD.gn
diff --git a/components/cast_channel/BUILD.gn b/components/cast_channel/BUILD.gn
index ef44a6e87358ea7a760ca231e2da180290d484b9..927bf0779591b2578d4892c27765f7aae2fa3fb8 100644
--- a/components/cast_channel/BUILD.gn
+++ b/components/cast_channel/BUILD.gn
@@ -1,13 +1,74 @@
-# Copyright 2017 The Chromium Authors. All rights reserved.
+# Copyright 2016 The Chromium Authors. All rights reserved.
mark a. foltz 2017/06/01 21:26:35 2017
zhaobin 2017/06/01 22:00:37 Done.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("cast_channel") {
sources = [
+ "cast_auth_util.cc",
+ "cast_auth_util.h",
"cast_channel_enum.cc",
"cast_channel_enum.h",
+ "cast_framer.cc",
+ "cast_framer.h",
+ "cast_message_util.cc",
+ "cast_message_util.h",
+ "cast_socket.cc",
+ "cast_socket.h",
+ "cast_socket_service.cc",
+ "cast_socket_service.h",
+ "cast_socket_service_factory.cc",
+ "cast_socket_service_factory.h",
+ "cast_transport.cc",
+ "cast_transport.h",
+ "keep_alive_delegate.cc",
+ "keep_alive_delegate.h",
+ "logger.cc",
+ "logger.h",
]
deps = [
"//base",
+ "//components/cast_certificate",
+ "//components/cast_channel/proto:cast_channel_proto",
+ "//content/public/browser",
+ "//crypto",
+ "//net",
+ ]
+}
+
+static_library("test_support") {
+ testonly = true
+ sources = [
+ "cast_test_util.cc",
+ "cast_test_util.h",
+ ]
+ deps = [
+ ":cast_channel",
+ "//base",
+ "//components/cast_channel/proto:cast_channel_proto",
+ "//net",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "cast_auth_util_unittest.cc",
+ "cast_framer_unittest.cc",
+ "cast_socket_service_unittest.cc",
+ "cast_socket_unittest.cc",
+ "cast_transport_unittest.cc",
+ "keep_alive_delegate_unittest.cc",
+ "logger_unittest.cc",
+ ]
+ deps = [
+ ":cast_channel",
+ ":test_support",
+ "//base",
+ "//components/cast_channel/proto:cast_channel_proto",
+ "//net",
+ "//testing/gmock",
+ "//testing/gtest",
]
}
« no previous file with comments | « components/BUILD.gn ('k') | components/cast_channel/DEPS » ('j') | components/cast_channel/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698