Add isolate files for Android tests

BUG=chromium:583318
TESTED=Passing runs with:
GYP_DEFINES='test_isolation_mode=prepare OS=android' webrtc/build/gyp_webrtc
ninja -C out/Release
NOTRY=True
NOPRESUBMIT=True

Review URL: https://codereview.webrtc.org/1882963003

Cr-Commit-Position: refs/heads/master@{#12397}
This commit is contained in:
kjellander 2016-04-17 20:08:20 -07:00 committed by Commit bot
parent a5868de17e
commit e532aec252
30 changed files with 720 additions and 91 deletions

1
.gitignore vendored
View File

@ -140,6 +140,7 @@
/tools/grit
/tools/gyp
/tools/isolate_driver.py
/tools/luci-go
/tools/mb
/tools/memory
/tools/protoc_wrapper

View File

@ -68,6 +68,7 @@ DIRECTORIES = [
'tools/generate_stubs',
'tools/gn',
'tools/gyp',
'tools/luci-go',
'tools/mb',
'tools/memory',
'tools/protoc_wrapper',

View File

@ -43,7 +43,7 @@
'peerconnectionendtoend_unittest.cc',
'peerconnectionfactory_unittest.cc',
'peerconnectioninterface_unittest.cc',
'proxy_unittest.cc',
'proxy_unittest.cc',
'rtpsenderreceiver_unittest.cc',
'statscollector_unittest.cc',
'test/fakeaudiocapturemodule.cc',
@ -181,6 +181,27 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'peerconnection_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):peerconnection_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'peerconnection_unittests_apk.isolate',
],
},
]
}
],
],
}], # OS=="android"
['test_isolation_mode != "noop"', {
'targets': [

View File

@ -1,28 +1,10 @@
# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
#
# libjingle
# Copyright 2013 Google Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 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.
{
'conditions': [

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'peerconnection_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_peerconnection_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/peerconnection_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_peerconnection_unittests',
'peerconnection_unittests.isolate',
]
}
}

View File

@ -21,6 +21,21 @@
'shard_timeout': 900,
},
'targets': [
{
'target_name': 'audio_codec_speed_tests_apk',
'type': 'none',
'variables': {
'test_suite_name': 'audio_codec_speed_tests',
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_codec_speed_tests<(SHARED_LIB_SUFFIX)',
'isolate_file': '../modules/audio_codec_speed_tests.isolate',
},
'dependencies': [
'<(webrtc_root)/modules/modules.gyp:audio_codec_speed_tests',
],
'includes': [
'../../build/apk_test.gypi',
],
},
{
'target_name': 'audio_decoder_unittests_apk',
'type': 'none',
@ -66,22 +81,6 @@
'../../build/apk_test.gypi',
],
},
{
'target_name': 'peerconnection_unittests_apk',
'type': 'none',
'variables': {
'test_suite_name': 'peerconnection_unittests',
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)peerconnection_unittests<(SHARED_LIB_SUFFIX)',
'isolate_file': '../api/peerconnection_unittests.isolate',
},
'dependencies': [
'<(webrtc_root)/api/api_tests.gyp:peerconnection_unittests',
'<(webrtc_root)/api/api.gyp:libjingle_peerconnection_java',
],
'includes': [
'../../build/apk_test.gypi',
],
},
{
'target_name': 'modules_tests_apk',
'type': 'none',
@ -113,6 +112,22 @@
'../../build/apk_test.gypi',
],
},
{
'target_name': 'peerconnection_unittests_apk',
'type': 'none',
'variables': {
'test_suite_name': 'peerconnection_unittests',
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)peerconnection_unittests<(SHARED_LIB_SUFFIX)',
'isolate_file': '../api/peerconnection_unittests.isolate',
},
'dependencies': [
'<(webrtc_root)/api/api_tests.gyp:peerconnection_unittests',
'<(webrtc_root)/api/api.gyp:libjingle_peerconnection_java',
],
'includes': [
'../../build/apk_test.gypi',
],
},
{
'target_name': 'rtc_unittests_apk',
'type': 'none',
@ -234,21 +249,6 @@
'../../build/apk_test.gypi',
],
},
{
'target_name': 'audio_codec_speed_tests_apk',
'type': 'none',
'variables': {
'test_suite_name': 'audio_codec_speed_tests',
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_codec_speed_tests<(SHARED_LIB_SUFFIX)',
'isolate_file': '../modules/audio_codec_speed_tests.isolate',
},
'dependencies': [
'<(webrtc_root)/modules/modules.gyp:audio_codec_speed_tests',
],
'includes': [
'../../build/apk_test.gypi',
],
},
{
'target_name': 'audio_device_java',
'type': 'none',

View File

@ -294,7 +294,28 @@
],
},
],
}],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'common_audio_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):common_audio_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'common_audio_unittests_apk.isolate',
],
},
],
},
],
],
}], # OS=="android"
['test_isolation_mode != "noop"', {
'targets': [
{

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'common_audio_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_common_audio_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/common_audio_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_common_audio_unittests',
'common_audio_unittests.isolate',
]
}
}

View File

@ -54,7 +54,28 @@
],
},
],
}],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'common_video_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):common_video_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'common_video_unittests_apk.isolate',
],
},
],
},
],
],
}], # OS=="android"
['test_isolation_mode != "noop"', {
'targets': [
{

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'common_video_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_common_video_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/common_video_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_common_video_unittests',
'common_video_unittests.isolate',
]
}
}

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'audio_codec_speed_tests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_audio_codec_speed_tests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/audio_codec_speed_tests_apk/',
'<(PRODUCT_DIR)/bin/run_audio_codec_speed_tests',
'audio_codec_speed_tests.isolate',
]
}
}

