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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 configs += [ ":midi_config" ] | 173 configs += [ ":midi_config" ] |
174 deps = [ | 174 deps = [ |
175 ":midi", | 175 ":midi", |
176 "//base/test/:run_all_unittests", | 176 "//base/test/:run_all_unittests", |
177 "//base/test/:test_support", | 177 "//base/test/:test_support", |
178 "//testing/gtest", | 178 "//testing/gtest", |
179 ] | 179 ] |
180 | 180 |
181 if (is_android) { | 181 if (is_android) { |
182 apk_deps = [ ":midi_java" ] | 182 deps += [ ":midi_java" ] |
183 isolate_file = "midi_unittests.isolate" | 183 isolate_file = "midi_unittests.isolate" |
184 } | 184 } |
185 | 185 |
186 if (!is_android) { | 186 if (!is_android) { |
187 sources += usb_midi_sources | 187 sources += usb_midi_sources |
188 } | 188 } |
189 | 189 |
190 if (is_mac) { | 190 if (is_mac) { |
191 sources += [ "midi_manager_mac_unittest.cc" ] | 191 sources += [ "midi_manager_mac_unittest.cc" ] |
192 } | 192 } |
193 | 193 |
194 if (use_alsa && use_udev) { | 194 if (use_alsa && use_udev) { |
195 sources += [ "midi_manager_alsa_unittest.cc" ] | 195 sources += [ "midi_manager_alsa_unittest.cc" ] |
196 } | 196 } |
197 | 197 |
198 if (use_x11) { | 198 if (use_x11) { |
199 deps += [ "//tools/xdisplaycheck" ] | 199 deps += [ "//tools/xdisplaycheck" ] |
200 } | 200 } |
201 } | 201 } |
OLD | NEW |