OLD | NEW |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "midi_message_queue.cc", | 85 "midi_message_queue.cc", |
86 "midi_message_queue.h", | 86 "midi_message_queue.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_service.cc", | 91 "midi_service.cc", |
92 "midi_service.h", | 92 "midi_service.h", |
93 "midi_switches.cc", | 93 "midi_switches.cc", |
94 "midi_switches.h", | 94 "midi_switches.h", |
| 95 "task_service.cc", |
| 96 "task_service.h", |
95 ] | 97 ] |
96 | 98 |
97 configs += [ ":midi_config" ] | 99 configs += [ ":midi_config" ] |
98 | 100 |
99 defines = [ "MIDI_IMPLEMENTATION" ] | 101 defines = [ "MIDI_IMPLEMENTATION" ] |
100 deps = [ | 102 deps = [ |
101 ":mojo", | 103 ":mojo", |
102 "//base", | 104 "//base", |
103 ] | 105 ] |
104 libs = [] | 106 libs = [] |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 "midi_service.mojom", | 178 "midi_service.mojom", |
177 ] | 179 ] |
178 } | 180 } |
179 | 181 |
180 test("midi_unittests") { | 182 test("midi_unittests") { |
181 sources = [ | 183 sources = [ |
182 "message_util_unittest.cc", | 184 "message_util_unittest.cc", |
183 "midi_manager_unittest.cc", | 185 "midi_manager_unittest.cc", |
184 "midi_manager_usb_unittest.cc", | 186 "midi_manager_usb_unittest.cc", |
185 "midi_message_queue_unittest.cc", | 187 "midi_message_queue_unittest.cc", |
| 188 "task_service_unittest.cc", |
186 "usb_midi_descriptor_parser_unittest.cc", | 189 "usb_midi_descriptor_parser_unittest.cc", |
187 "usb_midi_input_stream_unittest.cc", | 190 "usb_midi_input_stream_unittest.cc", |
188 "usb_midi_output_stream_unittest.cc", | 191 "usb_midi_output_stream_unittest.cc", |
189 ] | 192 ] |
190 | 193 |
191 configs += [ ":midi_config" ] | 194 configs += [ ":midi_config" ] |
192 deps = [ | 195 deps = [ |
193 ":midi", | 196 ":midi", |
194 "//base/test/:run_all_unittests", | 197 "//base/test/:run_all_unittests", |
195 "//base/test/:test_support", | 198 "//base/test/:test_support", |
(...skipping 11 matching lines...) Expand all Loading... |
207 libs = [ "CoreMIDI.framework" ] | 210 libs = [ "CoreMIDI.framework" ] |
208 } | 211 } |
209 | 212 |
210 if (use_alsa && use_udev) { | 213 if (use_alsa && use_udev) { |
211 sources += [ "midi_manager_alsa_unittest.cc" ] | 214 sources += [ "midi_manager_alsa_unittest.cc" ] |
212 } | 215 } |
213 | 216 |
214 # This target should not require the Chrome executable to run. | 217 # This target should not require the Chrome executable to run. |
215 assert_no_deps = [ "//chrome" ] | 218 assert_no_deps = [ "//chrome" ] |
216 } | 219 } |
OLD | NEW |