| 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", |
| 31 "//media", | 33 "//media", |
| 32 ] | 34 ] |
| 33 } | 35 } |
| 34 | 36 |
| 35 source_set("alsa_cma_backend") { | 37 source_set("alsa_cma_backend") { |
| 36 sources = [ | 38 sources = [ |
| 37 "alsa_volume_control.cc", | 39 "alsa_volume_control.cc", |
| 38 "alsa_volume_control.h", | 40 "alsa_volume_control.h", |
| 39 "alsa_wrapper.cc", | 41 "alsa_wrapper.cc", |
| 40 "alsa_wrapper.h", | 42 "alsa_wrapper.h", |
| 41 "audio_decoder_alsa.cc", | 43 "audio_decoder_alsa.cc", |
| 42 "audio_decoder_alsa.h", | 44 "audio_decoder_alsa.h", |
| 43 "filter_group.cc", | 45 "filter_group.cc", |
| 44 "filter_group.h", | 46 "filter_group.h", |
| 45 "media_pipeline_backend_alsa.cc", | 47 "media_pipeline_backend_alsa.cc", |
| 46 "media_pipeline_backend_alsa.h", | 48 "media_pipeline_backend_alsa.h", |
| 47 "post_processing_pipeline.cc", | |
| 48 "post_processing_pipeline.h", | 49 "post_processing_pipeline.h", |
| 49 "post_processing_pipeline_parser.cc", | 50 "post_processing_pipeline_parser.cc", |
| 50 "post_processing_pipeline_parser.h", | 51 "post_processing_pipeline_parser.h", |
| 51 "stream_mixer_alsa.cc", | 52 "stream_mixer_alsa.cc", |
| 52 "stream_mixer_alsa.h", | 53 "stream_mixer_alsa.h", |
| 53 "stream_mixer_alsa_input.cc", | 54 "stream_mixer_alsa_input.cc", |
| 54 "stream_mixer_alsa_input.h", | 55 "stream_mixer_alsa_input.h", |
| 55 "stream_mixer_alsa_input_impl.cc", | 56 "stream_mixer_alsa_input_impl.cc", |
| 56 "stream_mixer_alsa_input_impl.h", | 57 "stream_mixer_alsa_input_impl.h", |
| 57 "volume_control.cc", | 58 "volume_control.cc", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 "post_processors/governor_shlib.cc", | 138 "post_processors/governor_shlib.cc", |
| 138 ] | 139 ] |
| 139 | 140 |
| 140 deps = [ | 141 deps = [ |
| 141 ":slew_volume", | 142 ":slew_volume", |
| 142 "//base", | 143 "//base", |
| 143 "//chromecast/base", | 144 "//chromecast/base", |
| 144 "//chromecast/public/media", | 145 "//chromecast/public/media", |
| 145 ] | 146 ] |
| 146 } | 147 } |
| OLD | NEW |