| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 ] | 175 ] |
| 176 } | 176 } |
| 177 | 177 |
| 178 if (is_linux) { | 178 if (is_linux) { |
| 179 sources += [ | 179 sources += [ |
| 180 "linux/audio_manager_linux.cc", | 180 "linux/audio_manager_linux.cc", |
| 181 ] | 181 ] |
| 182 } | 182 } |
| 183 | 183 |
| 184 if (use_alsa) { | 184 if (use_alsa) { |
| 185 libs = [ "asound" ] | 185 libs += [ "asound" ] |
| 186 defines = [ "USE_ALSA" ] | 186 defines = [ "USE_ALSA" ] |
| 187 sources += [ | 187 sources += [ |
| 188 "alsa/alsa_input.cc", | 188 "alsa/alsa_input.cc", |
| 189 "alsa/alsa_input.h", | 189 "alsa/alsa_input.h", |
| 190 "alsa/alsa_output.cc", | 190 "alsa/alsa_output.cc", |
| 191 "alsa/alsa_output.h", | 191 "alsa/alsa_output.h", |
| 192 "alsa/alsa_util.cc", | 192 "alsa/alsa_util.cc", |
| 193 "alsa/alsa_util.h", | 193 "alsa/alsa_util.h", |
| 194 "alsa/alsa_wrapper.cc", | 194 "alsa/alsa_wrapper.cc", |
| 195 "alsa/alsa_wrapper.h", | 195 "alsa/alsa_wrapper.h", |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 "win/core_audio_util_win_unittest.cc", | 322 "win/core_audio_util_win_unittest.cc", |
| 323 ] | 323 ] |
| 324 } | 324 } |
| 325 | 325 |
| 326 if (use_alsa) { | 326 if (use_alsa) { |
| 327 sources += [ | 327 sources += [ |
| 328 "alsa/alsa_output_unittest.cc", | 328 "alsa/alsa_output_unittest.cc", |
| 329 ] | 329 ] |
| 330 } | 330 } |
| 331 } | 331 } |
| OLD | NEW |