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 if (is_android) { | 10 if (is_android) { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "//media/base:test_support", | 114 "//media/base:test_support", |
115 "//testing/gmock", | 115 "//testing/gmock", |
116 "//testing/gtest", | 116 "//testing/gtest", |
117 ] | 117 ] |
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/CodecProfileLevelList.java", | 125 "java/src/org/chromium/media/CodecProfileLevelList.java", |
125 "java/src/org/chromium/media/MediaCodecBridge.java", | 126 "java/src/org/chromium/media/MediaCodecBridge.java", |
126 "java/src/org/chromium/media/MediaCodecUtil.java", | 127 "java/src/org/chromium/media/MediaCodecUtil.java", |
127 "java/src/org/chromium/media/MediaDrmBridge.java", | 128 "java/src/org/chromium/media/MediaDrmBridge.java", |
128 "java/src/org/chromium/media/MediaDrmStorageBridge.java", | 129 "java/src/org/chromium/media/MediaDrmStorageBridge.java", |
129 "java/src/org/chromium/media/MediaPlayerBridge.java", | 130 "java/src/org/chromium/media/MediaPlayerBridge.java", |
130 "java/src/org/chromium/media/MediaPlayerListener.java", | 131 "java/src/org/chromium/media/MediaPlayerListener.java", |
131 "java/src/org/chromium/media/MediaServerCrashListener.java", | 132 "java/src/org/chromium/media/MediaServerCrashListener.java", |
132 ] | 133 ] |
133 jni_package = "media" | 134 jni_package = "media" |
(...skipping 17 matching lines...) Expand all Loading... |
151 "//base:base_java", | 152 "//base:base_java", |
152 "//third_party/android_tools:android_support_annotations_java", | 153 "//third_party/android_tools:android_support_annotations_java", |
153 ] | 154 ] |
154 srcjar_deps = [ | 155 srcjar_deps = [ |
155 ":java_enums", | 156 ":java_enums", |
156 "//media/base:java_enums", | 157 "//media/base:java_enums", |
157 ] | 158 ] |
158 java_files = [ | 159 java_files = [ |
159 "java/src/org/chromium/media/AudioManagerAndroid.java", | 160 "java/src/org/chromium/media/AudioManagerAndroid.java", |
160 "java/src/org/chromium/media/AudioRecordInput.java", | 161 "java/src/org/chromium/media/AudioRecordInput.java", |
| 162 "java/src/org/chromium/media/AudioTrackOutputStream.java", |
161 "java/src/org/chromium/media/CodecProfileLevelList.java", | 163 "java/src/org/chromium/media/CodecProfileLevelList.java", |
162 "java/src/org/chromium/media/MediaCodecBridge.java", | 164 "java/src/org/chromium/media/MediaCodecBridge.java", |
163 "java/src/org/chromium/media/MediaCodecUtil.java", | 165 "java/src/org/chromium/media/MediaCodecUtil.java", |
164 "java/src/org/chromium/media/MediaDrmBridge.java", | 166 "java/src/org/chromium/media/MediaDrmBridge.java", |
165 "java/src/org/chromium/media/MediaDrmSessionManager.java", | 167 "java/src/org/chromium/media/MediaDrmSessionManager.java", |
166 "java/src/org/chromium/media/MediaDrmStorageBridge.java", | 168 "java/src/org/chromium/media/MediaDrmStorageBridge.java", |
167 "java/src/org/chromium/media/MediaPlayerBridge.java", | 169 "java/src/org/chromium/media/MediaPlayerBridge.java", |
168 "java/src/org/chromium/media/MediaPlayerListener.java", | 170 "java/src/org/chromium/media/MediaPlayerListener.java", |
169 "java/src/org/chromium/media/MediaServerCrashListener.java", | 171 "java/src/org/chromium/media/MediaServerCrashListener.java", |
170 "java/src/org/chromium/media/MediaSwitches.java", | 172 "java/src/org/chromium/media/MediaSwitches.java", |
171 ] | 173 ] |
172 } | 174 } |
| 175 |
| 176 junit_binary("media_base_junit_tests") { |
| 177 java_files = |
| 178 [ "java/src/test/org/chromium/media/AudioTrackOutputStreamTest.java" ] |
| 179 deps = [ |
| 180 ":media_java", |
| 181 "//base:base_java", |
| 182 "//base:base_java_test_support", |
| 183 "//third_party/junit", |
| 184 ] |
| 185 } |
173 } | 186 } |
OLD | NEW |