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

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

Issue 1714913002: Reland: 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: gyp-gn files and added a capture_jni_registrar 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
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/capture/video/android/capture_jni_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..496481e63a697a228c6a39e9ce45e584df18f360
--- /dev/null
+++ b/media/capture/video/android/BUILD.gn
@@ -0,0 +1,50 @@
+# 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)
+
+source_set("android") {
+ sources = [
+ "capture_jni_registrar.cc",
+ "capture_jni_registrar.h",
+ ]
+ configs += [
+ "//media:media_config",
+ "//media:media_implementation",
+ ]
+ deps = [
+ ":capture_jni_headers",
+ ]
+}
+
+generate_jni("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("capture_java") {
+ deps = [
+ "//base:base_java",
+ ]
+
+ srcjar_deps = [ ":media_java_enums_srcjar" ]
+
+ DEPRECATED_java_in_dir = "java/src"
+}
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/capture/video/android/capture_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698