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/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//build/config/arm.gni") | 7 import("//build/config/arm.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 | 10 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 jni_package = "media" | 82 jni_package = "media" |
83 } | 83 } |
84 | 84 |
85 generate_jni("video_capture_jni_headers") { | 85 generate_jni("video_capture_jni_headers") { |
86 sources = [ | 86 sources = [ |
87 "java/src/org/chromium/media/VideoCapture.java", | 87 "java/src/org/chromium/media/VideoCapture.java", |
88 "java/src/org/chromium/media/VideoCaptureFactory.java", | 88 "java/src/org/chromium/media/VideoCaptureFactory.java", |
89 ] | 89 ] |
90 jni_package = "media" | 90 jni_package = "media" |
91 } | 91 } |
| 92 |
| 93 java_cpp_template("media_android_imageformat_list") { |
| 94 package_name = "org/chromium/media" |
| 95 sources = [ |
| 96 "java/src/org/chromium/media/ImageFormat.template", |
| 97 ] |
| 98 inputs = [ |
| 99 "//media/video/capture/android/imageformat_list.h" |
| 100 ] |
| 101 } |
| 102 |
| 103 android_library("media_java") { |
| 104 deps = [ |
| 105 "//base:base_java", |
| 106 ] |
| 107 |
| 108 srcjar_deps = [ |
| 109 ":media_android_imageformat_list", |
| 110 ] |
| 111 |
| 112 DEPRECATED_java_in_dir = "java/src" |
| 113 } |
OLD | NEW |