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 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 "../media:rtc_unittest_main", | 392 "../media:rtc_unittest_main", |
393 "../pc:rtc_pc", | 393 "../pc:rtc_pc", |
394 "../system_wrappers:metrics_default", | 394 "../system_wrappers:metrics_default", |
395 "//testing/gmock", | 395 "//testing/gmock", |
396 ] | 396 ] |
397 | 397 |
398 if (is_android) { | 398 if (is_android) { |
399 deps += [ "//testing/android/native_test:native_test_support" ] | 399 deps += [ "//testing/android/native_test:native_test_support" ] |
400 } | 400 } |
401 } | 401 } |
| 402 |
| 403 if (is_android) { |
| 404 instrumentation_test_apk("libjingle_peerconnection_android_unittest") { |
| 405 apk_name = "libjingle_peerconnection_android_unittest" |
| 406 android_manifest = "androidtests/AndroidManifest.xml" |
| 407 |
| 408 java_files = [ |
| 409 "androidtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.java", |
| 410 "androidtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java", |
| 411 "androidtests/src/org/webrtc/Camera2CapturerTest.java", |
| 412 "androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java", |
| 413 "androidtests/src/org/webrtc/GlRectDrawerTest.java", |
| 414 "androidtests/src/org/webrtc/MediaCodecVideoEncoderTest.java", |
| 415 "androidtests/src/org/webrtc/NetworkMonitorTest.java", |
| 416 "androidtests/src/org/webrtc/PeerConnectionTest.java", |
| 417 "androidtests/src/org/webrtc/RendererCommonTest.java", |
| 418 "androidtests/src/org/webrtc/SurfaceTextureHelperTest.java", |
| 419 "androidtests/src/org/webrtc/SurfaceViewRendererOnMeasureTest.java", |
| 420 ] |
| 421 |
| 422 deps = [ |
| 423 ":libjingle_peerconnection_android_unittest_resources", |
| 424 ":libjingle_peerconnection_java", |
| 425 "//base:base_java", |
| 426 "//webrtc/base:base_java", |
| 427 ] |
| 428 |
| 429 shared_libraries = [ ":libjingle_peerconnection_so" ] |
| 430 } |
| 431 |
| 432 android_resources("libjingle_peerconnection_android_unittest_resources") { |
| 433 resource_dirs = [ "androidtests/res" ] |
| 434 custom_package = "org.webrtc" |
| 435 } |
| 436 } |
402 } | 437 } |
OLD | NEW |