Chromium Code Reviews| Index: webrtc/sdk/android/instrumentationtests/BUILD.gn |
| diff --git a/webrtc/sdk/android/instrumentationtests/BUILD.gn b/webrtc/sdk/android/instrumentationtests/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d9218f9700eccb77583b1a83e7ca9f0f6a54e506 |
| --- /dev/null |
| +++ b/webrtc/sdk/android/instrumentationtests/BUILD.gn |
| @@ -0,0 +1,51 @@ |
| +# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| +# |
| +# Use of this source code is governed by a BSD-style license |
| +# that can be found in the LICENSE file in the root of the source |
| +# tree. An additional intellectual property rights grant can be found |
| +# in the file PATENTS. All contributing project authors may |
| +# be found in the AUTHORS file in the root of the source tree. |
| + |
| +import("../../../build/webrtc.gni") |
|
sakal
2016/12/01 08:36:08
nit: I think we could use fully qualified name for
magjed_webrtc
2016/12/01 08:56:40
Done.
|
| +import("//build/config/android/config.gni") |
| +import("//build/config/android/rules.gni") |
| + |
| +group("instrumentationtests") { |
| + # This target shall build all targets in instrumentationtests. |
| + testonly = true |
| + public_deps = [] |
| + |
| + public_deps += [ ":libjingle_peerconnection_android_unittest" ] |
| +} |
| + |
| +if (rtc_include_tests) { |
| + instrumentation_test_apk("libjingle_peerconnection_android_unittest") { |
| + apk_name = "libjingle_peerconnection_android_unittest" |
| + android_manifest = "AndroidManifest.xml" |
| + |
| + java_files = [ |
| + "src/org/webrtc/Camera1CapturerUsingByteBufferTest.java", |
| + "src/org/webrtc/Camera1CapturerUsingTextureTest.java", |
| + "src/org/webrtc/Camera2CapturerTest.java", |
| + "src/org/webrtc/CameraVideoCapturerTestFixtures.java", |
| + "src/org/webrtc/EglRendererTest.java", |
| + "src/org/webrtc/GlRectDrawerTest.java", |
| + "src/org/webrtc/MediaCodecVideoEncoderTest.java", |
| + "src/org/webrtc/NetworkMonitorTest.java", |
| + "src/org/webrtc/PeerConnectionTest.java", |
| + "src/org/webrtc/RendererCommonTest.java", |
| + "src/org/webrtc/SurfaceTextureHelperTest.java", |
| + "src/org/webrtc/SurfaceViewRendererOnMeasureTest.java", |
| + "src/org/webrtc/WebRtcJniBootTest.java", |
| + ] |
| + |
| + deps = [ |
| + "../../../api:libjingle_peerconnection_java", |
| + "../../../api:libjingle_peerconnection_metrics_default_java", |
| + "../../../base:base_java", |
| + "//base:base_java", |
| + ] |
| + |
| + shared_libraries = [ "../../../api:libjingle_peerconnection_so" ] |
| + } |
| +} |