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

Side by Side Diff: media/base/android/BUILD.gn

Issue 1140113002: Implement screen capture for android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ScreenCaptureMachineAndroid which inherited from content::VideoCaptureMachine Created 5 years, 7 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 unified diff | Download patch
OLDNEW
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 generate_jni("video_capture_jni_headers") { 97 generate_jni("video_capture_jni_headers") {
98 sources = [ 98 sources = [
99 "java/src/org/chromium/media/VideoCapture.java", 99 "java/src/org/chromium/media/VideoCapture.java",
100 "java/src/org/chromium/media/VideoCaptureFactory.java", 100 "java/src/org/chromium/media/VideoCaptureFactory.java",
101 ] 101 ]
102 jni_package = "media" 102 jni_package = "media"
103 } 103 }
104 104
105 generate_jni("screen_capture_jni_headers") {
106 sources = [
107 "java/src/org/chromium/media/ScreenCapture.java",
108 "java/src/org/chromium/media/ScreenCaptureFactory.java",
109 ]
110 jni_package = "media"
111 }
112
105 java_cpp_enum("media_java_enums_srcjar") { 113 java_cpp_enum("media_java_enums_srcjar") {
106 sources = [ 114 sources = [
107 "//media/video/capture/android/video_capture_device_android.h", 115 "//media/video/capture/android/video_capture_device_android.h",
108 "//media/video/capture/video_capture_device.h", 116 "//media/video/capture/video_capture_device.h",
109 ] 117 ]
110 outputs = [ 118 outputs = [
111 "org/chromium/media/AndroidImageFormat.java", 119 "org/chromium/media/AndroidImageFormat.java",
112 "org/chromium/media/CaptureApiType.java", 120 "org/chromium/media/CaptureApiType.java",
113 ] 121 ]
114 } 122 }
115 123
116 android_library("media_java") { 124 android_library("media_java") {
117 deps = [ 125 deps = [
118 "//base:base_java", 126 "//base:base_java",
119 ] 127 ]
120 128
121 srcjar_deps = [ ":media_java_enums_srcjar" ] 129 srcjar_deps = [ ":media_java_enums_srcjar" ]
122 130
123 DEPRECATED_java_in_dir = "java/src" 131 DEPRECATED_java_in_dir = "java/src"
124 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698