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

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

Issue 2628933004: Add a distribution JAR for WebRTC Android SDK. (Closed)
Patch Set: 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 | « no previous file | 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 } 177 }
178 178
179 android_library("libjingle_peerconnection_metrics_default_java") { 179 android_library("libjingle_peerconnection_metrics_default_java") {
180 java_files = [ "api/org/webrtc/Metrics.java" ] 180 java_files = [ "api/org/webrtc/Metrics.java" ]
181 181
182 deps = [ 182 deps = [
183 "//webrtc/base:base_java", 183 "//webrtc/base:base_java",
184 ] 184 ]
185 } 185 }
186 186
187 dist_jar("libwebrtc") {
188 deps = [
189 ":libjingle_peerconnection_metrics_default_java",
190 ]
191 output_jar_path = "$target_out_dir/libwebrtc.jar"
192 }
193
187 if (rtc_include_tests) { 194 if (rtc_include_tests) {
188 instrumentation_test_apk("libjingle_peerconnection_android_unittest") { 195 instrumentation_test_apk("libjingle_peerconnection_android_unittest") {
189 apk_name = "libjingle_peerconnection_android_unittest" 196 apk_name = "libjingle_peerconnection_android_unittest"
190 android_manifest = "instrumentationtests/AndroidManifest.xml" 197 android_manifest = "instrumentationtests/AndroidManifest.xml"
191 198
192 java_files = [ 199 java_files = [
193 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.ja va", 200 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.ja va",
194 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java" , 201 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java" ,
195 "instrumentationtests/src/org/webrtc/Camera2CapturerTest.java", 202 "instrumentationtests/src/org/webrtc/Camera2CapturerTest.java",
196 "instrumentationtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java" , 203 "instrumentationtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java" ,
(...skipping 15 matching lines...) Expand all
212 "//third_party/android_support_test_runner:runner_java", 219 "//third_party/android_support_test_runner:runner_java",
213 "//third_party/junit", 220 "//third_party/junit",
214 "//webrtc/base:base_java", 221 "//webrtc/base:base_java",
215 "//webrtc/sdk/android:libjingle_peerconnection_java", 222 "//webrtc/sdk/android:libjingle_peerconnection_java",
216 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", 223 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java",
217 ] 224 ]
218 225
219 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] 226 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ]
220 } 227 }
221 } 228 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698