| 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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
| 6 | 6 |
| 7 # When libpulse is not directly linked, use stubs to allow for dlopening of the | 7 # When libpulse is not directly linked, use stubs to allow for dlopening of the |
| 8 # binary. | 8 # binary. |
| 9 if (!linux_link_pulseaudio) { | 9 if (!linux_link_pulseaudio) { |
| 10 action("pulse_generate_stubs") { | 10 action("pulse_generate_stubs") { |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 } else { | 229 } else { |
| 230 # TODO(ajwong): Technically, this dl should go in the action. | 230 # TODO(ajwong): Technically, this dl should go in the action. |
| 231 libs += [ "dl" ] | 231 libs += [ "dl" ] |
| 232 deps += [ ":pulse_generate_stubs" ] | 232 deps += [ ":pulse_generate_stubs" ] |
| 233 sources += get_target_outputs(":pulse_generate_stubs") | 233 sources += get_target_outputs(":pulse_generate_stubs") |
| 234 } | 234 } |
| 235 } | 235 } |
| 236 } | 236 } |
| 237 | 237 |
| 238 source_set("test_support") { | 238 source_set("test_support") { |
| 239 testonly = true |
| 239 sources = [ | 240 sources = [ |
| 240 "clockless_audio_sink.cc", | 241 "clockless_audio_sink.cc", |
| 241 "clockless_audio_sink.h", | 242 "clockless_audio_sink.h", |
| 242 "mock_audio_manager.cc", | 243 "mock_audio_manager.cc", |
| 243 "mock_audio_manager.h", | 244 "mock_audio_manager.h", |
| 244 "mock_audio_source_callback.cc", | 245 "mock_audio_source_callback.cc", |
| 245 "mock_audio_source_callback.h", | 246 "mock_audio_source_callback.h", |
| 246 "test_audio_input_controller_factory.cc", | 247 "test_audio_input_controller_factory.cc", |
| 247 "test_audio_input_controller_factory.h", | 248 "test_audio_input_controller_factory.h", |
| 248 ] | 249 ] |
| 249 deps = [ "//testing/gmock" ] | 250 deps = [ "//testing/gmock" ] |
| 250 configs += [ "//media:media_config" ] | 251 configs += [ "//media:media_config" ] |
| 251 } | 252 } |
| 252 | 253 |
| 253 source_set("unittests") { | 254 source_set("unittests") { |
| 255 testonly = true |
| 254 sources = [ | 256 sources = [ |
| 255 "audio_input_controller_unittest.cc", | 257 "audio_input_controller_unittest.cc", |
| 256 "audio_input_unittest.cc", | 258 "audio_input_unittest.cc", |
| 257 "audio_low_latency_input_output_unittest.cc", | 259 "audio_low_latency_input_output_unittest.cc", |
| 258 "audio_manager_unittest.cc", | 260 "audio_manager_unittest.cc", |
| 259 "audio_output_controller_unittest.cc", | 261 "audio_output_controller_unittest.cc", |
| 260 "audio_output_device_unittest.cc", | 262 "audio_output_device_unittest.cc", |
| 261 "audio_output_proxy_unittest.cc", | 263 "audio_output_proxy_unittest.cc", |
| 262 "audio_parameters_unittest.cc", | 264 "audio_parameters_unittest.cc", |
| 263 "audio_power_monitor_unittest.cc", | 265 "audio_power_monitor_unittest.cc", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 "win/core_audio_util_win_unittest.cc", | 319 "win/core_audio_util_win_unittest.cc", |
| 318 ] | 320 ] |
| 319 } | 321 } |
| 320 | 322 |
| 321 if (use_alsa) { | 323 if (use_alsa) { |
| 322 sources += [ | 324 sources += [ |
| 323 "alsa/alsa_output_unittest.cc", | 325 "alsa/alsa_output_unittest.cc", |
| 324 ] | 326 ] |
| 325 } | 327 } |
| 326 } | 328 } |
| OLD | NEW |