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

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

Issue 2784433002: Ensures that audio tasks cannot run after AudioManager is deleted. (Closed)
Patch Set: rebase Created 3 years, 7 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
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 "audio_output_resampler.h", 97 "audio_output_resampler.h",
98 "audio_output_stream_sink.cc", 98 "audio_output_stream_sink.cc",
99 "audio_output_stream_sink.h", 99 "audio_output_stream_sink.h",
100 "audio_power_monitor.cc", 100 "audio_power_monitor.cc",
101 "audio_power_monitor.h", 101 "audio_power_monitor.h",
102 "audio_source_diverter.h", 102 "audio_source_diverter.h",
103 "audio_system.cc", 103 "audio_system.cc",
104 "audio_system.h", 104 "audio_system.h",
105 "audio_system_impl.cc", 105 "audio_system_impl.cc",
106 "audio_system_impl.h", 106 "audio_system_impl.h",
107 "audio_thread.h",
108 "audio_thread_impl.cc",
109 "audio_thread_impl.h",
107 "clockless_audio_sink.cc", 110 "clockless_audio_sink.cc",
108 "clockless_audio_sink.h", 111 "clockless_audio_sink.h",
109 "fake_audio_input_stream.cc", 112 "fake_audio_input_stream.cc",
110 "fake_audio_input_stream.h", 113 "fake_audio_input_stream.h",
111 "fake_audio_log_factory.cc", 114 "fake_audio_log_factory.cc",
112 "fake_audio_log_factory.h", 115 "fake_audio_log_factory.h",
113 "fake_audio_manager.cc", 116 "fake_audio_manager.cc",
114 "fake_audio_manager.h", 117 "fake_audio_manager.h",
115 "fake_audio_output_stream.cc", 118 "fake_audio_output_stream.cc",
116 "fake_audio_output_stream.h", 119 "fake_audio_output_stream.h",
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 "audio_device_info_accessor_for_tests.cc", 295 "audio_device_info_accessor_for_tests.cc",
293 "audio_device_info_accessor_for_tests.h", 296 "audio_device_info_accessor_for_tests.h",
294 "audio_unittest_util.cc", 297 "audio_unittest_util.cc",
295 "audio_unittest_util.h", 298 "audio_unittest_util.h",
296 "mock_audio_manager.cc", 299 "mock_audio_manager.cc",
297 "mock_audio_manager.h", 300 "mock_audio_manager.h",
298 "mock_audio_source_callback.cc", 301 "mock_audio_source_callback.cc",
299 "mock_audio_source_callback.h", 302 "mock_audio_source_callback.h",
300 "test_audio_input_controller_factory.cc", 303 "test_audio_input_controller_factory.cc",
301 "test_audio_input_controller_factory.h", 304 "test_audio_input_controller_factory.h",
305 "test_audio_thread.cc",
306 "test_audio_thread.h",
302 ] 307 ]
303 configs += [ ":platform_config" ] 308 configs += [
309 ":platform_config",
310 "//media:media_config",
311 ]
304 deps = [ 312 deps = [
305 "//base", 313 "//base",
306 "//media", 314 "//media",
307 "//testing/gmock", 315 "//testing/gmock",
308 "//testing/gtest", 316 "//testing/gtest",
309 ] 317 ]
310 configs += [ "//media:media_config" ]
311 } 318 }
312 319
313 source_set("unit_tests") { 320 source_set("unit_tests") {
314 testonly = true 321 testonly = true
315 sources = [ 322 sources = [
316 "audio_debug_file_writer_unittest.cc", 323 "audio_debug_file_writer_unittest.cc",
317 "audio_debug_recording_helper_unittest.cc", 324 "audio_debug_recording_helper_unittest.cc",
318 "audio_debug_recording_manager_unittest.cc", 325 "audio_debug_recording_manager_unittest.cc",
319 "audio_input_controller_unittest.cc", 326 "audio_input_controller_unittest.cc",
320 "audio_input_device_unittest.cc", 327 "audio_input_device_unittest.cc",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 ] 398 ]
392 } 399 }
393 400
394 if (use_alsa) { 401 if (use_alsa) {
395 sources += [ 402 sources += [
396 "alsa/alsa_output_unittest.cc", 403 "alsa/alsa_output_unittest.cc",
397 "audio_low_latency_input_output_unittest.cc", 404 "audio_low_latency_input_output_unittest.cc",
398 ] 405 ]
399 } 406 }
400 } 407 }
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | media/audio/alsa/alsa_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698