| 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("//media/media_options.gni") | 6 import("//media/media_options.gni") |
| 6 | 7 |
| 7 # 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 |
| 8 # binary. | 9 # binary. |
| 9 if (!link_pulseaudio) { | 10 if (!link_pulseaudio) { |
| 10 action("pulse_generate_stubs") { | 11 action("pulse_generate_stubs") { |
| 11 extra_header = "pulse/pulse_stub_header.fragment" | 12 extra_header = "pulse/pulse_stub_header.fragment" |
| 12 | 13 |
| 13 script = "../../tools/generate_stubs/generate_stubs.py" | 14 script = "../../tools/generate_stubs/generate_stubs.py" |
| 14 sources = [ "pulse/pulse.sigs" ] | 15 sources = [ "pulse/pulse.sigs" ] |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 "cras/audio_manager_cras.h", | 201 "cras/audio_manager_cras.h", |
| 201 "cras/cras_input.cc", | 202 "cras/cras_input.cc", |
| 202 "cras/cras_input.h", | 203 "cras/cras_input.h", |
| 203 "cras/cras_unified.cc", | 204 "cras/cras_unified.cc", |
| 204 "cras/cras_unified.h", | 205 "cras/cras_unified.h", |
| 205 ] | 206 ] |
| 206 | 207 |
| 207 pkg_config("libcras") { | 208 pkg_config("libcras") { |
| 208 packages = [ "libcras" ] | 209 packages = [ "libcras" ] |
| 209 } | 210 } |
| 210 configs += [ "libcras" ] | 211 configs += [ ":libcras" ] |
| 211 } | 212 } |
| 212 | 213 |
| 213 if (use_pulseaudio) { | 214 if (use_pulseaudio) { |
| 214 sources += [ | 215 sources += [ |
| 215 "pulse/audio_manager_pulse.cc", | 216 "pulse/audio_manager_pulse.cc", |
| 216 "pulse/audio_manager_pulse.h", | 217 "pulse/audio_manager_pulse.h", |
| 217 "pulse/pulse_input.cc", | 218 "pulse/pulse_input.cc", |
| 218 "pulse/pulse_input.h", | 219 "pulse/pulse_input.h", |
| 219 "pulse/pulse_output.cc", | 220 "pulse/pulse_output.cc", |
| 220 "pulse/pulse_output.h", | 221 "pulse/pulse_output.h", |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 "win/core_audio_util_win_unittest.cc", | 321 "win/core_audio_util_win_unittest.cc", |
| 321 ] | 322 ] |
| 322 } | 323 } |
| 323 | 324 |
| 324 if (use_alsa) { | 325 if (use_alsa) { |
| 325 sources += [ | 326 sources += [ |
| 326 "alsa/alsa_output_unittest.cc", | 327 "alsa/alsa_output_unittest.cc", |
| 327 ] | 328 ] |
| 328 } | 329 } |
| 329 } | 330 } |
| OLD | NEW |