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("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//chromecast/chromecast.gni") | 7 import("//chromecast/chromecast.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
11 declare_args() { | 11 declare_args() { |
12 # Set true to use raw timestamps on non-desktop cast build. | 12 # Set true to use raw timestamps on non-desktop cast build. |
13 # ALSA version equal or later than 1.0.29 support this function. | 13 # ALSA version equal or later than 1.0.29 support this function. |
14 use_alsa_monotonic_raw_tstamps = !is_cast_desktop_build | 14 use_alsa_monotonic_raw_tstamps = !is_cast_desktop_build |
15 } | 15 } |
16 | 16 |
17 # Alsa must be used for these targets to build. | 17 # Alsa must be used for these targets to build. |
18 assert(use_alsa) | 18 assert(use_alsa) |
19 | 19 |
20 shared_library("libcast_media_1.0_audio") { | 20 shared_library("libcast_media_1.0_audio") { |
21 sources = [ | 21 sources = [ |
22 "cast_media_shlib.cc", | 22 "cast_media_shlib.cc", |
23 "media_codec_support_cast_audio.cc", | 23 "media_codec_support_cast_audio.cc", |
| 24 "post_processing_pipeline_impl.cc", |
| 25 "post_processing_pipeline_impl.h", |
24 ] | 26 ] |
25 | 27 |
26 deps = [ | 28 deps = [ |
27 ":alsa_cma_backend", | 29 ":alsa_cma_backend", |
28 "//base", | 30 "//base", |
29 "//chromecast/base", | 31 "//chromecast/base", |
30 "//chromecast/public", | 32 "//chromecast/public", |
| 33 "//chromecast/public/media", |
31 "//media", | 34 "//media", |
32 ] | 35 ] |
33 } | 36 } |
34 | 37 |
35 source_set("alsa_cma_backend") { | 38 source_set("alsa_cma_backend") { |
36 sources = [ | 39 sources = [ |
37 "alsa_volume_control.cc", | 40 "alsa_volume_control.cc", |
38 "alsa_volume_control.h", | 41 "alsa_volume_control.h", |
39 "alsa_wrapper.cc", | 42 "alsa_wrapper.cc", |
40 "alsa_wrapper.h", | 43 "alsa_wrapper.h", |
41 "audio_decoder_alsa.cc", | 44 "audio_decoder_alsa.cc", |
42 "audio_decoder_alsa.h", | 45 "audio_decoder_alsa.h", |
43 "filter_group.cc", | 46 "filter_group.cc", |
44 "filter_group.h", | 47 "filter_group.h", |
45 "media_pipeline_backend_alsa.cc", | 48 "media_pipeline_backend_alsa.cc", |
46 "media_pipeline_backend_alsa.h", | 49 "media_pipeline_backend_alsa.h", |
47 "post_processing_pipeline.cc", | |
48 "post_processing_pipeline.h", | 50 "post_processing_pipeline.h", |
49 "post_processing_pipeline_parser.cc", | 51 "post_processing_pipeline_parser.cc", |
50 "post_processing_pipeline_parser.h", | 52 "post_processing_pipeline_parser.h", |
51 "stream_mixer_alsa.cc", | 53 "stream_mixer_alsa.cc", |
52 "stream_mixer_alsa.h", | 54 "stream_mixer_alsa.h", |
53 "stream_mixer_alsa_input.cc", | 55 "stream_mixer_alsa_input.cc", |
54 "stream_mixer_alsa_input.h", | 56 "stream_mixer_alsa_input.h", |
55 "stream_mixer_alsa_input_impl.cc", | 57 "stream_mixer_alsa_input_impl.cc", |
56 "stream_mixer_alsa_input_impl.h", | 58 "stream_mixer_alsa_input_impl.h", |
57 "volume_control.cc", | 59 "volume_control.cc", |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "post_processors/governor_shlib.cc", | 139 "post_processors/governor_shlib.cc", |
138 ] | 140 ] |
139 | 141 |
140 deps = [ | 142 deps = [ |
141 ":slew_volume", | 143 ":slew_volume", |
142 "//base", | 144 "//base", |
143 "//chromecast/base", | 145 "//chromecast/base", |
144 "//chromecast/public/media", | 146 "//chromecast/public/media", |
145 ] | 147 ] |
146 } | 148 } |
OLD | NEW |