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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 | 137 |
138 if (is_win) { | 138 if (is_win) { |
139 deps += [ "//device/usb" ] | 139 deps += [ "//device/usb" ] |
140 sources += [ | 140 sources += [ |
141 "midi_manager_win.cc", | 141 "midi_manager_win.cc", |
142 "midi_manager_win.h", | 142 "midi_manager_win.h", |
143 "midi_manager_winrt.cc", | 143 "midi_manager_winrt.cc", |
144 "midi_manager_winrt.h", | 144 "midi_manager_winrt.h", |
145 ] | 145 ] |
| 146 cflags = [ "/wd4467" ] # usage of ATL attributes is deprecated. |
146 } | 147 } |
147 | 148 |
148 if (use_alsa && use_udev) { | 149 if (use_alsa && use_udev) { |
149 deps += [ | 150 deps += [ |
150 "//crypto", | 151 "//crypto", |
151 "//crypto:platform", | 152 "//crypto:platform", |
152 ] | 153 ] |
153 libs += [ "asound" ] | 154 libs += [ "asound" ] |
154 sources += [ | 155 sources += [ |
155 "midi_manager_alsa.cc", | 156 "midi_manager_alsa.cc", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 sources += [ "midi_manager_alsa_unittest.cc" ] | 197 sources += [ "midi_manager_alsa_unittest.cc" ] |
197 } | 198 } |
198 | 199 |
199 if (use_x11) { | 200 if (use_x11) { |
200 deps += [ "//tools/xdisplaycheck" ] | 201 deps += [ "//tools/xdisplaycheck" ] |
201 } | 202 } |
202 | 203 |
203 # This target should not require the Chrome executable to run. | 204 # This target should not require the Chrome executable to run. |
204 assert_no_deps = [ "//chrome" ] | 205 assert_no_deps = [ "//chrome" ] |
205 } | 206 } |
OLD | NEW |