| OLD | NEW |
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 ] | 228 ] |
| 229 | 229 |
| 230 suppressed_configs += [ "//build/config/android:hide_native_jni_exports" ] | 230 suppressed_configs += [ "//build/config/android:hide_native_jni_exports" ] |
| 231 | 231 |
| 232 deps = [ | 232 deps = [ |
| 233 ":libjingle_peerconnection", | 233 ":libjingle_peerconnection", |
| 234 ":libjingle_peerconnection_jni", | 234 ":libjingle_peerconnection_jni", |
| 235 ] | 235 ] |
| 236 output_extension = "so" | 236 output_extension = "so" |
| 237 } | 237 } |
| 238 } |
| 238 | 239 |
| 240 # Classes that don't require jni can be used in Chromium. |
| 241 if (is_android) { |
| 239 android_library("libjingle_peerconnection_java") { | 242 android_library("libjingle_peerconnection_java") { |
| 240 java_files = [ | 243 java_files = [ |
| 241 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/BuildInfo
.java", | 244 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/BuildInfo
.java", |
| 242 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioEffects.java", | 245 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioEffects.java", |
| 243 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioManager.java", | 246 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioManager.java", |
| 244 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioRecord.java", | 247 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioRecord.java", |
| 245 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioTrack.java", | 248 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioTrack.java", |
| 246 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioUtils.java", | 249 "../modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAud
ioUtils.java", |
| 247 "android/java/src/org/webrtc/AudioSource.java", | 250 "android/java/src/org/webrtc/AudioSource.java", |
| 248 "android/java/src/org/webrtc/AudioTrack.java", | 251 "android/java/src/org/webrtc/AudioTrack.java", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 "android/java/src/org/webrtc/VideoCapturerAndroid.java", | 298 "android/java/src/org/webrtc/VideoCapturerAndroid.java", |
| 296 "android/java/src/org/webrtc/VideoFileRenderer.java", | 299 "android/java/src/org/webrtc/VideoFileRenderer.java", |
| 297 "android/java/src/org/webrtc/VideoRenderer.java", | 300 "android/java/src/org/webrtc/VideoRenderer.java", |
| 298 "android/java/src/org/webrtc/VideoRendererGui.java", | 301 "android/java/src/org/webrtc/VideoRendererGui.java", |
| 299 "android/java/src/org/webrtc/VideoSource.java", | 302 "android/java/src/org/webrtc/VideoSource.java", |
| 300 "android/java/src/org/webrtc/VideoTrack.java", | 303 "android/java/src/org/webrtc/VideoTrack.java", |
| 301 "android/java/src/org/webrtc/YuvConverter.java", | 304 "android/java/src/org/webrtc/YuvConverter.java", |
| 302 ] | 305 ] |
| 303 | 306 |
| 304 deps = [ | 307 deps = [ |
| 305 "//webrtc/base:base_java", | 308 "../base:base_java", |
| 306 ] | 309 ] |
| 307 } | 310 } |
| 308 } | 311 } |
| 309 | 312 |
| 310 # GYP version: webrtc/api/api.gyp:rtc_stats_api | 313 # GYP version: webrtc/api/api.gyp:rtc_stats_api |
| 311 rtc_source_set("rtc_stats_api") { | 314 rtc_source_set("rtc_stats_api") { |
| 312 cflags = [] | 315 cflags = [] |
| 313 sources = [ | 316 sources = [ |
| 314 "stats/rtcstats.h", | 317 "stats/rtcstats.h", |
| 315 "stats/rtcstats_objects.h", | 318 "stats/rtcstats_objects.h", |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 "androidtests/src/org/webrtc/NetworkMonitorTest.java", | 471 "androidtests/src/org/webrtc/NetworkMonitorTest.java", |
| 469 "androidtests/src/org/webrtc/PeerConnectionTest.java", | 472 "androidtests/src/org/webrtc/PeerConnectionTest.java", |
| 470 "androidtests/src/org/webrtc/RendererCommonTest.java", | 473 "androidtests/src/org/webrtc/RendererCommonTest.java", |
| 471 "androidtests/src/org/webrtc/SurfaceTextureHelperTest.java", | 474 "androidtests/src/org/webrtc/SurfaceTextureHelperTest.java", |
| 472 "androidtests/src/org/webrtc/SurfaceViewRendererOnMeasureTest.java", | 475 "androidtests/src/org/webrtc/SurfaceViewRendererOnMeasureTest.java", |
| 473 ] | 476 ] |
| 474 | 477 |
| 475 deps = [ | 478 deps = [ |
| 476 ":libjingle_peerconnection_android_unittest_resources", | 479 ":libjingle_peerconnection_android_unittest_resources", |
| 477 ":libjingle_peerconnection_java", | 480 ":libjingle_peerconnection_java", |
| 481 "../base:base_java", |
| 478 "//base:base_java", | 482 "//base:base_java", |
| 479 "//webrtc/base:base_java", | |
| 480 ] | 483 ] |
| 481 | 484 |
| 482 shared_libraries = [ ":libjingle_peerconnection_so" ] | 485 shared_libraries = [ ":libjingle_peerconnection_so" ] |
| 483 } | 486 } |
| 484 | 487 |
| 485 android_resources("libjingle_peerconnection_android_unittest_resources") { | 488 android_resources("libjingle_peerconnection_android_unittest_resources") { |
| 486 resource_dirs = [ "androidtests/res" ] | 489 resource_dirs = [ "androidtests/res" ] |
| 487 custom_package = "org.webrtc" | 490 custom_package = "org.webrtc" |
| 488 } | 491 } |
| 489 } | 492 } |
| 490 } | 493 } |
| OLD | NEW |