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

Unified Diff: media/midi/midi.gyp

Issue 1121363002: GN Windows component build fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@component2
Patch Set: . Created 5 years, 7 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/midi/BUILD.gn ('k') | media/midi/midi_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi.gyp
diff --git a/media/midi/midi.gyp b/media/midi/midi.gyp
index 554f1a977b2f206663a6c477944f511d4b9bb47b..ec5448d852d44bbf301b4679b023533ce27359a6 100644
--- a/media/midi/midi.gyp
+++ b/media/midi/midi.gyp
@@ -20,6 +20,7 @@
'usb_midi_descriptor_parser.cc',
'usb_midi_descriptor_parser.h',
'usb_midi_device.h',
+ 'usb_midi_export.h',
'usb_midi_input_stream.cc',
'usb_midi_input_stream.h',
'usb_midi_jack.h',
@@ -36,12 +37,13 @@
'../../base/base.gyp:base',
],
'defines': [
- 'MEDIA_IMPLEMENTATION',
+ 'MIDI_IMPLEMENTATION',
],
'include_dirs': [
'../..',
],
'sources': [
+ 'midi_export.h',
'midi_manager.cc',
'midi_manager.h',
'midi_manager_android.cc',
@@ -98,6 +100,9 @@
'midi_jni_registrar.cc',
'midi_jni_registrar.h',
],
+ 'defines': [
+ 'EXPORT_USB_MIDI',
+ ],
}],
['OS=="mac"', {
'link_settings': {
@@ -124,9 +129,6 @@
'../../base/base.gyp:run_all_unittests',
'../../testing/gtest.gyp:gtest',
],
- 'defines': [
- 'MEDIA_IMPLEMENTATION',
- ],
'include_dirs': [
'../..',
],
« no previous file with comments | « media/midi/BUILD.gn ('k') | media/midi/midi_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698