OLD | NEW |
---|---|
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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//chromecast/chromecast.gni") | 7 import("//chromecast/chromecast.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
153 ":governor", | 153 ":governor", |
154 ] | 154 ] |
155 } | 155 } |
156 | 156 |
157 test("libcast_governor_unittests") { | 157 test("libcast_governor_unittests") { |
158 sources = [ | 158 sources = [ |
159 "post_processors/governor_unittest.cc", | 159 "post_processors/governor_unittest.cc", |
160 ] | 160 ] |
161 deps = [ | 161 deps = [ |
162 ":governor", | 162 ":governor", |
163 ":post_processor_test", | |
163 "//base", | 164 "//base", |
164 "//base/test:run_all_unittests", | |
165 "//media", | 165 "//media", |
166 "//testing/gtest", | 166 "//testing/gtest", |
167 ] | 167 ] |
168 } | 168 } |
169 | 169 |
170 source_set("governor") { | 170 source_set("governor") { |
171 sources = [ | 171 sources = [ |
172 "post_processors/governor.cc", | 172 "post_processors/governor.cc", |
173 "post_processors/governor.h", | 173 "post_processors/governor.h", |
174 ] | 174 ] |
175 deps = [ | 175 deps = [ |
176 ":slew_volume", | 176 ":slew_volume", |
177 "//base", | 177 "//base", |
178 "//chromecast/base", | 178 "//chromecast/base", |
179 "//chromecast/public/media", | 179 "//chromecast/public/media", |
180 ] | 180 ] |
181 public_configs = [ "//chromecast/public:public_config" ] | 181 public_configs = [ "//chromecast/public:public_config" ] |
182 } | 182 } |
183 | |
184 source_set("post_processor_test") { | |
185 testonly = true | |
186 sources = [ | |
187 "post_processors/post_processor_unittest.cc", | |
188 "post_processors/post_processor_unittest.h", | |
189 ] | |
190 deps = [ | |
191 "//base", | |
192 "//base/test:run_all_unittests", | |
slan
2017/06/19 20:50:36
Why link this in at this level? This means that th
bshaya
2017/06/19 21:22:48
Removed run_all_unittests as a dependency here.
T
| |
193 "//chromecast/public/media", | |
194 "//testing/gtest", | |
195 ] | |
196 } | |
OLD | NEW |