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 (!link_pulseaudio) { | 9 if (!link_pulseaudio) { |
10 action("pulse_generate_stubs") { | 10 action("pulse_generate_stubs") { |
(...skipping 16 matching lines...) Expand all Loading... |
27 "-e", rebase_path(extra_header, root_build_dir), | 27 "-e", rebase_path(extra_header, root_build_dir), |
28 "-s", stubs_filename_root, | 28 "-s", stubs_filename_root, |
29 "-p", "media/audio/pulse", | 29 "-p", "media/audio/pulse", |
30 ] | 30 ] |
31 | 31 |
32 args += rebase_path(sources, root_build_dir) | 32 args += rebase_path(sources, root_build_dir) |
33 } | 33 } |
34 } | 34 } |
35 | 35 |
36 source_set("audio") { | 36 source_set("audio") { |
| 37 visibility = [ "//media/*" ] |
37 sources = [ | 38 sources = [ |
38 "agc_audio_stream.h", | 39 "agc_audio_stream.h", |
39 "audio_device_name.cc", | 40 "audio_device_name.cc", |
40 "audio_device_name.h", | 41 "audio_device_name.h", |
41 "audio_device_thread.cc", | 42 "audio_device_thread.cc", |
42 "audio_device_thread.h", | 43 "audio_device_thread.h", |
43 "audio_input_controller.cc", | 44 "audio_input_controller.cc", |
44 "audio_input_controller.h", | 45 "audio_input_controller.h", |
45 "audio_input_device.cc", | 46 "audio_input_device.cc", |
46 "audio_input_device.h", | 47 "audio_input_device.h", |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 "win/core_audio_util_win_unittest.cc", | 318 "win/core_audio_util_win_unittest.cc", |
318 ] | 319 ] |
319 } | 320 } |
320 | 321 |
321 if (use_alsa) { | 322 if (use_alsa) { |
322 sources += [ | 323 sources += [ |
323 "alsa/alsa_output_unittest.cc", | 324 "alsa/alsa_output_unittest.cc", |
324 ] | 325 ] |
325 } | 326 } |
326 } | 327 } |
OLD | NEW |