OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 group("audio") { | 8 group("audio") { |
9 deps = [ | 9 deps = [ |
10 ":audio_server", | 10 ":audio_server", |
(...skipping 19 matching lines...) Expand all Loading... |
30 "audio_track_impl.cc", | 30 "audio_track_impl.cc", |
31 "audio_track_to_output_link.cc", | 31 "audio_track_to_output_link.cc", |
32 "platform/generic/mixer.cc", | 32 "platform/generic/mixer.cc", |
33 "platform/generic/mixers/no_op.cc", | 33 "platform/generic/mixers/no_op.cc", |
34 "platform/generic/mixers/point_sampler.cc", | 34 "platform/generic/mixers/point_sampler.cc", |
35 "platform/generic/standard_output_base.cc", | 35 "platform/generic/standard_output_base.cc", |
36 "platform/generic/throttle_output.cc", | 36 "platform/generic/throttle_output.cc", |
37 ] | 37 ] |
38 | 38 |
39 libs = [] | 39 libs = [] |
| 40 |
| 41 if (is_linux && !is_fnl && !is_android) { |
| 42 sources += [ "platform/linux/alsa_output.cc" ] |
| 43 libs += [ "asound" ] |
| 44 } else { |
| 45 sources += [ "platform/stubs/alsa_output_stub.cc" ] |
| 46 } |
40 } | 47 } |
OLD | NEW |