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

Unified Diff: media/media.gyp

Issue 1065743003: Reland: Web MIDI: split build rules for media/midi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed patch set 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/android/media_jni_registrar.cc ('k') | media/midi/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index c228c8327af46de854597372143daaa5b0d538f0..dac02a3866b210921ac5f823ee5ced55b024be2b 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -512,37 +512,6 @@
'formats/webm/webm_video_client.cc',
'formats/webm/webm_video_client.h',
'formats/webm/webm_webvtt_parser.cc',
- 'midi/midi_manager.cc',
- 'midi/midi_manager.h',
- 'midi/midi_manager_alsa.cc',
- 'midi/midi_manager_alsa.h',
- 'midi/midi_manager_android.cc',
- 'midi/midi_manager_mac.cc',
- 'midi/midi_manager_mac.h',
- 'midi/midi_manager_usb.cc',
- 'midi/midi_manager_usb.h',
- 'midi/midi_manager_win.cc',
- 'midi/midi_manager_win.h',
- 'midi/midi_message_queue.cc',
- 'midi/midi_message_queue.h',
- 'midi/midi_message_util.cc',
- 'midi/midi_message_util.h',
- 'midi/midi_port_info.cc',
- 'midi/midi_port_info.h',
- 'midi/midi_scheduler.cc',
- 'midi/midi_scheduler.h',
- 'midi/usb_midi_descriptor_parser.cc',
- 'midi/usb_midi_descriptor_parser.h',
- 'midi/usb_midi_device.h',
- 'midi/usb_midi_device_android.cc',
- 'midi/usb_midi_device_android.h',
- 'midi/usb_midi_device_factory_android.cc',
- 'midi/usb_midi_device_factory_android.h',
- 'midi/usb_midi_input_stream.cc',
- 'midi/usb_midi_input_stream.h',
- 'midi/usb_midi_jack.h',
- 'midi/usb_midi_output_stream.cc',
- 'midi/usb_midi_output_stream.h',
'ozone/media_ozone_platform.cc',
'ozone/media_ozone_platform.h',
'renderers/audio_renderer_impl.cc',
@@ -956,7 +925,6 @@
'$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
'$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
- '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
'$(SDKROOT)/System/Library/Frameworks/QTKit.framework',
@@ -964,9 +932,6 @@
},
}],
['OS=="win"', {
- 'dependencies': [
- '../device/usb/usb.gyp:device_usb',
- ],
'link_settings': {
'libraries': [
'-lmf.lib',
@@ -1093,16 +1058,6 @@
'filters/source_buffer_platform.h',
]
}],
- ['use_udev==1', {
- 'dependencies': [
- '../device/udev_linux/udev.gyp:udev_linux',
- ],
- }, { # use_udev==0
- 'sources!': [
- 'midi/midi_manager_alsa.cc',
- 'midi/midi_manager_alsa.h',
- ],
- }],
], # conditions
'target_conditions': [
['OS == "ios" and _toolset != "host"', {
@@ -1274,13 +1229,6 @@
'formats/webm/webm_parser_unittest.cc',
'formats/webm/webm_tracks_parser_unittest.cc',
'formats/webm/webm_webvtt_parser_unittest.cc',
- 'midi/midi_manager_unittest.cc',
- 'midi/midi_manager_usb_unittest.cc',
- 'midi/midi_message_queue_unittest.cc',
- 'midi/midi_message_util_unittest.cc',
- 'midi/usb_midi_descriptor_parser_unittest.cc',
- 'midi/usb_midi_input_stream_unittest.cc',
- 'midi/usb_midi_output_stream_unittest.cc',
'renderers/audio_renderer_impl_unittest.cc',
'renderers/renderer_impl_unittest.cc',
'renderers/video_renderer_impl_unittest.cc',
@@ -1413,15 +1361,9 @@
}],
['OS=="mac"', {
'sources': [
- 'midi/midi_manager_mac_unittest.cc',
'video/capture/mac/video_capture_device_factory_mac_unittest.mm',
]
}],
- ['use_alsa==1 and use_udev==1', {
- 'sources': [
- 'midi/midi_manager_alsa_unittest.cc',
- ]
- }],
['use_x11==1', {
'dependencies': [
'../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
@@ -1705,8 +1647,6 @@
'base/android/java/src/org/chromium/media/MediaDrmBridge.java',
'base/android/java/src/org/chromium/media/MediaPlayerBridge.java',
'base/android/java/src/org/chromium/media/MediaPlayerListener.java',
- 'base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java',
- 'base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java',
'base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.java',
],
'variables': {
« no previous file with comments | « media/base/android/media_jni_registrar.cc ('k') | media/midi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698