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("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 "midi_manager_alsa.cc", | 143 "midi_manager_alsa.cc", |
144 "midi_manager_alsa.h", | 144 "midi_manager_alsa.h", |
145 ] | 145 ] |
146 } | 146 } |
147 | 147 |
148 if (use_udev) { | 148 if (use_udev) { |
149 deps += [ "//device/udev_linux" ] | 149 deps += [ "//device/udev_linux" ] |
150 } | 150 } |
151 } | 151 } |
152 | 152 |
153 # TODO(GYP): Delete this after we've converted everything to GN. | |
154 # The _run targets exist only for compatibility w/ GYP. | |
155 group("midi_unittests_run") { | |
156 testonly = true | |
157 deps = [ | |
158 ":midi_unittests", | |
159 ] | |
160 } | |
161 | |
162 test("midi_unittests") { | 153 test("midi_unittests") { |
163 sources = [ | 154 sources = [ |
164 "midi_manager_unittest.cc", | 155 "midi_manager_unittest.cc", |
165 "midi_manager_usb_unittest.cc", | 156 "midi_manager_usb_unittest.cc", |
166 "midi_message_queue_unittest.cc", | 157 "midi_message_queue_unittest.cc", |
167 "midi_message_util_unittest.cc", | 158 "midi_message_util_unittest.cc", |
168 "usb_midi_descriptor_parser_unittest.cc", | 159 "usb_midi_descriptor_parser_unittest.cc", |
169 "usb_midi_input_stream_unittest.cc", | 160 "usb_midi_input_stream_unittest.cc", |
170 "usb_midi_output_stream_unittest.cc", | 161 "usb_midi_output_stream_unittest.cc", |
171 ] | 162 ] |
(...skipping 20 matching lines...) Expand all Loading... |
192 } | 183 } |
193 | 184 |
194 if (use_alsa && use_udev) { | 185 if (use_alsa && use_udev) { |
195 sources += [ "midi_manager_alsa_unittest.cc" ] | 186 sources += [ "midi_manager_alsa_unittest.cc" ] |
196 } | 187 } |
197 | 188 |
198 if (use_x11) { | 189 if (use_x11) { |
199 deps += [ "//tools/xdisplaycheck" ] | 190 deps += [ "//tools/xdisplaycheck" ] |
200 } | 191 } |
201 } | 192 } |
OLD | NEW |