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

Side by Side Diff: media/media.gyp

Issue 1530713006: Don't use pulse/alsa in embedded config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Readd embedded for midi.gyp as well Created 5 years 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 | media/midi/midi.gyp » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 # Override to dynamically link the cras (ChromeOS audio) library. 8 # Override to dynamically link the cras (ChromeOS audio) library.
9 'use_cras%': 0, 9 'use_cras%': 0,
10 # Option e.g. for Linux distributions to link pulseaudio directly 10 # Option e.g. for Linux distributions to link pulseaudio directly
11 # (DT_NEEDED) instead of using dlopen. This helps with automated 11 # (DT_NEEDED) instead of using dlopen. This helps with automated
12 # detection of ABI mismatches and prevents silent errors. 12 # detection of ABI mismatches and prevents silent errors.
13 'linux_link_pulseaudio%': 0, 13 'linux_link_pulseaudio%': 0,
14 'conditions': [ 14 'conditions': [
15 # Enable ALSA and Pulse for runtime selection. 15 # Enable ALSA and Pulse for runtime selection.
16 ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (chromecast==0 or is _cast_desktop_build==1)', { 16 ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and ((embedded!=1 and ch romecast==0) or is_cast_desktop_build==1)', {
17 # ALSA is always needed for Web MIDI even if the cras is enabled. 17 # ALSA is always needed for Web MIDI even if the cras is enabled.
18 'use_alsa%': 1, 18 'use_alsa%': 1,
19 'conditions': [ 19 'conditions': [
20 ['use_cras==1', { 20 ['use_cras==1', {
21 'use_pulseaudio%': 0, 21 'use_pulseaudio%': 0,
22 }, { 22 }, {
23 'use_pulseaudio%': 1, 23 'use_pulseaudio%': 1,
24 }], 24 }],
25 ], 25 ],
26 }, { 26 }, {
(...skipping 2113 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 'dependencies': [ 2140 'dependencies': [
2141 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2141 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2142 ], 2142 ],
2143 }], 2143 }],
2144 ], 2144 ],
2145 }, 2145 },
2146 ], 2146 ],
2147 }], 2147 }],
2148 ], 2148 ],
2149 } 2149 }
OLDNEW
« no previous file with comments | « no previous file | media/midi/midi.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698