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

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

Issue 1965713003: media: Fix gn deps on media/audio/* targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use //media to avoid Windows issues Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 "sounds/audio_stream_handler.h", 116 "sounds/audio_stream_handler.h",
117 "sounds/sounds_manager.cc", 117 "sounds/sounds_manager.cc",
118 "sounds/sounds_manager.h", 118 "sounds/sounds_manager.h",
119 "sounds/wav_audio_handler.cc", 119 "sounds/wav_audio_handler.cc",
120 "sounds/wav_audio_handler.h", 120 "sounds/wav_audio_handler.h",
121 "virtual_audio_input_stream.cc", 121 "virtual_audio_input_stream.cc",
122 "virtual_audio_input_stream.h", 122 "virtual_audio_input_stream.h",
123 "virtual_audio_output_stream.cc", 123 "virtual_audio_output_stream.cc",
124 "virtual_audio_output_stream.h", 124 "virtual_audio_output_stream.h",
125 ] 125 ]
126 deps = [] 126 deps = [
127 "//base",
128 "//media:shared_memory_support",
129 "//media/base",
130 "//url",
131 ]
127 libs = [] 132 libs = []
128 configs += [ 133 configs += [
129 ":platform_config", 134 ":platform_config",
130 "//media:media_config", 135 "//media:media_config",
131 "//media:media_implementation", 136 "//media:media_implementation",
132 ] 137 ]
133 138
134 if (is_mac) { 139 if (is_mac) {
135 sources += [ 140 sources += [
136 "mac/audio_auhal_mac.cc", 141 "mac/audio_auhal_mac.cc",
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 "audio_unittest_util.h", 279 "audio_unittest_util.h",
275 "mock_audio_manager.cc", 280 "mock_audio_manager.cc",
276 "mock_audio_manager.h", 281 "mock_audio_manager.h",
277 "mock_audio_source_callback.cc", 282 "mock_audio_source_callback.cc",
278 "mock_audio_source_callback.h", 283 "mock_audio_source_callback.h",
279 "test_audio_input_controller_factory.cc", 284 "test_audio_input_controller_factory.cc",
280 "test_audio_input_controller_factory.h", 285 "test_audio_input_controller_factory.h",
281 ] 286 ]
282 configs += [ ":platform_config" ] 287 configs += [ ":platform_config" ]
283 deps = [ 288 deps = [
289 "//base",
290 "//media",
284 "//testing/gmock", 291 "//testing/gmock",
292 "//testing/gtest",
285 ] 293 ]
286 configs += [ "//media:media_config" ] 294 configs += [ "//media:media_config" ]
287 } 295 }
288 296
289 source_set("unittests") { 297 source_set("unittests") {
290 testonly = true 298 testonly = true
291 sources = [ 299 sources = [
292 "audio_input_controller_unittest.cc", 300 "audio_input_controller_unittest.cc",
293 "audio_input_unittest.cc", 301 "audio_input_unittest.cc",
294 "audio_manager_unittest.cc", 302 "audio_manager_unittest.cc",
295 "audio_output_controller_unittest.cc", 303 "audio_output_controller_unittest.cc",
296 "audio_output_device_unittest.cc", 304 "audio_output_device_unittest.cc",
297 "audio_output_proxy_unittest.cc", 305 "audio_output_proxy_unittest.cc",
298 "audio_power_monitor_unittest.cc", 306 "audio_power_monitor_unittest.cc",
299 "audio_streams_tracker_unittest.cc", 307 "audio_streams_tracker_unittest.cc",
300 "fake_audio_worker_unittest.cc", 308 "fake_audio_worker_unittest.cc",
301 "simple_sources_unittest.cc", 309 "simple_sources_unittest.cc",
302 "virtual_audio_input_stream_unittest.cc", 310 "virtual_audio_input_stream_unittest.cc",
303 "virtual_audio_output_stream_unittest.cc", 311 "virtual_audio_output_stream_unittest.cc",
304 ] 312 ]
305 deps = [ 313 deps = [
306 ":test_support", 314 ":test_support",
315 "//base",
316 "//base/test:test_support",
317 "//media",
307 "//media/base:test_support", 318 "//media/base:test_support",
308 "//testing/gmock", 319 "//testing/gmock",
309 "//testing/gtest", 320 "//testing/gtest",
310 "//url", 321 "//url",
311 ] 322 ]
312 323
313 configs += [ 324 configs += [
314 ":platform_config", 325 ":platform_config",
315 "//build/config/compiler:no_size_t_to_int_warning", 326 "//build/config/compiler:no_size_t_to_int_warning",
316 "//media:media_config", 327 "//media:media_config",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 ] 367 ]
357 } 368 }
358 369
359 if (use_alsa) { 370 if (use_alsa) {
360 sources += [ 371 sources += [
361 "alsa/alsa_output_unittest.cc", 372 "alsa/alsa_output_unittest.cc",
362 "audio_low_latency_input_output_unittest.cc", 373 "audio_low_latency_input_output_unittest.cc",
363 ] 374 ]
364 } 375 }
365 } 376 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698