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

Unified Diff: components/cast_channel/BUILD.gn

Issue 2913033003: [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: fix buildbot compile errors Created 3 years, 6 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
« no previous file with comments | « components/BUILD.gn ('k') | components/cast_channel/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/BUILD.gn
diff --git a/components/cast_channel/BUILD.gn b/components/cast_channel/BUILD.gn
index ef44a6e87358ea7a760ca231e2da180290d484b9..71f791ed1be20e2950bb92eadca09706922d0888 100644
--- a/components/cast_channel/BUILD.gn
+++ b/components/cast_channel/BUILD.gn
@@ -4,10 +4,77 @@
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",
+ "//components/keyed_service/content",
+ "//components/keyed_service/core",
+ "//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/test:test_support",
+ "//components/cast_certificate",
+ "//components/cast_certificate:test_support",
+ "//components/cast_certificate/proto:unittest_proto",
+ "//components/cast_channel/proto:cast_channel_proto",
+ "//content/test:test_support",
+ "//net:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
]
}
« no previous file with comments | « components/BUILD.gn ('k') | components/cast_channel/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698