| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2012 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 import os | 10 import os |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 # Recipe based builders. | 43 # Recipe based builders. |
| 44 specs = [ | 44 specs = [ |
| 45 {'name': 'win_compile_dbg', 'slavebuilddir': 'win'}, | 45 {'name': 'win_compile_dbg', 'slavebuilddir': 'win'}, |
| 46 {'name': 'win_compile_rel', 'slavebuilddir': 'win'}, | 46 {'name': 'win_compile_rel', 'slavebuilddir': 'win'}, |
| 47 {'name': 'win_compile_x64_dbg', 'slavebuilddir': 'win'}, | 47 {'name': 'win_compile_x64_dbg', 'slavebuilddir': 'win'}, |
| 48 {'name': 'win_compile_x64_rel', 'slavebuilddir': 'win'}, | 48 {'name': 'win_compile_x64_rel', 'slavebuilddir': 'win'}, |
| 49 {'name': 'win_dbg', 'slavebuilddir': 'win'}, | 49 {'name': 'win_dbg', 'slavebuilddir': 'win'}, |
| 50 {'name': 'win_rel', 'slavebuilddir': 'win'}, | 50 {'name': 'win_rel', 'slavebuilddir': 'win'}, |
| 51 {'name': 'win_x64_dbg', 'slavebuilddir': 'win'}, | 51 {'name': 'win_x64_dbg', 'slavebuilddir': 'win'}, |
| 52 {'name': 'win_x64_rel', 'slavebuilddir': 'win'}, | 52 {'name': 'win_x64_rel', 'slavebuilddir': 'win'}, |
| 53 {'name': 'win_x64_gn_dbg', 'slavebuilddir': 'win_gn'}, | 53 {'name': 'win_x64_gyp_dbg', 'slavebuilddir': 'win_gyp'}, |
| 54 {'name': 'win_x64_gn_rel', 'slavebuilddir': 'win_gn'}, | 54 {'name': 'win_x64_gyp_rel', 'slavebuilddir': 'win_gyp'}, |
| 55 {'name': 'win_clang_dbg', 'slavebuilddir': 'win_clang'}, | 55 {'name': 'win_clang_dbg', 'slavebuilddir': 'win_clang'}, |
| 56 {'name': 'win_clang_rel', 'slavebuilddir': 'win_clang'}, | 56 {'name': 'win_clang_rel', 'slavebuilddir': 'win_clang'}, |
| 57 {'name': 'win_x64_clang_dbg', 'slavebuilddir': 'win_clang'}, | 57 {'name': 'win_x64_clang_dbg', 'slavebuilddir': 'win_clang'}, |
| 58 {'name': 'win_x64_clang_rel', 'slavebuilddir': 'win_clang'}, | 58 {'name': 'win_x64_clang_rel', 'slavebuilddir': 'win_clang'}, |
| 59 {'name': 'win_baremetal', 'slavebuilddir': 'win'}, | 59 {'name': 'win_baremetal', 'slavebuilddir': 'win'}, |
| 60 {'name': 'win_asan', 'slavebuilddir': 'win_asan'}, | 60 {'name': 'win_asan', 'slavebuilddir': 'win_asan'}, |
| 61 {'name': 'win_drmemory_light', 'slavebuilddir': 'win-drmemory'}, | 61 {'name': 'win_drmemory_light', 'slavebuilddir': 'win-drmemory'}, |
| 62 {'name': 'win_drmemory_full', 'slavebuilddir': 'win-drmemory'}, | 62 {'name': 'win_drmemory_full', 'slavebuilddir': 'win-drmemory'}, |
| 63 {'name': 'win_swarming', 'slavebuilddir': 'win_swarming'}, | 63 {'name': 'win_swarming', 'slavebuilddir': 'win_swarming'}, |
| 64 {'name': 'mac_compile_dbg', 'slavebuilddir': 'mac32'}, | 64 {'name': 'mac_compile_dbg', 'slavebuilddir': 'mac32'}, |
| 65 {'name': 'mac_compile_rel', 'slavebuilddir': 'mac32'}, | 65 {'name': 'mac_compile_rel', 'slavebuilddir': 'mac32'}, |
| 66 {'name': 'mac_dbg', 'slavebuilddir': 'mac32'}, | 66 {'name': 'mac_dbg', 'slavebuilddir': 'mac32'}, |
| 67 {'name': 'mac_rel', 'slavebuilddir': 'mac32'}, | 67 {'name': 'mac_rel', 'slavebuilddir': 'mac32'}, |
| 68 {'name': 'mac_gn_dbg', 'slavebuilddir': 'mac_gn'}, | 68 {'name': 'mac_gyp_dbg', 'slavebuilddir': 'mac_gyp'}, |
| 69 {'name': 'mac_gn_rel', 'slavebuilddir': 'mac_gn'}, | 69 {'name': 'mac_gyp_rel', 'slavebuilddir': 'mac_gyp'}, |
| 70 {'name': 'mac_baremetal', 'slavebuilddir': 'mac32'}, | 70 {'name': 'mac_baremetal', 'slavebuilddir': 'mac32'}, |
| 71 {'name': 'mac_swarming', 'slavebuilddir': 'mac64_swarming'}, | 71 {'name': 'mac_swarming', 'slavebuilddir': 'mac64_swarming'}, |
| 72 {'name': 'ios_dbg', 'slavebuilddir': 'mac32', 'recipe': 'webrtc/ios'}, | 72 {'name': 'ios_dbg', 'slavebuilddir': 'mac32', 'recipe': 'webrtc/ios'}, |
| 73 {'name': 'ios_rel', 'slavebuilddir': 'mac32', 'recipe': 'webrtc/ios'}, | 73 {'name': 'ios_rel', 'slavebuilddir': 'mac32', 'recipe': 'webrtc/ios'}, |
| 74 {'name': 'ios_arm64_dbg', 'slavebuilddir': 'mac64', 'recipe': 'webrtc/ios'}, | 74 {'name': 'ios_arm64_dbg', 'slavebuilddir': 'mac64', 'recipe': 'webrtc/ios'}, |
| 75 {'name': 'ios_arm64_rel', 'slavebuilddir': 'mac64', 'recipe': 'webrtc/ios'}, | 75 {'name': 'ios_arm64_rel', 'slavebuilddir': 'mac64', 'recipe': 'webrtc/ios'}, |
| 76 {'name': 'ios32_sim_dbg', 'slavebuilddir': 'mac32', 'recipe': 'webrtc/ios'}, | 76 {'name': 'ios32_sim_dbg', 'slavebuilddir': 'mac32', 'recipe': 'webrtc/ios'}, |
| 77 {'name': 'ios64_sim_dbg', 'slavebuilddir': 'mac64', 'recipe': 'webrtc/ios'}, | 77 {'name': 'ios64_sim_dbg', 'slavebuilddir': 'mac64', 'recipe': 'webrtc/ios'}, |
| 78 {'name': 'ios64_gn_dbg', 'slavebuilddir': 'mac64_gn', 'recipe': 'webrtc/ios'}, | 78 {'name': 'ios64_gn_dbg', 'slavebuilddir': 'mac64_gn', 'recipe': 'webrtc/ios'}, |
| 79 {'name': 'ios64_gn_rel', 'slavebuilddir': 'mac64_gn', 'recipe': 'webrtc/ios'}, | 79 {'name': 'ios64_gn_rel', 'slavebuilddir': 'mac64_gn', 'recipe': 'webrtc/ios'}, |
| 80 { | 80 { |
| 81 'name': 'ios_api_framework', | 81 'name': 'ios_api_framework', |
| 82 'slavebuilddir': 'mac64', | 82 'slavebuilddir': 'mac64', |
| 83 'recipe': 'webrtc/ios_api_framework', | 83 'recipe': 'webrtc/ios_api_framework', |
| 84 }, | 84 }, |
| 85 {'name': 'mac_asan', 'slavebuilddir': 'mac_asan'}, | 85 {'name': 'mac_asan', 'slavebuilddir': 'mac_asan'}, |
| 86 {'name': 'linux_compile_dbg', 'slavebuilddir': 'linux64'}, | 86 {'name': 'linux_compile_dbg', 'slavebuilddir': 'linux64'}, |
| 87 {'name': 'linux_compile_rel', 'slavebuilddir': 'linux64'}, | 87 {'name': 'linux_compile_rel', 'slavebuilddir': 'linux64'}, |
| 88 {'name': 'linux_dbg', 'slavebuilddir': 'linux64'}, | 88 {'name': 'linux_dbg', 'slavebuilddir': 'linux64'}, |
| 89 {'name': 'linux_rel', 'slavebuilddir': 'linux64'}, | 89 {'name': 'linux_rel', 'slavebuilddir': 'linux64'}, |
| 90 {'name': 'linux_baremetal', 'slavebuilddir': 'linux64'}, | 90 {'name': 'linux_baremetal', 'slavebuilddir': 'linux64'}, |
| 91 {'name': 'linux_memcheck', 'slavebuilddir': 'linux_memcheck_or_tsan'}, | 91 {'name': 'linux_memcheck', 'slavebuilddir': 'linux_memcheck_or_tsan'}, |
| 92 {'name': 'linux_msan', 'slavebuilddir': 'linux_msan'}, | 92 {'name': 'linux_msan', 'slavebuilddir': 'linux_msan'}, |
| 93 {'name': 'linux_tsan2', 'slavebuilddir': 'linux_tsan2'}, | 93 {'name': 'linux_tsan2', 'slavebuilddir': 'linux_tsan2'}, |
| 94 {'name': 'linux_arm', 'slavebuilddir': 'linux_arm'}, | 94 {'name': 'linux_arm', 'slavebuilddir': 'linux_arm'}, |
| 95 {'name': 'linux_asan', 'slavebuilddir': 'linux_asan'}, | 95 {'name': 'linux_asan', 'slavebuilddir': 'linux_asan'}, |
| 96 {'name': 'linux_ubsan', 'slavebuilddir': 'linux_ubsan'}, | 96 {'name': 'linux_ubsan', 'slavebuilddir': 'linux_ubsan'}, |
| 97 {'name': 'linux_ubsan_vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, | 97 {'name': 'linux_ubsan_vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, |
| 98 {'name': 'linux_gn_dbg', 'slavebuilddir': 'linux64_gn'}, | 98 {'name': 'linux_gyp_dbg', 'slavebuilddir': 'linux64_gyp'}, |
| 99 {'name': 'linux_gn_rel', 'slavebuilddir': 'linux64_gn'}, | 99 {'name': 'linux_gyp_rel', 'slavebuilddir': 'linux64_gyp'}, |
| 100 { | 100 { |
| 101 'name': 'linux_libfuzzer_rel', | 101 'name': 'linux_libfuzzer_rel', |
| 102 'recipe': 'webrtc/libfuzzer', | 102 'recipe': 'webrtc/libfuzzer', |
| 103 'slavebuilddir': 'linux64_libfuzzer', | 103 'slavebuilddir': 'linux64_libfuzzer', |
| 104 }, | 104 }, |
| 105 {'name': 'linux_swarming', 'slavebuilddir': 'linux64_swarming'}, | 105 {'name': 'linux_swarming', 'slavebuilddir': 'linux64_swarming'}, |
| 106 {'name': 'android_compile_dbg', 'slavebuilddir': 'android'}, | 106 {'name': 'android_compile_dbg', 'slavebuilddir': 'android'}, |
| 107 {'name': 'android_compile_rel', 'slavebuilddir': 'android'}, | 107 {'name': 'android_compile_rel', 'slavebuilddir': 'android'}, |
| 108 {'name': 'android_compile_arm64_dbg', 'slavebuilddir': 'android_arm64'}, | 108 {'name': 'android_compile_arm64_dbg', 'slavebuilddir': 'android_arm64'}, |
| 109 {'name': 'android_compile_arm64_rel', 'slavebuilddir': 'android_arm64'}, | 109 {'name': 'android_compile_arm64_rel', 'slavebuilddir': 'android_arm64'}, |
| 110 {'name': 'android_compile_mips_dbg', 'slavebuilddir': 'android_mips'}, | 110 {'name': 'android_compile_mips_dbg', 'slavebuilddir': 'android_mips'}, |
| 111 {'name': 'android_compile_x86_rel', 'slavebuilddir': 'android_x86'}, | 111 {'name': 'android_compile_x86_rel', 'slavebuilddir': 'android_x86'}, |
| 112 {'name': 'android_compile_x86_dbg', 'slavebuilddir': 'android_x86'}, | 112 {'name': 'android_compile_x86_dbg', 'slavebuilddir': 'android_x86'}, |
| 113 {'name': 'android_compile_x64_dbg', 'slavebuilddir': 'android_x64'}, | 113 {'name': 'android_compile_x64_dbg', 'slavebuilddir': 'android_x64'}, |
| 114 {'name': 'android_dbg', 'slavebuilddir': 'android'}, | 114 {'name': 'android_dbg', 'slavebuilddir': 'android'}, |
| 115 {'name': 'android_rel', 'slavebuilddir': 'android'}, | 115 {'name': 'android_rel', 'slavebuilddir': 'android'}, |
| 116 {'name': 'android_clang_dbg', 'slavebuilddir': 'android_clang'}, | 116 {'name': 'android_clang_dbg', 'slavebuilddir': 'android_clang'}, |
| 117 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, | 117 {'name': 'android_arm64_rel', 'slavebuilddir': 'android_arm64'}, |
| 118 {'name': 'android_n6', 'slavebuilddir': 'android'}, | 118 {'name': 'android_n6', 'slavebuilddir': 'android'}, |
| 119 {'name': 'android_gn_dbg', 'slavebuilddir': 'android_gn'}, | 119 {'name': 'android_gyp_dbg', 'slavebuilddir': 'android_gyp'}, |
| 120 {'name': 'android_gn_rel', 'slavebuilddir': 'android_gn'}, | 120 {'name': 'android_gyp_rel', 'slavebuilddir': 'android_gyp'}, |
| 121 ] | 121 ] |
| 122 | 122 |
| 123 | 123 |
| 124 m_annotator = annotator_factory.AnnotatorFactory() | 124 m_annotator = annotator_factory.AnnotatorFactory() |
| 125 | 125 |
| 126 | 126 |
| 127 def m_remote_run(recipe, **kwargs): | 127 def m_remote_run(recipe, **kwargs): |
| 128 return remote_run_factory.RemoteRunFactory( | 128 return remote_run_factory.RemoteRunFactory( |
| 129 active_master=ActiveMaster, | 129 active_master=ActiveMaster, |
| 130 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 130 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 # Must be at least 2x the number of slaves. | 249 # Must be at least 2x the number of slaves. |
| 250 c['eventHorizon'] = 100 | 250 c['eventHorizon'] = 100 |
| 251 # Must be at least 2x the number of on-going builds. | 251 # Must be at least 2x the number of on-going builds. |
| 252 c['buildCacheSize'] = 100 | 252 c['buildCacheSize'] = 100 |
| 253 | 253 |
| 254 ####### PROJECT IDENTITY | 254 ####### PROJECT IDENTITY |
| 255 | 255 |
| 256 # The 'projectURL' string will be used to provide a link | 256 # The 'projectURL' string will be used to provide a link |
| 257 # from buildbot HTML pages to your project's home page. | 257 # from buildbot HTML pages to your project's home page. |
| 258 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 258 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |