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

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

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
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
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 packages = [ "libpulse" ] 236 packages = [ "libpulse" ]
237 } 237 }
238 configs += [ ":libpulse" ] 238 configs += [ ":libpulse" ]
239 } else { 239 } else {
240 # TODO(ajwong): Technically, this dl should go in the action. 240 # TODO(ajwong): Technically, this dl should go in the action.
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
247 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
246 } 248 }
247 249
248 source_set("test_support") { 250 source_set("test_support") {
249 testonly = true 251 testonly = true
250 sources = [ 252 sources = [
251 "audio_unittest_util.cc", 253 "audio_unittest_util.cc",
252 "audio_unittest_util.h", 254 "audio_unittest_util.h",
253 "mock_audio_manager.cc", 255 "mock_audio_manager.cc",
254 "mock_audio_manager.h", 256 "mock_audio_manager.h",
255 "mock_audio_source_callback.cc", 257 "mock_audio_source_callback.cc",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 ] 329 ]
328 } 330 }
329 331
330 if (use_alsa) { 332 if (use_alsa) {
331 sources += [ 333 sources += [
332 "alsa/alsa_output_unittest.cc", 334 "alsa/alsa_output_unittest.cc",
333 "audio_low_latency_input_output_unittest.cc", 335 "audio_low_latency_input_output_unittest.cc",
334 ] 336 ]
335 } 337 }
336 } 338 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698