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