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_support", |
163 "//base", | 164 "//base", |
164 "//base/test:run_all_unittests", | 165 "//base/test:run_all_unittests", |
165 "//media", | 166 "//media", |
166 "//testing/gtest", | 167 "//testing/gtest", |
167 ] | 168 ] |
168 } | 169 } |
169 | 170 |
170 source_set("governor") { | 171 source_set("governor") { |
171 sources = [ | 172 sources = [ |
172 "post_processors/governor.cc", | 173 "post_processors/governor.cc", |
173 "post_processors/governor.h", | 174 "post_processors/governor.h", |
174 ] | 175 ] |
175 deps = [ | 176 deps = [ |
176 ":slew_volume", | 177 ":slew_volume", |
177 "//base", | 178 "//base", |
178 "//chromecast/base", | 179 "//chromecast/base", |
179 "//chromecast/public/media", | 180 "//chromecast/public/media", |
180 ] | 181 ] |
181 public_configs = [ "//chromecast/public:public_config" ] | 182 public_configs = [ "//chromecast/public:public_config" ] |
182 } | 183 } |
| 184 |
| 185 source_set("post_processor_test_support") { |
| 186 testonly = true |
| 187 sources = [ |
| 188 "post_processors/post_processor_unittest.cc", |
| 189 "post_processors/post_processor_unittest.h", |
| 190 ] |
| 191 deps = [ |
| 192 "//base", |
| 193 "//chromecast/public/media", |
| 194 "//testing/gtest", |
| 195 ] |
| 196 } |
OLD | NEW |