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

Side by Side Diff: media/media.gyp

Issue 1079333002: Require udev for MidiManagerAlsa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple-hotplug
Patch Set: Rebase Created 5 years, 8 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/midi/midi_manager.cc » ('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
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 }, { # 'use_low_memory_buffer==0' 1093 }, { # 'use_low_memory_buffer==0'
1094 'sources': [ 1094 'sources': [
1095 'filters/source_buffer_platform.cc', 1095 'filters/source_buffer_platform.cc',
1096 'filters/source_buffer_platform.h', 1096 'filters/source_buffer_platform.h',
1097 ] 1097 ]
1098 }], 1098 }],
1099 ['use_udev==1', { 1099 ['use_udev==1', {
1100 'dependencies': [ 1100 'dependencies': [
1101 '../device/udev_linux/udev.gyp:udev_linux', 1101 '../device/udev_linux/udev.gyp:udev_linux',
1102 ], 1102 ],
1103 }, { # use_udev==0
1104 'sources!': [
1105 'midi/midi_manager_alsa.cc',
1106 'midi/midi_manager_alsa.h',
1107 ],
1103 }], 1108 }],
1104 ], # conditions 1109 ], # conditions
1105 'target_conditions': [ 1110 'target_conditions': [
1106 ['OS == "ios" and _toolset != "host"', { 1111 ['OS == "ios" and _toolset != "host"', {
1107 'sources/': [ 1112 'sources/': [
1108 # Pull in specific Mac files for iOS (which have been filtered out 1113 # Pull in specific Mac files for iOS (which have been filtered out
1109 # by file name rules). 1114 # by file name rules).
1110 ['include', '^base/mac/coremedia_glue\\.h$'], 1115 ['include', '^base/mac/coremedia_glue\\.h$'],
1111 ['include', '^base/mac/coremedia_glue\\.mm$'], 1116 ['include', '^base/mac/coremedia_glue\\.mm$'],
1112 ['include', '^base/mac/corevideo_glue\\.h$'], 1117 ['include', '^base/mac/corevideo_glue\\.h$'],
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 # http://crbug.com/171009 1413 # http://crbug.com/171009
1409 ['OS=="win" and target_arch=="x64"', { 1414 ['OS=="win" and target_arch=="x64"', {
1410 'msvs_disabled_warnings': [ 4267, ], 1415 'msvs_disabled_warnings': [ 4267, ],
1411 }], 1416 }],
1412 ['OS=="mac"', { 1417 ['OS=="mac"', {
1413 'sources': [ 1418 'sources': [
1414 'midi/midi_manager_mac_unittest.cc', 1419 'midi/midi_manager_mac_unittest.cc',
1415 'video/capture/mac/video_capture_device_factory_mac_unittest.mm', 1420 'video/capture/mac/video_capture_device_factory_mac_unittest.mm',
1416 ] 1421 ]
1417 }], 1422 }],
1418 » ['use_alsa==1', { 1423 ['use_alsa==1 and use_udev==1', {
1419 'sources': [ 1424 'sources': [
1420 'midi/midi_manager_alsa_unittest.cc', 1425 'midi/midi_manager_alsa_unittest.cc',
1421 ] 1426 ]
1422 }], 1427 }],
1423 ['use_x11==1', { 1428 ['use_x11==1', {
1424 'dependencies': [ 1429 'dependencies': [
1425 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1430 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1426 ], 1431 ],
1427 }], 1432 }],
1428 ], 1433 ],
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1948 '../build/isolate.gypi', 1953 '../build/isolate.gypi',
1949 ], 1954 ],
1950 'sources': [ 1955 'sources': [
1951 'media_unittests.isolate', 1956 'media_unittests.isolate',
1952 ], 1957 ],
1953 }, 1958 },
1954 ], 1959 ],
1955 }], 1960 }],
1956 ], 1961 ],
1957 } 1962 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | media/midi/midi_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698