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

Side by Side Diff: chrome/browser/media/router/BUILD.gn

Issue 2143253002: Convert test_support source sets to static libs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android Created 4 years, 5 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 # 4 #
5 5
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 static_library("router") { 9 static_library("router") {
10 deps = [ 10 deps = [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ] 76 ]
77 } 77 }
78 } 78 }
79 79
80 mojom("mojo_bindings") { 80 mojom("mojo_bindings") {
81 sources = [ 81 sources = [
82 "mojo/media_router.mojom", 82 "mojo/media_router.mojom",
83 ] 83 ]
84 } 84 }
85 85
86 source_set("test_support") { 86 static_library("test_support") {
87 testonly = true 87 testonly = true
88 deps = [ 88 deps = [
89 ":router", 89 ":router",
90 "//chrome/test:test_support", 90 "//chrome/test:test_support",
91 "//testing/gmock", 91 "//testing/gmock",
92 ] 92 ]
93 sources = [ 93 sources = [
94 "mock_media_router.cc", 94 "mock_media_router.cc",
95 "mock_media_router.h", 95 "mock_media_router.h",
96 "mock_screen_availability_listener.cc", 96 "mock_screen_availability_listener.cc",
97 "mock_screen_availability_listener.h", 97 "mock_screen_availability_listener.h",
98 "test_helper.cc", 98 "test_helper.cc",
99 "test_helper.h", 99 "test_helper.h",
100 ] 100 ]
101 101
102 if (!is_android) { 102 if (!is_android) {
103 deps += [ 103 deps += [
104 ":mojo_bindings", 104 ":mojo_bindings",
105 "//extensions/common", 105 "//extensions/common",
106 ] 106 ]
107 sources += [ 107 sources += [
108 "mojo/media_router_mojo_test.cc", 108 "mojo/media_router_mojo_test.cc",
109 "mojo/media_router_mojo_test.h", 109 "mojo/media_router_mojo_test.h",
110 ] 110 ]
111 } 111 }
112 } 112 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698