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

Side by Side 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: Chunkier CL Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 #
5 import("//testing/test.gni")
6
7 source_set("router") {
8 deps = [
9 "//base",
10 ]
11 sources = [
12 "media_cast_mode.cc",
13 "media_cast_mode.h",
14 "media_controller.cc",
15 "media_controller.h",
16 "media_controller_impl.cc",
17 "media_controller_impl.h",
18 "media_route.cc",
19 "media_route.h",
20 "media_route_id.h",
21 "media_sink.cc",
22 "media_sink.h",
23 "media_source.cc",
24 "media_source.h",
25 ]
26 }
27
28 source_set("unit_tests") {
29 testonly = true
30 deps = [
31 ":router",
32 "//base/test:test_support",
33 "//testing/gmock",
34 "//testing/gtest",
35 ]
36 sources = [
37 "media_controller_impl_unittest.cc",
38 "media_route_unittest.cc",
39 "media_sink_unittest.cc",
40 "media_source_unittest.cc",
41 ]
42 }
43
44 # Optional standalone test binary, for faster isolated builds.
45 test("unit_tests_main") {
46 deps = [
47 ":unit_tests",
48 "//testing/gmock:gmock_main",
49 ]
50 sources = [
51 ":unittest_files",
52 ]
53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698