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

Unified Diff: media/midi/BUILD.gn

Issue 2243183002: Web MIDI backend for Windows 10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: media/midi/BUILD.gn
diff --git a/media/midi/BUILD.gn b/media/midi/BUILD.gn
index cfeb039968141daa27e546d6083a43844dc981fb..61d899f0db3b732200b1520e4cd2a6c17397f688 100644
--- a/media/midi/BUILD.gn
+++ b/media/midi/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/android/config.gni")
+import("//build/config/win/midi_winrt.gni")
import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//media/media_options.gni")
@@ -79,8 +80,6 @@ component("midi") {
"midi_manager.h",
"midi_manager_mac.cc",
"midi_manager_mac.h",
- "midi_manager_win.cc",
- "midi_manager_win.h",
"midi_message_queue.cc",
"midi_message_queue.h",
"midi_message_util.cc",
@@ -139,6 +138,14 @@ component("midi") {
if (is_win) {
deps += [ "//device/usb" ]
Takashi Toyoshima 2016/08/15 08:46:23 Hum... this line 140 might be an existing bug. I m
Shao-Chuan Lee 2016/08/16 07:42:24 Will have it removed in another CL.
+ sources += [ "midi_manager_win.h" ]
Takashi Toyoshima 2016/08/15 08:46:23 I think we should have a dedicated header, _winrt.
Shao-Chuan Lee 2016/08/16 07:42:24 Done.
+
+ if (midi_winrt) {
+ sources += [ "midi_manager_winrt.cc" ]
+ libs += [ "runtimeobject.lib" ]
Takashi Toyoshima 2016/08/15 08:46:23 Can you add TODO(crbug.com/512433) with comments f
Shao-Chuan Lee 2016/08/16 07:42:24 Done.
+ } else {
+ sources += [ "midi_manager_win.cc" ]
+ }
}
if (use_alsa && use_udev) {

Powered by Google App Engine
This is Rietveld 408576698