Moving gn_isolate_map.pyl to tools-webrtc/mb
BUG=webrtc:7030
R=kjellander@webrtc.org
Review-Url: https://codereview.webrtc.org/2648353004 .
Cr-Commit-Position: refs/heads/master@{#16262}
diff --git a/tools-webrtc/mb/gn_isolate_map.pyl b/tools-webrtc/mb/gn_isolate_map.pyl
new file mode 100644
index 0000000..a6e357e
--- /dev/null
+++ b/tools-webrtc/mb/gn_isolate_map.pyl
@@ -0,0 +1,98 @@
+# 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.
+
+# gn_isolate_map.pyl - A mapping of Ninja build target names to GN labels and
+# test type classifications for the tests that are run on the bots.
+#
+# This file is based on testing/buildbot/gn_isolate_map.pyl for Chromium, but
+# is covering WebRTC stand-alone tests instead.
+# See https://cs.chromium.org/chromium/src/testing/buildbot/gn_isolate_map.pyl
+# for more detailed documentation.
+
+{
+ "All": {
+ "label": "//:All",
+ "type": "additional_compile_target",
+ },
+ "AppRTCMobileTest": {
+ "label": "//webrtc/examples:AppRTCMobileTest",
+ "type": "additional_compile_target",
+ },
+ "android_junit_tests": {
+ "label": "//webrtc:android_junit_tests",
+ "type": "junit_test",
+ },
+ "audio_decoder_unittests": {
+ "label": "//webrtc/modules/audio_coding:audio_decoder_unittests",
+ "type": "console_test_launcher",
+ },
+ "common_audio_unittests": {
+ "label": "//webrtc/common_audio:common_audio_unittests",
+ "type": "console_test_launcher",
+ },
+ "common_video_unittests": {
+ "label": "//webrtc/common_video:common_video_unittests",
+ "type": "console_test_launcher",
+ },
+ "libjingle_peerconnection_android_unittest": {
+ "label": "//webrtc/sdk/android:libjingle_peerconnection_android_unittest",
+ "type": "additional_compile_target",
+ },
+ "modules_tests": {
+ "label": "//webrtc/modules:modules_tests",
+ "type": "console_test_launcher",
+ },
+ "modules_unittests": {
+ "label": "//webrtc/modules:modules_unittests",
+ "type": "windowed_test_launcher",
+ },
+ "peerconnection_unittests": {
+ "label": "//webrtc/pc:peerconnection_unittests",
+ "type": "console_test_launcher",
+ },
+ "rtc_media_unittests": {
+ "label": "//webrtc/media:rtc_media_unittests",
+ "type": "console_test_launcher",
+ },
+ "rtc_pc_unittests": {
+ "label": "//webrtc/pc:rtc_pc_unittests",
+ "type": "console_test_launcher",
+ },
+ "rtc_stats_unittests": {
+ "label": "//webrtc/stats:rtc_stats_unittests",
+ "type": "console_test_launcher",
+ },
+ "rtc_unittests": {
+ "label": "//webrtc:rtc_unittests",
+ "type": "console_test_launcher",
+ },
+ "system_wrappers_unittests": {
+ "label": "//webrtc/system_wrappers:system_wrappers_unittests",
+ "type": "console_test_launcher",
+ },
+ "test_support_unittests": {
+ "label": "//webrtc/test:test_support_unittests",
+ "type": "console_test_launcher",
+ },
+ "tools_unittests": {
+ "label": "//webrtc/tools:tools_unittests",
+ "type": "console_test_launcher",
+ },
+ "video_engine_tests": {
+ "label": "//webrtc:video_engine_tests",
+ "type": "console_test_launcher",
+ },
+ "voice_engine_unittests": {
+ "label": "//webrtc/voice_engine:voice_engine_unittests",
+ "type": "console_test_launcher",
+ },
+ "webrtc_nonparallel_tests": {
+ "label": "//webrtc:webrtc_nonparallel_tests",
+ "type": "non_parallel_console_test_launcher",
+ },
+}
diff --git a/tools-webrtc/mb/mb.py b/tools-webrtc/mb/mb.py
index 77a81e0..eb92f23 100755
--- a/tools-webrtc/mb/mb.py
+++ b/tools-webrtc/mb/mb.py
@@ -48,8 +48,7 @@
def __init__(self):
self.chromium_src_dir = CHROMIUM_SRC_DIR
self.default_config = os.path.join(SCRIPT_DIR, 'mb_config.pyl')
- self.default_isolate_map = os.path.join(self.chromium_src_dir, 'testing',
- 'buildbot', 'gn_isolate_map.pyl')
+ self.default_isolate_map = os.path.join(SCRIPT_DIR, 'gn_isolate_map.pyl')
self.executable = sys.executable
self.platform = sys.platform
self.sep = os.sep