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

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

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase + ui changes. Created 5 years, 3 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/media_options.gni ('k') | net/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
11 if (is_android) { 11 if (is_android) {
12 # For generate_jni(). 12 # For generate_jni().
13 import("//build/config/android/rules.gni") 13 import("//build/config/android/rules.gni")
14 } 14 }
15 15
16 # Common configuration for targets in the media/midi directory. 16 # Common configuration for targets in the media/midi directory.
17 config("midi_config") { 17 config("midi_config") {
18 if (use_alsa) { 18 if (use_alsa && use_udev) {
19 defines = [ 19 defines = [
20 "USE_ALSA", 20 "USE_ALSA",
21 "USE_UDEV", 21 "USE_UDEV",
22 ] 22 ]
23 } 23 }
24 24
25 visibility = [ ":*" ] 25 visibility = [ ":*" ]
26 } 26 }
27 27
28 # USB MIDI specific source files that are used in Android port, and unit tests. 28 # USB MIDI specific source files that are used in Android port, and unit tests.
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 191 }
192 192
193 if (use_alsa && use_udev) { 193 if (use_alsa && use_udev) {
194 sources += [ "midi_manager_alsa_unittest.cc" ] 194 sources += [ "midi_manager_alsa_unittest.cc" ]
195 } 195 }
196 196
197 if (use_x11) { 197 if (use_x11) {
198 deps += [ "//tools/xdisplaycheck" ] 198 deps += [ "//tools/xdisplaycheck" ]
199 } 199 }
200 } 200 }
OLDNEW
« no previous file with comments | « media/media_options.gni ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698