Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: media/audio/BUILD.gn

Issue 914483002: Add flag --require-audio-hardware-for-testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/audio/android/audio_android_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 7
8 # When libpulse is not directly linked, use stubs to allow for dlopening of the 8 # When libpulse is not directly linked, use stubs to allow for dlopening of the
9 # binary. 9 # binary.
10 if (!link_pulseaudio) { 10 if (!link_pulseaudio) {
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 libs += [ "dl" ] 241 libs += [ "dl" ]
242 deps += [ ":pulse_generate_stubs" ] 242 deps += [ ":pulse_generate_stubs" ]
243 sources += get_target_outputs(":pulse_generate_stubs") 243 sources += get_target_outputs(":pulse_generate_stubs")
244 } 244 }
245 } 245 }
246 } 246 }
247 247
248 source_set("test_support") { 248 source_set("test_support") {
249 testonly = true 249 testonly = true
250 sources = [ 250 sources = [
251 "audio_unittest_util.cc",
252 "audio_unittest_util.h",
251 "mock_audio_manager.cc", 253 "mock_audio_manager.cc",
252 "mock_audio_manager.h", 254 "mock_audio_manager.h",
253 "mock_audio_source_callback.cc", 255 "mock_audio_source_callback.cc",
254 "mock_audio_source_callback.h", 256 "mock_audio_source_callback.h",
255 "test_audio_input_controller_factory.cc", 257 "test_audio_input_controller_factory.cc",
256 "test_audio_input_controller_factory.h", 258 "test_audio_input_controller_factory.h",
257 ] 259 ]
258 deps = [ 260 deps = [
259 "//testing/gmock", 261 "//testing/gmock",
260 ] 262 ]
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 ] 327 ]
326 } 328 }
327 329
328 if (use_alsa) { 330 if (use_alsa) {
329 sources += [ 331 sources += [
330 "alsa/alsa_output_unittest.cc", 332 "alsa/alsa_output_unittest.cc",
331 "audio_low_latency_input_output_unittest.cc", 333 "audio_low_latency_input_output_unittest.cc",
332 ] 334 ]
333 } 335 }
334 } 336 }
OLDNEW
« no previous file with comments | « no previous file | media/audio/android/audio_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698