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

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: 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 "webaudio_media_codec_info.h", 52 "webaudio_media_codec_info.h",
53 ] 53 ]
54 configs += [ 54 configs += [
55 "//media:media_config", 55 "//media:media_config",
56 "//media:media_implementation", 56 "//media:media_implementation",
57 ] 57 ]
58 deps = [ 58 deps = [
59 ":media_jni_headers", 59 ":media_jni_headers",
60 "//media:shared_memory_support", 60 "//media:shared_memory_support",
61 "//third_party/widevine/cdm:version_h", 61 "//third_party/widevine/cdm:version_h",
62 "//third_party/webrtc/base",
62 "//ui/gl", 63 "//ui/gl",
63 "//url", 64 "//url",
64 ] 65 ]
65 } 66 }
66 67
67 source_set("unittests") { 68 source_set("unittests") {
68 testonly = true 69 testonly = true
69 sources = [ 70 sources = [
70 "media_codec_bridge_unittest.cc", 71 "media_codec_bridge_unittest.cc",
71 "media_drm_bridge_unittest.cc", 72 "media_drm_bridge_unittest.cc",
(...skipping 23 matching lines...) Expand all
95 } 96 }
96 97
97 generate_jni("video_capture_jni_headers") { 98 generate_jni("video_capture_jni_headers") {
98 sources = [ 99 sources = [
99 "java/src/org/chromium/media/VideoCapture.java", 100 "java/src/org/chromium/media/VideoCapture.java",
100 "java/src/org/chromium/media/VideoCaptureFactory.java", 101 "java/src/org/chromium/media/VideoCaptureFactory.java",
101 ] 102 ]
102 jni_package = "media" 103 jni_package = "media"
103 } 104 }
104 105
106 generate_jni("screen_capture_jni_headers") {
107 sources = [
108 "java/src/org/chromium/media/ScreenCapture.java",
109 "java/src/org/chromium/media/ScreenCaptureFactory.java",
110 ]
111 jni_package = "media"
112 }
113
105 java_cpp_enum("media_java_enums_srcjar") { 114 java_cpp_enum("media_java_enums_srcjar") {
106 sources = [ 115 sources = [
107 "//media/video/capture/android/video_capture_device_android.h", 116 "//media/video/capture/android/video_capture_device_android.h",
108 "//media/video/capture/video_capture_device.h", 117 "//media/video/capture/video_capture_device.h",
109 ] 118 ]
110 outputs = [ 119 outputs = [
111 "org/chromium/media/AndroidImageFormat.java", 120 "org/chromium/media/AndroidImageFormat.java",
112 "org/chromium/media/CaptureApiType.java", 121 "org/chromium/media/CaptureApiType.java",
113 ] 122 ]
114 } 123 }
115 124
116 android_library("media_java") { 125 android_library("media_java") {
117 deps = [ 126 deps = [
118 "//base:base_java", 127 "//base:base_java",
119 ] 128 ]
120 129
121 srcjar_deps = [ ":media_java_enums_srcjar" ] 130 srcjar_deps = [ ":media_java_enums_srcjar" ]
122 131
123 DEPRECATED_java_in_dir = "java/src" 132 DEPRECATED_java_in_dir = "java/src"
124 } 133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698