| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 libs += [ "dl" ] | 241 libs += [ "dl" ] |
| 242 deps += [ ":pulse_generate_stubs" ] | 242 deps += [ ":pulse_generate_stubs" ] |
| 243 sources += get_target_outputs(":pulse_generate_stubs") | 243 sources += get_target_outputs(":pulse_generate_stubs") |
| 244 } | 244 } |
| 245 } | 245 } |
| 246 } | 246 } |
| 247 | 247 |
| 248 source_set("test_support") { | 248 source_set("test_support") { |
| 249 testonly = true | 249 testonly = true |
| 250 sources = [ | 250 sources = [ |
| 251 "audio_unittest_util.cc", |
| 252 "audio_unittest_util.h", |
| 251 "mock_audio_manager.cc", | 253 "mock_audio_manager.cc", |
| 252 "mock_audio_manager.h", | 254 "mock_audio_manager.h", |
| 253 "mock_audio_source_callback.cc", | 255 "mock_audio_source_callback.cc", |
| 254 "mock_audio_source_callback.h", | 256 "mock_audio_source_callback.h", |
| 255 "test_audio_input_controller_factory.cc", | 257 "test_audio_input_controller_factory.cc", |
| 256 "test_audio_input_controller_factory.h", | 258 "test_audio_input_controller_factory.h", |
| 257 ] | 259 ] |
| 258 deps = [ | 260 deps = [ |
| 259 "//testing/gmock", | 261 "//testing/gmock", |
| 260 ] | 262 ] |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 ] | 327 ] |
| 326 } | 328 } |
| 327 | 329 |
| 328 if (use_alsa) { | 330 if (use_alsa) { |
| 329 sources += [ | 331 sources += [ |
| 330 "alsa/alsa_output_unittest.cc", | 332 "alsa/alsa_output_unittest.cc", |
| 331 "audio_low_latency_input_output_unittest.cc", | 333 "audio_low_latency_input_output_unittest.cc", |
| 332 ] | 334 ] |
| 333 } | 335 } |
| 334 } | 336 } |
| OLD | NEW |