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

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

Issue 1829823002: Replace usages of DEPRECATED_java_in_dir with java_files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: zap random comment Created 4 years, 9 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/capture/video/android/BUILD.gn ('k') | net/android/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
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « media/capture/video/android/BUILD.gn ('k') | net/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698