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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ":alsa_cma_backend", | 127 ":alsa_cma_backend", |
128 ] | 128 ] |
129 | 129 |
130 deps = [ | 130 deps = [ |
131 "//base", | 131 "//base", |
132 "//media", | 132 "//media", |
133 "//testing/gmock", | 133 "//testing/gmock", |
134 ] | 134 ] |
135 } | 135 } |
136 | 136 |
| 137 test("slew_volume_unittests") { |
| 138 sources = [ |
| 139 "slew_volume_unittests.cc", |
| 140 ] |
| 141 deps = [ |
| 142 ":slew_volume", |
| 143 "//base", |
| 144 "//base/test:run_all_unittests", |
| 145 "//media", |
| 146 "//testing/gtest", |
| 147 ] |
| 148 } |
| 149 |
137 shared_library("libcast_governor_1.0") { | 150 shared_library("libcast_governor_1.0") { |
| 151 deps = [ |
| 152 ":governor", |
| 153 ] |
| 154 } |
| 155 |
| 156 test("libcast_governor_unittests") { |
138 sources = [ | 157 sources = [ |
139 "post_processors/governor_shlib.cc", | 158 "post_processors/governor_unittest.cc", |
140 ] | 159 ] |
| 160 deps = [ |
| 161 ":governor", |
| 162 "//base", |
| 163 "//base/test:run_all_unittests", |
| 164 "//media", |
| 165 "//testing/gtest", |
| 166 ] |
| 167 } |
141 | 168 |
| 169 source_set("governor") { |
| 170 sources = [ |
| 171 "post_processors/governor.cc", |
| 172 "post_processors/governor.h", |
| 173 ] |
142 deps = [ | 174 deps = [ |
143 ":slew_volume", | 175 ":slew_volume", |
144 "//base", | 176 "//base", |
145 "//chromecast/base", | 177 "//chromecast/base", |
146 "//chromecast/public/media", | 178 "//chromecast/public/media", |
147 ] | 179 ] |
| 180 public_configs = [ "//chromecast/public:public_config" ] |
148 } | 181 } |
OLD | NEW |