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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "usb_midi_output_stream.h", | 42 "usb_midi_output_stream.h", |
43 ] | 43 ] |
44 | 44 |
45 # Android specific Java source files that are used to generate jni header files. | 45 # Android specific Java source files that are used to generate jni header files. |
46 if (is_android) { | 46 if (is_android) { |
47 android_library("midi_java") { | 47 android_library("midi_java") { |
48 deps = [ | 48 deps = [ |
49 "//base:base_java", | 49 "//base:base_java", |
50 ] | 50 ] |
51 | 51 |
52 DEPRECATED_java_in_dir = "java/src" | 52 java_files = [ |
| 53 "java/src/org/chromium/media/midi/MidiDeviceAndroid.java", |
| 54 "java/src/org/chromium/media/midi/MidiInputPortAndroid.java", |
| 55 "java/src/org/chromium/media/midi/MidiManagerAndroid.java", |
| 56 "java/src/org/chromium/media/midi/MidiOutputPortAndroid.java", |
| 57 "java/src/org/chromium/media/midi/UsbMidiDeviceAndroid.java", |
| 58 "java/src/org/chromium/media/midi/UsbMidiDeviceFactoryAndroid.java", |
| 59 ] |
53 } | 60 } |
54 | 61 |
55 generate_jni("midi_jni_headers") { | 62 generate_jni("midi_jni_headers") { |
56 sources = [ | 63 sources = [ |
57 "java/src/org/chromium/media/midi/MidiDeviceAndroid.java", | 64 "java/src/org/chromium/media/midi/MidiDeviceAndroid.java", |
58 "java/src/org/chromium/media/midi/MidiInputPortAndroid.java", | 65 "java/src/org/chromium/media/midi/MidiInputPortAndroid.java", |
59 "java/src/org/chromium/media/midi/MidiManagerAndroid.java", | 66 "java/src/org/chromium/media/midi/MidiManagerAndroid.java", |
60 "java/src/org/chromium/media/midi/MidiOutputPortAndroid.java", | 67 "java/src/org/chromium/media/midi/MidiOutputPortAndroid.java", |
61 "java/src/org/chromium/media/midi/UsbMidiDeviceAndroid.java", | 68 "java/src/org/chromium/media/midi/UsbMidiDeviceAndroid.java", |
62 "java/src/org/chromium/media/midi/UsbMidiDeviceFactoryAndroid.java", | 69 "java/src/org/chromium/media/midi/UsbMidiDeviceFactoryAndroid.java", |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 } | 190 } |
184 | 191 |
185 if (use_alsa && use_udev) { | 192 if (use_alsa && use_udev) { |
186 sources += [ "midi_manager_alsa_unittest.cc" ] | 193 sources += [ "midi_manager_alsa_unittest.cc" ] |
187 } | 194 } |
188 | 195 |
189 if (use_x11) { | 196 if (use_x11) { |
190 deps += [ "//tools/xdisplaycheck" ] | 197 deps += [ "//tools/xdisplaycheck" ] |
191 } | 198 } |
192 } | 199 } |
OLD | NEW |