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

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

Issue 682743003: Fix pkg-config issue with cras for Chrome OS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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("//media/media_options.gni") 6 import("//media/media_options.gni")
6 7
7 # 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
8 # binary. 9 # binary.
9 if (!link_pulseaudio) { 10 if (!link_pulseaudio) {
10 action("pulse_generate_stubs") { 11 action("pulse_generate_stubs") {
11 extra_header = "pulse/pulse_stub_header.fragment" 12 extra_header = "pulse/pulse_stub_header.fragment"
12 13
13 script = "../../tools/generate_stubs/generate_stubs.py" 14 script = "../../tools/generate_stubs/generate_stubs.py"
14 sources = [ "pulse/pulse.sigs" ] 15 sources = [ "pulse/pulse.sigs" ]
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 "cras/audio_manager_cras.h", 201 "cras/audio_manager_cras.h",
201 "cras/cras_input.cc", 202 "cras/cras_input.cc",
202 "cras/cras_input.h", 203 "cras/cras_input.h",
203 "cras/cras_unified.cc", 204 "cras/cras_unified.cc",
204 "cras/cras_unified.h", 205 "cras/cras_unified.h",
205 ] 206 ]
206 207
207 pkg_config("libcras") { 208 pkg_config("libcras") {
208 packages = [ "libcras" ] 209 packages = [ "libcras" ]
209 } 210 }
210 configs += [ "libcras" ] 211 configs += [ ":libcras" ]
211 } 212 }
212 213
213 if (use_pulseaudio) { 214 if (use_pulseaudio) {
214 sources += [ 215 sources += [
215 "pulse/audio_manager_pulse.cc", 216 "pulse/audio_manager_pulse.cc",
216 "pulse/audio_manager_pulse.h", 217 "pulse/audio_manager_pulse.h",
217 "pulse/pulse_input.cc", 218 "pulse/pulse_input.cc",
218 "pulse/pulse_input.h", 219 "pulse/pulse_input.h",
219 "pulse/pulse_output.cc", 220 "pulse/pulse_output.cc",
220 "pulse/pulse_output.h", 221 "pulse/pulse_output.h",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 "win/core_audio_util_win_unittest.cc", 321 "win/core_audio_util_win_unittest.cc",
321 ] 322 ]
322 } 323 }
323 324
324 if (use_alsa) { 325 if (use_alsa) {
325 sources += [ 326 sources += [
326 "alsa/alsa_output_unittest.cc", 327 "alsa/alsa_output_unittest.cc",
327 ] 328 ]
328 } 329 }
329 } 330 }
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