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

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

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « media/cast/BUILD.gn ('k') | mojo/BUILD.gn » ('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("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
153 test("midi_unittests") { 162 test("midi_unittests") {
154 sources = [ 163 sources = [
155 "midi_manager_unittest.cc", 164 "midi_manager_unittest.cc",
156 "midi_manager_usb_unittest.cc", 165 "midi_manager_usb_unittest.cc",
157 "midi_message_queue_unittest.cc", 166 "midi_message_queue_unittest.cc",
158 "midi_message_util_unittest.cc", 167 "midi_message_util_unittest.cc",
159 "usb_midi_descriptor_parser_unittest.cc", 168 "usb_midi_descriptor_parser_unittest.cc",
160 "usb_midi_input_stream_unittest.cc", 169 "usb_midi_input_stream_unittest.cc",
161 "usb_midi_output_stream_unittest.cc", 170 "usb_midi_output_stream_unittest.cc",
162 ] 171 ]
(...skipping 20 matching lines...) Expand all
183 } 192 }
184 193
185 if (use_alsa && use_udev) { 194 if (use_alsa && use_udev) {
186 sources += [ "midi_manager_alsa_unittest.cc" ] 195 sources += [ "midi_manager_alsa_unittest.cc" ]
187 } 196 }
188 197
189 if (use_x11) { 198 if (use_x11) {
190 deps += [ "//tools/xdisplaycheck" ] 199 deps += [ "//tools/xdisplaycheck" ]
191 } 200 }
192 } 201 }
OLDNEW
« no previous file with comments | « media/cast/BUILD.gn ('k') | mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698