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

Unified Diff: chrome/browser/media/router/BUILD.gn

Issue 949293004: Add media router common classes and unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring GN files up to date. Created 5 years, 9 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 | « BUILD.gn ('k') | chrome/browser/media/router/media_route.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/BUILD.gn
diff --git a/chrome/browser/media/router/BUILD.gn b/chrome/browser/media/router/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..81bc6a87204a90b24e644f05ed720991c3ce647d
--- /dev/null
+++ b/chrome/browser/media/router/BUILD.gn
@@ -0,0 +1,52 @@
+# Copyright 2015 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("//testing/test.gni")
+
+source_set("router") {
+ deps = [
+ "//base",
+ "//url",
+ ]
+ sources = [
+ "media_route.cc",
+ "media_route.h",
+ "media_route_id.h",
+ "media_sink.cc",
+ "media_sink.h",
+ "media_source.cc",
+ "media_source.h",
+ "media_source_helper.cc",
+ "media_source_helper.h",
+ "route_id_manager.cc",
+ "route_id_manager.h",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ deps = [
+ ":router",
+ "//base/test:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+ sources = [
+ "media_route_unittest.cc",
+ "media_sink_unittest.cc",
+ "media_source_unittest.cc",
+ "route_id_manager_unittest.cc",
+ ]
+}
+
+# Optional standalone test binary, for faster isolated builds.
+test("unit_tests_main") {
+ deps = [
+ ":unit_tests",
+ "//testing/gmock:gmock_main",
+ ]
+ sources = [
+ ":unittest_files",
+ ]
+}
« no previous file with comments | « BUILD.gn ('k') | chrome/browser/media/router/media_route.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698