View File

@ -39,17 +39,4 @@
],
},
],
'conditions': [
['OS=="android"', {
'targets': [
{
'target_name': 'audio_codec_speed_tests_apk_target',
'type': 'none',
'dependencies': [
'<(apk_tests_path):audio_codec_speed_tests_apk',
],
},
],
}],
],
}

View File

@ -206,19 +206,6 @@
],
}, # neteq_unittest_tools
], # targets
'conditions': [
['OS=="android"', {
'targets': [
{
'target_name': 'audio_decoder_unittests_apk_target',
'type': 'none',
'dependencies': [
'<(apk_tests_path):audio_decoder_unittests_apk',
],
},
],
}],
],
}], # include_tests
], # conditions
}

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'audio_decoder_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_audio_decoder_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/audio_decoder_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_audio_decoder_unittests',
'audio_decoder_unittests.isolate',
]
}
}

View File

@ -627,10 +627,17 @@
['OS=="android"', {
'targets': [
{
'target_name': 'modules_unittests_apk_target',
'target_name': 'audio_codec_speed_tests_apk_target',
'type': 'none',
'dependencies': [
'<(apk_tests_path):modules_unittests_apk',
'<(apk_tests_path):audio_codec_speed_tests_apk',
],
},
{
'target_name': 'audio_decoder_unittests_apk_target',
'type': 'none',
'dependencies': [
'<(apk_tests_path):audio_decoder_unittests_apk',
],
},
{
@ -640,8 +647,75 @@
'<(apk_tests_path):modules_tests_apk',
],
},
{
'target_name': 'modules_unittests_apk_target',
'type': 'none',
'dependencies': [
'<(apk_tests_path):modules_unittests_apk',
],
},
],
}],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'audio_codec_speed_tests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):audio_codec_speed_tests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'audio_codec_speed_tests_apk.isolate',
],
},
{
'target_name': 'audio_decoder_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):audio_decoder_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'audio_decoder_unittests_apk.isolate',
],
},
{
'target_name': 'modules_tests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):modules_tests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'modules_tests_apk.isolate',
],
},
{
'target_name': 'modules_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):modules_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'modules_unittests_apk.isolate',
],
},
],
},
],
],
}], # OS=="android"
['test_isolation_mode != "noop"', {
'targets': [
{

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'modules_tests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_modules_tests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/modules_tests_apk/',
'<(PRODUCT_DIR)/bin/run_modules_tests',
'modules_tests.isolate',
]
}
}

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'modules_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_modules_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/modules_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_modules_unittests',
'modules_unittests.isolate',
]
}
}

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../build/android/android.isolate',
'rtc_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_rtc_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../build/config/',
'../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/rtc_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_rtc_unittests',
'rtc_unittests.isolate',
]
},
}

View File

