OLD | NEW |
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 configs += [ ":platform_config" ] | 291 configs += [ ":platform_config" ] |
292 deps = [ | 292 deps = [ |
293 "//base", | 293 "//base", |
294 "//media", | 294 "//media", |
295 "//testing/gmock", | 295 "//testing/gmock", |
296 "//testing/gtest", | 296 "//testing/gtest", |
297 ] | 297 ] |
298 configs += [ "//media:media_config" ] | 298 configs += [ "//media:media_config" ] |
299 } | 299 } |
300 | 300 |
301 source_set("unittests") { | 301 source_set("unit_tests") { |
302 testonly = true | 302 testonly = true |
303 sources = [ | 303 sources = [ |
304 "audio_input_controller_unittest.cc", | 304 "audio_input_controller_unittest.cc", |
305 "audio_input_unittest.cc", | 305 "audio_input_unittest.cc", |
306 "audio_manager_unittest.cc", | 306 "audio_manager_unittest.cc", |
307 "audio_output_controller_unittest.cc", | 307 "audio_output_controller_unittest.cc", |
308 "audio_output_device_unittest.cc", | 308 "audio_output_device_unittest.cc", |
309 "audio_output_proxy_unittest.cc", | 309 "audio_output_proxy_unittest.cc", |
310 "audio_power_monitor_unittest.cc", | 310 "audio_power_monitor_unittest.cc", |
311 "audio_streams_tracker_unittest.cc", | 311 "audio_streams_tracker_unittest.cc", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 ] | 375 ] |
376 } | 376 } |
377 | 377 |
378 if (use_alsa) { | 378 if (use_alsa) { |
379 sources += [ | 379 sources += [ |
380 "alsa/alsa_output_unittest.cc", | 380 "alsa/alsa_output_unittest.cc", |
381 "audio_low_latency_input_output_unittest.cc", | 381 "audio_low_latency_input_output_unittest.cc", |
382 ] | 382 ] |
383 } | 383 } |
384 } | 384 } |
OLD | NEW |