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

Side by Side Diff: media/audio/BUILD.gn

Issue 1666363005: Switching audio clients to using RestartableAudioRendererSink interface as a sink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 7
8 # When libpulse is not directly linked, use stubs to allow for dlopening of the 8 # When libpulse is not directly linked, use stubs to allow for dlopening of the
9 # binary. 9 # binary.
10 if (!link_pulseaudio) { 10 if (!link_pulseaudio) {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 } 259 }
260 } 260 }
261 261
262 source_set("test_support") { 262 source_set("test_support") {
263 testonly = true 263 testonly = true
264 sources = [ 264 sources = [
265 "audio_unittest_util.cc", 265 "audio_unittest_util.cc",
266 "audio_unittest_util.h", 266 "audio_unittest_util.h",
267 "mock_audio_manager.cc", 267 "mock_audio_manager.cc",
268 "mock_audio_manager.h", 268 "mock_audio_manager.h",
269 "mock_audio_output_ipc.cc",
270 "mock_audio_output_ipc.h",
269 "mock_audio_source_callback.cc", 271 "mock_audio_source_callback.cc",
270 "mock_audio_source_callback.h", 272 "mock_audio_source_callback.h",
273 "mock_render_callback.cc",
274 "mock_render_callback.h",
271 "test_audio_input_controller_factory.cc", 275 "test_audio_input_controller_factory.cc",
272 "test_audio_input_controller_factory.h", 276 "test_audio_input_controller_factory.h",
273 ] 277 ]
274 configs += [ ":platform_config" ] 278 configs += [ ":platform_config" ]
275 deps = [ 279 deps = [
276 "//testing/gmock", 280 "//testing/gmock",
277 ] 281 ]
278 configs += [ "//media:media_config" ] 282 configs += [ "//media:media_config" ]
279 } 283 }
280 284
281 source_set("unittests") { 285 source_set("unittests") {
282 testonly = true 286 testonly = true
283 sources = [ 287 sources = [
284 "audio_input_controller_unittest.cc", 288 "audio_input_controller_unittest.cc",
285 "audio_input_unittest.cc", 289 "audio_input_unittest.cc",
286 "audio_manager_factory_unittest.cc", 290 "audio_manager_factory_unittest.cc",
287 "audio_manager_unittest.cc", 291 "audio_manager_unittest.cc",
288 "audio_output_controller_unittest.cc", 292 "audio_output_controller_unittest.cc",
289 "audio_output_device_unittest.cc", 293 "audio_output_device_unittest.cc",
290 "audio_output_proxy_unittest.cc", 294 "audio_output_proxy_unittest.cc",
291 "audio_parameters_unittest.cc", 295 "audio_parameters_unittest.cc",
292 "audio_power_monitor_unittest.cc", 296 "audio_power_monitor_unittest.cc",
293 "audio_streams_tracker_unittest.cc", 297 "audio_streams_tracker_unittest.cc",
294 "fake_audio_worker_unittest.cc", 298 "fake_audio_worker_unittest.cc",
295 "point_unittest.cc", 299 "point_unittest.cc",
300 "restarteble_audio_output_device_impl_unittest.cc",
296 "simple_sources_unittest.cc", 301 "simple_sources_unittest.cc",
297 "virtual_audio_input_stream_unittest.cc", 302 "virtual_audio_input_stream_unittest.cc",
298 "virtual_audio_output_stream_unittest.cc", 303 "virtual_audio_output_stream_unittest.cc",
299 ] 304 ]
300 deps = [ 305 deps = [
301 ":test_support", 306 ":test_support",
302 "//media/base:test_support", 307 "//media/base:test_support",
303 "//testing/gmock", 308 "//testing/gmock",
304 "//testing/gtest", 309 "//testing/gtest",
305 "//url", 310 "//url",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 ] 356 ]
352 } 357 }
353 358
354 if (use_alsa) { 359 if (use_alsa) {
355 sources += [ 360 sources += [
356 "alsa/alsa_output_unittest.cc", 361 "alsa/alsa_output_unittest.cc",
357 "audio_low_latency_input_output_unittest.cc", 362 "audio_low_latency_input_output_unittest.cc",
358 ] 363 ]
359 } 364 }
360 } 365 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698