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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 ] | 148 ] |
149 | 149 |
150 configs += [ ":midi_config" ] | 150 configs += [ ":midi_config" ] |
151 deps = [ | 151 deps = [ |
152 ":midi", | 152 ":midi", |
153 "//base/test/:run_all_unittests", | 153 "//base/test/:run_all_unittests", |
154 "//base/test/:test_support", | 154 "//base/test/:test_support", |
155 "//testing/gtest", | 155 "//testing/gtest", |
156 ] | 156 ] |
157 | 157 |
| 158 if (is_android) { |
| 159 isolate_file = "midi_unittests.isolate" |
| 160 } |
| 161 |
158 if (!is_android) { | 162 if (!is_android) { |
159 sources += usb_midi_sources | 163 sources += usb_midi_sources |
160 } | 164 } |
161 | 165 |
162 if (is_mac) { | 166 if (is_mac) { |
163 sources += [ "midi_manager_mac_unittest.cc" ] | 167 sources += [ "midi_manager_mac_unittest.cc" ] |
164 } | 168 } |
165 | 169 |
166 if (use_alsa && use_udev) { | 170 if (use_alsa && use_udev) { |
167 sources += [ "midi_manager_alsa_unittest.cc" ] | 171 sources += [ "midi_manager_alsa_unittest.cc" ] |
168 } | 172 } |
169 | 173 |
170 if (use_x11) { | 174 if (use_x11) { |
171 deps += [ "//tools/xdisplaycheck" ] | 175 deps += [ "//tools/xdisplaycheck" ] |
172 } | 176 } |
173 } | 177 } |
OLD | NEW |