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

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

Issue 2151013002: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remoting Created 4 years, 5 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 | « media/BUILD.gn ('k') | media/base/BUILD.gn » ('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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 packages = [ "libcras" ] 267 packages = [ "libcras" ]
268 } 268 }
269 } 269 }
270 270
271 if (use_pulseaudio && link_pulseaudio) { 271 if (use_pulseaudio && link_pulseaudio) {
272 pkg_config("libpulse") { 272 pkg_config("libpulse") {
273 packages = [ "libpulse" ] 273 packages = [ "libpulse" ]
274 } 274 }
275 } 275 }
276 276
277 source_set("test_support") { 277 static_library("test_support") {
278 testonly = true 278 testonly = true
279 sources = [ 279 sources = [
280 "audio_unittest_util.cc", 280 "audio_unittest_util.cc",
281 "audio_unittest_util.h", 281 "audio_unittest_util.h",
282 "mock_audio_manager.cc", 282 "mock_audio_manager.cc",
283 "mock_audio_manager.h", 283 "mock_audio_manager.h",
284 "mock_audio_source_callback.cc", 284 "mock_audio_source_callback.cc",
285 "mock_audio_source_callback.h", 285 "mock_audio_source_callback.h",
286 "test_audio_input_controller_factory.cc", 286 "test_audio_input_controller_factory.cc",
287 "test_audio_input_controller_factory.h", 287 "test_audio_input_controller_factory.h",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 ] 373 ]
374 } 374 }
375 375
376 if (use_alsa) { 376 if (use_alsa) {
377 sources += [ 377 sources += [
378 "alsa/alsa_output_unittest.cc", 378 "alsa/alsa_output_unittest.cc",
379 "audio_low_latency_input_output_unittest.cc", 379 "audio_low_latency_input_output_unittest.cc",
380 ] 380 ]
381 } 381 }
382 } 382 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698