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

Side by Side Diff: media/midi/BUILD.gn

Issue 2431393002: Web MIDI: move MIDI message validating logic into message_util.{cc|h} (Closed)
Patch Set: build fix Created 4 years, 2 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 | « content/browser/media/midi_host_unittest.cc ('k') | media/midi/message_util.h » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "java/src/org/chromium/midi/MidiOutputPortAndroid.java", 68 "java/src/org/chromium/midi/MidiOutputPortAndroid.java",
69 "java/src/org/chromium/midi/UsbMidiDeviceAndroid.java", 69 "java/src/org/chromium/midi/UsbMidiDeviceAndroid.java",
70 "java/src/org/chromium/midi/UsbMidiDeviceFactoryAndroid.java", 70 "java/src/org/chromium/midi/UsbMidiDeviceFactoryAndroid.java",
71 ] 71 ]
72 jni_package = "midi" 72 jni_package = "midi"
73 } 73 }
74 } 74 }
75 75
76 component("midi") { 76 component("midi") {
77 sources = [ 77 sources = [
78 "message_util.cc",
79 "message_util.h",
78 "midi_export.h", 80 "midi_export.h",
79 "midi_manager.cc", 81 "midi_manager.cc",
80 "midi_manager.h", 82 "midi_manager.h",
81 "midi_manager_mac.cc", 83 "midi_manager_mac.cc",
82 "midi_manager_mac.h", 84 "midi_manager_mac.h",
83 "midi_message_queue.cc", 85 "midi_message_queue.cc",
84 "midi_message_queue.h", 86 "midi_message_queue.h",
85 "midi_message_util.cc",
86 "midi_message_util.h",
87 "midi_port_info.cc", 87 "midi_port_info.cc",
88 "midi_port_info.h", 88 "midi_port_info.h",
89 "midi_scheduler.cc", 89 "midi_scheduler.cc",
90 "midi_scheduler.h", 90 "midi_scheduler.h",
91 "midi_switches.cc", 91 "midi_switches.cc",
92 "midi_switches.h", 92 "midi_switches.h",
93 ] 93 ]
94 94
95 configs += [ ":midi_config" ] 95 configs += [ ":midi_config" ]
96 96
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 mojom("mojo") { 172 mojom("mojo") {
173 sources = [ 173 sources = [
174 "midi_service.mojom", 174 "midi_service.mojom",
175 ] 175 ]
176 use_new_wrapper_types = true 176 use_new_wrapper_types = true
177 } 177 }
178 178
179 test("midi_unittests") { 179 test("midi_unittests") {
180 sources = [ 180 sources = [
181 "message_util_unittest.cc",
181 "midi_manager_unittest.cc", 182 "midi_manager_unittest.cc",
182 "midi_manager_usb_unittest.cc", 183 "midi_manager_usb_unittest.cc",
183 "midi_message_queue_unittest.cc", 184 "midi_message_queue_unittest.cc",
184 "midi_message_util_unittest.cc",
185 "usb_midi_descriptor_parser_unittest.cc", 185 "usb_midi_descriptor_parser_unittest.cc",
186 "usb_midi_input_stream_unittest.cc", 186 "usb_midi_input_stream_unittest.cc",
187 "usb_midi_output_stream_unittest.cc", 187 "usb_midi_output_stream_unittest.cc",
188 ] 188 ]
189 189
190 configs += [ ":midi_config" ] 190 configs += [ ":midi_config" ]
191 deps = [ 191 deps = [
192 ":midi", 192 ":midi",
193 "//base/test/:run_all_unittests", 193 "//base/test/:run_all_unittests",
194 "//base/test/:test_support", 194 "//base/test/:test_support",
(...skipping 15 matching lines...) Expand all
210 sources += [ "midi_manager_alsa_unittest.cc" ] 210 sources += [ "midi_manager_alsa_unittest.cc" ]
211 } 211 }
212 212
213 if (use_x11) { 213 if (use_x11) {
214 deps += [ "//tools/xdisplaycheck" ] 214 deps += [ "//tools/xdisplaycheck" ]
215 } 215 }
216 216
217 # This target should not require the Chrome executable to run. 217 # This target should not require the Chrome executable to run.
218 assert_no_deps = [ "//chrome" ] 218 assert_no_deps = [ "//chrome" ]
219 } 219 }
OLDNEW
« no previous file with comments | « content/browser/media/midi_host_unittest.cc ('k') | media/midi/message_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698