OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/arm.gni") | 6 import("//build/config/arm.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 | 9 |
10 # These should compile on non-android platforms too. | 10 # These should compile on non-android platforms too. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "//testing/gtest", | 114 "//testing/gtest", |
115 "//third_party/widevine/cdm:headers", | 115 "//third_party/widevine/cdm:headers", |
116 ] | 116 ] |
117 configs += [ "//media:media_config" ] | 117 configs += [ "//media:media_config" ] |
118 } | 118 } |
119 | 119 |
120 generate_jni("media_jni_headers") { | 120 generate_jni("media_jni_headers") { |
121 sources = [ | 121 sources = [ |
122 "java/src/org/chromium/media/AudioManagerAndroid.java", | 122 "java/src/org/chromium/media/AudioManagerAndroid.java", |
123 "java/src/org/chromium/media/AudioRecordInput.java", | 123 "java/src/org/chromium/media/AudioRecordInput.java", |
| 124 "java/src/org/chromium/media/AudioTrackOutputStream.java", |
124 "java/src/org/chromium/media/MediaCodecBridge.java", | 125 "java/src/org/chromium/media/MediaCodecBridge.java", |
125 "java/src/org/chromium/media/MediaCodecUtil.java", | 126 "java/src/org/chromium/media/MediaCodecUtil.java", |
126 "java/src/org/chromium/media/MediaDrmBridge.java", | 127 "java/src/org/chromium/media/MediaDrmBridge.java", |
127 "java/src/org/chromium/media/MediaPlayerBridge.java", | 128 "java/src/org/chromium/media/MediaPlayerBridge.java", |
128 "java/src/org/chromium/media/MediaPlayerListener.java", | 129 "java/src/org/chromium/media/MediaPlayerListener.java", |
129 ] | 130 ] |
130 jni_package = "media" | 131 jni_package = "media" |
131 } | 132 } |
132 | 133 |
133 android_library("media_java") { | 134 android_library("media_java") { |
134 deps = [ | 135 deps = [ |
135 "//base:base_java", | 136 "//base:base_java", |
136 ] | 137 ] |
137 | 138 |
138 java_files = [ | 139 java_files = [ |
139 "java/src/org/chromium/media/AudioManagerAndroid.java", | 140 "java/src/org/chromium/media/AudioManagerAndroid.java", |
140 "java/src/org/chromium/media/AudioRecordInput.java", | 141 "java/src/org/chromium/media/AudioRecordInput.java", |
| 142 "java/src/org/chromium/media/AudioTrackOutputStream.java", |
141 "java/src/org/chromium/media/MediaCodecBridge.java", | 143 "java/src/org/chromium/media/MediaCodecBridge.java", |
142 "java/src/org/chromium/media/MediaCodecUtil.java", | 144 "java/src/org/chromium/media/MediaCodecUtil.java", |
143 "java/src/org/chromium/media/MediaDrmBridge.java", | 145 "java/src/org/chromium/media/MediaDrmBridge.java", |
144 "java/src/org/chromium/media/MediaPlayerBridge.java", | 146 "java/src/org/chromium/media/MediaPlayerBridge.java", |
145 "java/src/org/chromium/media/MediaPlayerListener.java", | 147 "java/src/org/chromium/media/MediaPlayerListener.java", |
146 ] | 148 ] |
147 } | 149 } |
148 } | 150 } |
OLD | NEW |