| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 sources = [ | 103 sources = [ |
| 104 "slew_volume.cc", | 104 "slew_volume.cc", |
| 105 "slew_volume.h", | 105 "slew_volume.h", |
| 106 ] | 106 ] |
| 107 deps = [ | 107 deps = [ |
| 108 "//base", | 108 "//base", |
| 109 "//media", | 109 "//media", |
| 110 ] | 110 ] |
| 111 } | 111 } |
| 112 | 112 |
| 113 alsa_controls_volume = !enable_assistant | 113 alsa_owns_volume = !enable_assistant |
| 114 | 114 |
| 115 buildflag_header("alsa_features") { | 115 buildflag_header("alsa_features") { |
| 116 header = "alsa_features.h" | 116 header = "alsa_features.h" |
| 117 | 117 |
| 118 flags = [ | 118 flags = [ |
| 119 "ALSA_MONOTONIC_RAW_TSTAMPS=$use_alsa_monotonic_raw_tstamps", | 119 "ALSA_MONOTONIC_RAW_TSTAMPS=$use_alsa_monotonic_raw_tstamps", |
| 120 "ALSA_CONTROLS_VOLUME=$alsa_controls_volume", | 120 "ALSA_OWNS_VOLUME=$alsa_owns_volume", |
| 121 ] | 121 ] |
| 122 } | 122 } |
| 123 | 123 |
| 124 test("cast_alsa_cma_backend_unittests") { | 124 test("cast_alsa_cma_backend_unittests") { |
| 125 sources = [ | 125 sources = [ |
| 126 "stream_mixer_alsa_unittest.cc", | 126 "stream_mixer_alsa_unittest.cc", |
| 127 ] | 127 ] |
| 128 | 128 |
| 129 deps = [ | 129 deps = [ |
| 130 ":test_support", | 130 ":test_support", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 149 public_deps = [ | 149 public_deps = [ |
| 150 ":alsa_cma_backend", | 150 ":alsa_cma_backend", |
| 151 ] | 151 ] |
| 152 | 152 |
| 153 deps = [ | 153 deps = [ |
| 154 "//base", | 154 "//base", |
| 155 "//media", | 155 "//media", |
| 156 "//testing/gmock", | 156 "//testing/gmock", |
| 157 ] | 157 ] |
| 158 } | 158 } |
| OLD | NEW |