Chromium Code Reviews| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 deps += [ | 126 deps += [ |
| 127 ":midi_jni_headers", | 127 ":midi_jni_headers", |
| 128 "//base:i18n", | 128 "//base:i18n", |
| 129 ] | 129 ] |
| 130 } | 130 } |
| 131 | 131 |
| 132 if (is_mac) { | 132 if (is_mac) { |
| 133 libs += [ | 133 libs += [ |
| 134 "CoreAudio.framework", | 134 "CoreAudio.framework", |
| 135 "CoreFoundation.framework", | 135 "CoreFoundation.framework", |
| 136 "CoreMIDI.framework", | 136 "CoreMIDI.framework", |
|
tapted
2016/11/25 00:51:29
(note it appears here as `MIDI`, just not for midi
| |
| 137 ] | 137 ] |
| 138 } | 138 } |
| 139 | 139 |
| 140 if (is_win) { | 140 if (is_win) { |
| 141 deps += [ "//device/usb" ] | 141 deps += [ "//device/usb" ] |
| 142 sources += [ | 142 sources += [ |
| 143 "midi_manager_win.cc", | 143 "midi_manager_win.cc", |
| 144 "midi_manager_win.h", | 144 "midi_manager_win.h", |
| 145 "midi_manager_winrt.cc", | 145 "midi_manager_winrt.cc", |
| 146 "midi_manager_winrt.h", | 146 "midi_manager_winrt.h", |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 195 ] | 195 ] |
| 196 | 196 |
| 197 if (is_android) { | 197 if (is_android) { |
| 198 deps += [ ":midi_java" ] | 198 deps += [ ":midi_java" ] |
| 199 } else { | 199 } else { |
| 200 sources += usb_midi_sources | 200 sources += usb_midi_sources |
| 201 } | 201 } |
| 202 | 202 |
| 203 if (is_mac) { | 203 if (is_mac) { |
| 204 sources += [ "midi_manager_mac_unittest.cc" ] | 204 sources += [ "midi_manager_mac_unittest.cc" ] |
| 205 libs = [ "CoreMidi.framework" ] | 205 libs = [ "CoreMIDI.framework" ] |
| 206 } | 206 } |
| 207 | 207 |
| 208 if (use_alsa && use_udev) { | 208 if (use_alsa && use_udev) { |
| 209 sources += [ "midi_manager_alsa_unittest.cc" ] | 209 sources += [ "midi_manager_alsa_unittest.cc" ] |
| 210 } | 210 } |
| 211 | 211 |
| 212 if (use_x11) { | 212 if (use_x11) { |
| 213 deps += [ "//tools/xdisplaycheck" ] | 213 deps += [ "//tools/xdisplaycheck" ] |
| 214 } | 214 } |
| 215 | 215 |
| 216 # This target should not require the Chrome executable to run. | 216 # This target should not require the Chrome executable to run. |
| 217 assert_no_deps = [ "//chrome" ] | 217 assert_no_deps = [ "//chrome" ] |
| 218 } | 218 } |
| OLD | NEW |