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

Unified Diff: media/capture/video/android/BUILD.gn

Issue 1705333003: Move VideoCapture* files from media/base/android/... to media/capture/video/android/java/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reuploaded w --similarity=75 Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: media/capture/video/android/BUILD.gn
diff --git a/media/capture/video/android/BUILD.gn b/media/capture/video/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..5eab88e853f2db739a27b9e6d08d75aff7275f72
--- /dev/null
+++ b/media/capture/video/android/BUILD.gn
@@ -0,0 +1,36 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/config.gni")
+import("//build/config/android/rules.gni")
+import("//build/config/arm.gni")
+import("//build/config/ui.gni")
+import("//media/media_options.gni")
+
+assert(is_android)
+
+generate_jni("video_capture_jni_headers") {
+ sources = [
+ "java/src/org/chromium/media/VideoCapture.java",
+ "java/src/org/chromium/media/VideoCaptureFactory.java",
+ ]
+ jni_package = "media"
+}
+
+java_cpp_enum("media_java_enums_srcjar") {
+ sources = [
+ "../video_capture_device.h",
+ "video_capture_device_android.h",
+ ]
+}
+
+android_library("media_java") {
+ deps = [
+ "//base:base_java",
+ ]
+
+ srcjar_deps = [ ":media_java_enums_srcjar" ]
+
+ DEPRECATED_java_in_dir = "java/src"
+}

Powered by Google App Engine
This is Rietveld 408576698