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

Side by Side Diff: webrtc/sdk/android/BUILD.gn

Issue 2646443002: Creating libwebrtc bundle jar (Closed)
Patch Set: Skipping base_java in chromium builds Created 3 years, 11 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
« no previous file with comments | « webrtc/modules/audio_device/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//webrtc/build/webrtc.gni") 9 import("//webrtc/build/webrtc.gni")
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 suppressed_configs += [ "//build/config/android:hide_native_jni_exports" ] 103 suppressed_configs += [ "//build/config/android:hide_native_jni_exports" ]
104 104
105 deps = [ 105 deps = [
106 ":libjingle_peerconnection_jni", 106 ":libjingle_peerconnection_jni",
107 ":libjingle_peerconnection_metrics_default_jni", 107 ":libjingle_peerconnection_metrics_default_jni",
108 "//webrtc/api:libjingle_peerconnection", 108 "//webrtc/api:libjingle_peerconnection",
109 ] 109 ]
110 output_extension = "so" 110 output_extension = "so"
111 } 111 }
112 112
113 dist_jar("libwebrtc") {
114 _target_dir_name = get_label_info(":$target_name", "dir")
115 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar"
116 direct_deps_only = true
117 use_interface_jars = false
118 deps = [
119 ":libjingle_peerconnection_java",
120 ":libjingle_peerconnection_metrics_default_java",
121 "//webrtc/base:base_java",
122 "//webrtc/modules/audio_device:audio_device_java",
123 ]
124 }
125
113 android_library("libjingle_peerconnection_java") { 126 android_library("libjingle_peerconnection_java") {
114 java_files = [ 127 java_files = [
115 "api/org/webrtc/AudioSource.java", 128 "api/org/webrtc/AudioSource.java",
116 "api/org/webrtc/AudioTrack.java", 129 "api/org/webrtc/AudioTrack.java",
117 "api/org/webrtc/CallSessionFileRotatingLogSink.java", 130 "api/org/webrtc/CallSessionFileRotatingLogSink.java",
118 "api/org/webrtc/Camera1Capturer.java", 131 "api/org/webrtc/Camera1Capturer.java",
119 "api/org/webrtc/Camera1Enumerator.java", 132 "api/org/webrtc/Camera1Enumerator.java",
120 "api/org/webrtc/Camera1Session.java", 133 "api/org/webrtc/Camera1Session.java",
121 "api/org/webrtc/Camera2Capturer.java", 134 "api/org/webrtc/Camera2Capturer.java",
122 "api/org/webrtc/Camera2Enumerator.java", 135 "api/org/webrtc/Camera2Enumerator.java",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 "api/org/webrtc/VideoFileRenderer.java", 177 "api/org/webrtc/VideoFileRenderer.java",
165 "api/org/webrtc/VideoRenderer.java", 178 "api/org/webrtc/VideoRenderer.java",
166 "api/org/webrtc/VideoRendererGui.java", 179 "api/org/webrtc/VideoRendererGui.java",
167 "api/org/webrtc/VideoSource.java", 180 "api/org/webrtc/VideoSource.java",
168 "api/org/webrtc/VideoTrack.java", 181 "api/org/webrtc/VideoTrack.java",
169 "api/org/webrtc/YuvConverter.java", 182 "api/org/webrtc/YuvConverter.java",
170 ] 183 ]
171 184
172 deps = [ 185 deps = [
173 "//webrtc/base:base_java", 186 "//webrtc/base:base_java",
187 "//webrtc/modules/audio_device:audio_device_java",
174 ] 188 ]
175
176 srcjar_deps = [ "//webrtc/modules/audio_device:audio_device_java" ]
177 } 189 }
178 190
179 android_library("libjingle_peerconnection_metrics_default_java") { 191 android_library("libjingle_peerconnection_metrics_default_java") {
180 java_files = [ "api/org/webrtc/Metrics.java" ] 192 java_files = [ "api/org/webrtc/Metrics.java" ]
181 193
182 deps = [ 194 deps = [
183 "//webrtc/base:base_java", 195 "//webrtc/base:base_java",
184 ] 196 ]
185 } 197 }
186 198
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "//third_party/android_support_test_runner:runner_java", 230 "//third_party/android_support_test_runner:runner_java",
219 "//third_party/junit", 231 "//third_party/junit",
220 "//webrtc/base:base_java", 232 "//webrtc/base:base_java",
221 "//webrtc/sdk/android:libjingle_peerconnection_java", 233 "//webrtc/sdk/android:libjingle_peerconnection_java",
222 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", 234 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java",
223 ] 235 ]
224 236
225 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] 237 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ]
226 } 238 }
227 } 239 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698