Index: media/base/android/BUILD.gn |
diff --git a/media/base/android/BUILD.gn b/media/base/android/BUILD.gn |
index 5df4dc35e088d559f6bfd74ce413a308533157ad..299220c76891e8af6c5b4ae6e131421d2e329b8d 100644 |
--- a/media/base/android/BUILD.gn |
+++ b/media/base/android/BUILD.gn |
@@ -89,3 +89,25 @@ generate_jni("video_capture_jni_headers") { |
] |
jni_package = "media" |
} |
+ |
+java_cpp_template("media_android_imageformat_list") { |
+ package_name = "org/chromium/media" |
+ sources = [ |
+ "java/src/org/chromium/media/ImageFormat.template", |
+ ] |
+ inputs = [ |
+ "//media/video/capture/android/imageformat_list.h" |
+ ] |
+} |
+ |
+android_library("media_java") { |
+ deps = [ |
+ "//base:base_java", |
+ ] |
+ |
+ srcjar_deps = [ |
+ ":media_android_imageformat_list", |
+ ] |
+ |
+ DEPRECATED_java_in_dir = "java/src" |
+} |