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

Side by Side Diff: webrtc/build/android/test_runner.py

Issue 1511633002: Add APK targets to build libjingle tests for Android. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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 | « talk/libjingle_tests.gyp ('k') | webrtc/build/apk_test.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license 4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source 5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found 6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may 7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree. 8 # be found in the AUTHORS file in the root of the source tree.
9 9
10 """ 10 """
(...skipping 20 matching lines...) Expand all
31 def main(): 31 def main():
32 # Set our own paths to the .isolate files. 32 # Set our own paths to the .isolate files.
33 # pylint: disable=protected-access 33 # pylint: disable=protected-access
34 gtest_test_instance._DEFAULT_ISOLATE_FILE_PATHS.update({ 34 gtest_test_instance._DEFAULT_ISOLATE_FILE_PATHS.update({
35 'audio_decoder_unittests': 35 'audio_decoder_unittests':
36 'webrtc/modules/audio_decoder_unittests.isolate', 36 'webrtc/modules/audio_decoder_unittests.isolate',
37 'common_audio_unittests': 37 'common_audio_unittests':
38 'webrtc/common_audio/common_audio_unittests.isolate', 38 'webrtc/common_audio/common_audio_unittests.isolate',
39 'common_video_unittests': 39 'common_video_unittests':
40 'webrtc/common_video/common_video_unittests.isolate', 40 'webrtc/common_video/common_video_unittests.isolate',
41 'libjingle_peerconnection_unittest':
42 'talk/libjingle_peerconnection_unittest.isolate',
41 'modules_tests': 'webrtc/modules/modules_tests.isolate', 43 'modules_tests': 'webrtc/modules/modules_tests.isolate',
42 'modules_unittests': 'webrtc/modules/modules_unittests.isolate', 44 'modules_unittests': 'webrtc/modules/modules_unittests.isolate',
43 'rtc_unittests': 'webrtc/rtc_unittests.isolate', 45 'rtc_unittests': 'webrtc/rtc_unittests.isolate',
44 'system_wrappers_unittests': 46 'system_wrappers_unittests':
45 'webrtc/system_wrappers/system_wrappers_unittests.isolate', 47 'webrtc/system_wrappers/system_wrappers_unittests.isolate',
46 'test_support_unittests': 'webrtc/test/test_support_unittests.isolate', 48 'test_support_unittests': 'webrtc/test/test_support_unittests.isolate',
47 'tools_unittests': 'webrtc/tools/tools_unittests.isolate', 49 'tools_unittests': 'webrtc/tools/tools_unittests.isolate',
48 'video_capture_tests': 50 'video_capture_tests':
49 'webrtc/modules/video_capture/video_capture_tests.isolate', 51 'webrtc/modules/video_capture/video_capture_tests.isolate',
50 'video_engine_tests': 'webrtc/video_engine_tests.isolate', 52 'video_engine_tests': 'webrtc/video_engine_tests.isolate',
51 'voice_engine_unittests': 53 'voice_engine_unittests':
52 'webrtc/voice_engine/voice_engine_unittests.isolate', 54 'webrtc/voice_engine/voice_engine_unittests.isolate',
53 'webrtc_nonparallel_tests': 'webrtc/webrtc_nonparallel_tests.isolate', 55 'webrtc_nonparallel_tests': 'webrtc/webrtc_nonparallel_tests.isolate',
54 'webrtc_perf_tests': 'webrtc/webrtc_perf_tests.isolate', 56 'webrtc_perf_tests': 'webrtc/webrtc_perf_tests.isolate',
55 }) 57 })
56 # Override environment variable to make it possible for the scripts to find 58 # Override environment variable to make it possible for the scripts to find
57 # the root directory (our symlinking of the Chromium build toolchain would 59 # the root directory (our symlinking of the Chromium build toolchain would
58 # otherwise make them fail to do so). 60 # otherwise make them fail to do so).
59 os.environ['CHECKOUT_SOURCE_ROOT'] = SRC_DIR 61 os.environ['CHECKOUT_SOURCE_ROOT'] = SRC_DIR
60 return test_runner.main() 62 return test_runner.main()
61 63
62 if __name__ == '__main__': 64 if __name__ == '__main__':
63 sys.exit(main()) 65 sys.exit(main())
OLDNEW
« no previous file with comments | « talk/libjingle_tests.gyp ('k') | webrtc/build/apk_test.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698