@ -56,7 +56,7 @@
},
],
'conditions': [
['include_tests==1 and OS=="android"', {
['OS=="android"', {
'targets': [
{
'target_name': 'system_wrappers_unittests_apk_target',
@ -66,7 +66,28 @@
],
},
],
}],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'system_wrappers_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):system_wrappers_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'system_wrappers_unittests_apk.isolate',
],
},
],
},
],
],
}], # OS=="android"
['test_isolation_mode != "noop"', {
'targets': [
{

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'system_wrappers_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_system_wrappers_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/system_wrappers_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_system_wrappers_unittests',
'system_wrappers_unittests.isolate',
]
}
}

View File

@ -401,7 +401,7 @@
},
],
'conditions': [
['include_tests==1 and OS=="android"', {
['OS=="android"', {
'targets': [
{
'target_name': 'test_support_unittests_apk_target',
@ -411,7 +411,28 @@
],
},
],
}],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'test_support_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):test_support_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'test_support_unittests_apk.isolate',
],
},
],
},
],
],
}], # OS=="android"
['test_isolation_mode != "noop"', {
'targets': [
{

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'test_support_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_test_support_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/test_support_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_test_support_unittests',
'test_support_unittests.isolate',
]
}
}

View File

@ -189,6 +189,27 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'tools_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):tools_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'tools_unittests_apk.isolate',
],
},
],
},
],
],
}],
['test_isolation_mode != "noop"', {
'targets': [

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'tools_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_tools_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/tools_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_tools_unittests',
'tools_unittests.isolate',
]
}
}

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../build/android/android.isolate',
'video_engine_tests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_video_engine_tests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../build/config/',
'../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/video_engine_tests_apk/',
'<(PRODUCT_DIR)/bin/run_video_engine_tests',
'video_engine_tests.isolate',
]
}
}

View File

@ -255,6 +255,27 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'voice_engine_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):voice_engine_unittests_apk',
],
'includes': [
'../build/isolate.gypi',
],
'sources': [
'voice_engine_unittests_apk.isolate',
],
},
],
},
],
],
}],
['test_isolation_mode != "noop"', {
'targets': [

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../../build/android/android.isolate',
'voice_engine_unittests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_voice_engine_unittests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../../build/config/',
'../../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/voice_engine_unittests_apk/',
'<(PRODUCT_DIR)/bin/run_voice_engine_unittests',
'voice_engine_unittests.isolate',
]
}
}

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../build/android/android.isolate',
'webrtc_nonparallel_tests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_webrtc_nonparallel_tests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../build/config/',
'../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/webrtc_nonparallel_tests_apk/',
'<(PRODUCT_DIR)/bin/run_webrtc_nonparallel_tests',
'webrtc_nonparallel_tests.isolate',
]
},
}

View File

@ -0,0 +1,26 @@
# 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.
{
'includes': [
'../build/android/android.isolate',
'webrtc_perf_tests.isolate',
],
'variables': {
'command': [
'<(PRODUCT_DIR)/bin/run_webrtc_perf_tests',
'--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
],
'files': [
'../build/config/',
'../third_party/instrumented_libraries/instrumented_libraries.isolate',
'<(PRODUCT_DIR)/webrtc_perf_tests_apk/',
'<(PRODUCT_DIR)/bin/run_webrtc_perf_tests',
'webrtc_perf_tests.isolate',
]
},
}

View File

@ -343,6 +343,66 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"',
{
'targets': [
{
'target_name': 'rtc_unittests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):rtc_unittests_apk',
],
'includes': [
'build/isolate.gypi',
],
'sources': [
'rtc_unittests_apk.isolate',
],
},
{
'target_name': 'video_engine_tests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):video_engine_tests_apk',
],
'includes': [
'build/isolate.gypi',
],
'sources': [
'video_engine_tests_apk.isolate',
],
},
{
'target_name': 'webrtc_perf_tests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):webrtc_perf_tests_apk',
],
'includes': [
'build/isolate.gypi',
],
'sources': [
'webrtc_perf_tests_apk.isolate',
],
},
{
'target_name': 'webrtc_nonparallel_tests_apk_run',
'type': 'none',
'dependencies': [
'<(apk_tests_path):webrtc_nonparallel_tests_apk',
],
'includes': [
'build/isolate.gypi',
],
'sources': [
'webrtc_nonparallel_tests_apk.isolate',
],
},
],
},
],
],
}],
['test_isolation_mode != "noop"', {
'targets': [