| 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 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 "audio_decoder_alsa.cc", | 39 "audio_decoder_alsa.cc", |
| 40 "audio_decoder_alsa.h", | 40 "audio_decoder_alsa.h", |
| 41 "media_pipeline_backend_alsa.cc", | 41 "media_pipeline_backend_alsa.cc", |
| 42 "media_pipeline_backend_alsa.h", | 42 "media_pipeline_backend_alsa.h", |
| 43 "stream_mixer_alsa.cc", | 43 "stream_mixer_alsa.cc", |
| 44 "stream_mixer_alsa.h", | 44 "stream_mixer_alsa.h", |
| 45 "stream_mixer_alsa_input.cc", | 45 "stream_mixer_alsa_input.cc", |
| 46 "stream_mixer_alsa_input.h", | 46 "stream_mixer_alsa_input.h", |
| 47 "stream_mixer_alsa_input_impl.cc", | 47 "stream_mixer_alsa_input_impl.cc", |
| 48 "stream_mixer_alsa_input_impl.h", | 48 "stream_mixer_alsa_input_impl.h", |
| 49 "video_decoder_alsa.cc", |
| 50 "video_decoder_alsa.h", |
| 49 ] | 51 ] |
| 50 | 52 |
| 51 libs = [ "asound" ] | 53 libs = [ "asound" ] |
| 52 | 54 |
| 53 deps = [ | 55 deps = [ |
| 54 ":alsa_features", | 56 ":alsa_features", |
| 55 ":audio_filter_includes", | 57 ":audio_filter_includes", |
| 56 ":slew_volume", | 58 ":slew_volume", |
| 57 "//base", | 59 "//base", |
| 58 "//chromecast/base", | 60 "//chromecast/base", |
| 59 "//chromecast/media/cma/backend", | |
| 60 "//chromecast/media/cma/base", | 61 "//chromecast/media/cma/base", |
| 61 "//chromecast/media/cma/decoder", | 62 "//chromecast/media/cma/decoder", |
| 62 "//chromecast/public/media", | 63 "//chromecast/public/media", |
| 63 "//media", | 64 "//media", |
| 64 "//media:shared_memory_support", | 65 "//media:shared_memory_support", |
| 65 ] | 66 ] |
| 66 | 67 |
| 67 if (chromecast_branding == "public") { | 68 if (chromecast_branding == "public") { |
| 68 deps += [ ":audio_filter_null" ] | 69 deps += [ ":audio_filter_null" ] |
| 69 } else { | 70 } else { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 test("cast_alsa_cma_backend_unittests") { | 114 test("cast_alsa_cma_backend_unittests") { |
| 114 sources = [ | 115 sources = [ |
| 115 "stream_mixer_alsa_unittest.cc", | 116 "stream_mixer_alsa_unittest.cc", |
| 116 ] | 117 ] |
| 117 | 118 |
| 118 deps = [ | 119 deps = [ |
| 119 ":test_support", | 120 ":test_support", |
| 120 "//base", | 121 "//base", |
| 121 "//base/test:run_all_unittests", | 122 "//base/test:run_all_unittests", |
| 122 "//chromecast/media/base", | 123 "//chromecast/media/base", |
| 123 "//chromecast/media/base:libcast_media_1.0_default_core", | |
| 124 "//media", | 124 "//media", |
| 125 "//media:shared_memory_support", | 125 "//media:shared_memory_support", |
| 126 "//testing/gmock", | 126 "//testing/gmock", |
| 127 "//testing/gtest", | 127 "//testing/gtest", |
| 128 ] | 128 ] |
| 129 } | 129 } |
| 130 | 130 |
| 131 source_set("test_support") { | 131 source_set("test_support") { |
| 132 testonly = true | 132 testonly = true |
| 133 | 133 |
| 134 sources = [ | 134 sources = [ |
| 135 "mock_alsa_wrapper.cc", | 135 "mock_alsa_wrapper.cc", |
| 136 "mock_alsa_wrapper.h", | 136 "mock_alsa_wrapper.h", |
| 137 ] | 137 ] |
| 138 | 138 |
| 139 public_deps = [ | 139 public_deps = [ |
| 140 ":alsa_cma_backend", | 140 ":alsa_cma_backend", |
| 141 ] | 141 ] |
| 142 | 142 |
| 143 deps = [ | 143 deps = [ |
| 144 "//base", | 144 "//base", |
| 145 "//media", | 145 "//media", |
| 146 "//testing/gmock", | 146 "//testing/gmock", |
| 147 ] | 147 ] |
| 148 } | 148 } |
| OLD | NEW |