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

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

Issue 2784433002: Ensures that audio tasks cannot run after AudioManager is deleted. (Closed)
Patch Set: chromeos and android build Created 3 years, 8 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 testonly = true 293 testonly = true
291 sources = [ 294 sources = [
292 "audio_unittest_util.cc", 295 "audio_unittest_util.cc",
293 "audio_unittest_util.h", 296 "audio_unittest_util.h",
294 "mock_audio_manager.cc", 297 "mock_audio_manager.cc",
295 "mock_audio_manager.h", 298 "mock_audio_manager.h",
296 "mock_audio_source_callback.cc", 299 "mock_audio_source_callback.cc",
297 "mock_audio_source_callback.h", 300 "mock_audio_source_callback.h",
298 "test_audio_input_controller_factory.cc", 301 "test_audio_input_controller_factory.cc",
299 "test_audio_input_controller_factory.h", 302 "test_audio_input_controller_factory.h",
303 "test_audio_thread.cc",
304 "test_audio_thread.h",
300 ] 305 ]
301 configs += [ ":platform_config" ] 306 configs += [ ":platform_config" ]
302 deps = [ 307 deps = [
303 "//base", 308 "//base",
304 "//media", 309 "//media",
305 "//testing/gmock", 310 "//testing/gmock",
306 "//testing/gtest", 311 "//testing/gtest",
307 ] 312 ]
308 configs += [ "//media:media_config" ] 313 configs += [ "//media:media_config" ]
309 } 314 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 ] 394 ]
390 } 395 }
391 396
392 if (use_alsa) { 397 if (use_alsa) {
393 sources += [ 398 sources += [
394 "alsa/alsa_output_unittest.cc", 399 "alsa/alsa_output_unittest.cc",
395 "audio_low_latency_input_output_unittest.cc", 400 "audio_low_latency_input_output_unittest.cc",
396 ] 401 ]
397 } 402 }
398 } 403 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698