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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 "fake_audio_consumer_unittest.cc", | 279 "fake_audio_consumer_unittest.cc", |
280 "simple_sources_unittest.cc", | 280 "simple_sources_unittest.cc", |
281 "virtual_audio_input_stream_unittest.cc", | 281 "virtual_audio_input_stream_unittest.cc", |
282 "virtual_audio_output_stream_unittest.cc", | 282 "virtual_audio_output_stream_unittest.cc", |
283 ] | 283 ] |
284 deps = [ | 284 deps = [ |
285 ":test_support", | 285 ":test_support", |
286 "//testing/gmock", | 286 "//testing/gmock", |
287 "//testing/gtest", | 287 "//testing/gtest", |
288 ] | 288 ] |
289 configs += [ "//media:media_config" ] | 289 |
| 290 configs += [ |
| 291 "//build/config/compiler:no_size_t_to_int_warning", |
| 292 "//media:media_config", |
| 293 ] |
290 | 294 |
291 if (is_android) { | 295 if (is_android) { |
292 sources += [ "android/audio_android_unittest.cc" ] | 296 sources += [ "android/audio_android_unittest.cc" ] |
293 } else { | 297 } else { |
294 sources += [ "audio_input_volume_unittest.cc" ] | 298 sources += [ "audio_input_volume_unittest.cc" ] |
295 } | 299 } |
296 | 300 |
297 if (is_mac) { | 301 if (is_mac) { |
298 sources += [ | 302 sources += [ |
299 "mac/audio_auhal_mac_unittest.cc", | 303 "mac/audio_auhal_mac_unittest.cc", |
(...skipping 29 matching lines...) Expand all Loading... |
329 ] | 333 ] |
330 } | 334 } |
331 | 335 |
332 if (use_alsa) { | 336 if (use_alsa) { |
333 sources += [ | 337 sources += [ |
334 "alsa/alsa_output_unittest.cc", | 338 "alsa/alsa_output_unittest.cc", |
335 "audio_low_latency_input_output_unittest.cc", | 339 "audio_low_latency_input_output_unittest.cc", |
336 ] | 340 ] |
337 } | 341 } |
338 } | 342 } |
OLD | NEW |