OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from master import master_config | 5 from master import master_config |
6 from master.factory import chromium_factory | 6 from master.factory import chromium_factory |
7 | 7 |
8 defaults = {} | 8 defaults = {} |
9 | 9 |
10 helper = master_config.Helper(defaults) | 10 helper = master_config.Helper(defaults) |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 B('ASAN Release', 'linux_asan_rel', 'compile', 'chromium_lkgr') | 90 B('ASAN Release', 'linux_asan_rel', 'compile', 'chromium_lkgr') |
91 F('linux_asan_rel', linux().ChromiumASANFactory( | 91 F('linux_asan_rel', linux().ChromiumASANFactory( |
92 clobber=True, | 92 clobber=True, |
93 options=['--compiler=clang', 'chrome', 'dns_fuzz_stub', 'DumpRenderTree', | 93 options=['--compiler=clang', 'chrome', 'dns_fuzz_stub', 'DumpRenderTree', |
94 'content_browsertests'], | 94 'content_browsertests'], |
95 factory_properties={ | 95 factory_properties={ |
96 'asan_archive_build': True, | 96 'asan_archive_build': True, |
97 'gs_bucket': 'gs://chromium-browser-asan', | 97 'gs_bucket': 'gs://chromium-browser-asan', |
98 'gs_acl': 'public-read', | 98 'gs_acl': 'public-read', |
99 'gclient_env': {'GYP_DEFINES': 'asan=1 linux_use_tcmalloc=0 '}})) | 99 'gclient_env': {'GYP_DEFINES': 'asan=1 linux_use_tcmalloc=0 ' |
| 100 'v8_enable_verify_heap=1 '}})) |
100 | 101 |
101 asan_gyp = ('asan=1 linux_use_tcmalloc=0 ' | 102 asan_gyp = ('asan=1 linux_use_tcmalloc=0 v8_enable_verify_heap=1 ' |
102 'release_extra_cflags="-g -O1 -fno-inline-functions -fno-inline"') | 103 'release_extra_cflags="-g -O1 -fno-inline-functions -fno-inline"') |
103 | 104 |
104 B('ASAN Release (symbolized)', 'linux_asan_rel_sym', 'compile', 'chromium_lkgr') | 105 B('ASAN Release (symbolized)', 'linux_asan_rel_sym', 'compile', 'chromium_lkgr') |
105 F('linux_asan_rel_sym', linux().ChromiumASANFactory( | 106 F('linux_asan_rel_sym', linux().ChromiumASANFactory( |
106 clobber=True, | 107 clobber=True, |
107 options=['--compiler=clang', 'chrome', 'dns_fuzz_stub', 'DumpRenderTree', | 108 options=['--compiler=clang', 'chrome', 'dns_fuzz_stub', 'DumpRenderTree', |
108 'content_browsertests'], | 109 'content_browsertests'], |
109 factory_properties={ | 110 factory_properties={ |
110 'asan_archive_build': True, | 111 'asan_archive_build': True, |
111 'asan_archive_name': 'asan-symbolized', | 112 'asan_archive_name': 'asan-symbolized', |
112 'gs_bucket': 'gs://chromium-browser-asan', | 113 'gs_bucket': 'gs://chromium-browser-asan', |
113 'gs_acl': 'public-read', | 114 'gs_acl': 'public-read', |
114 'gclient_env': {'GYP_DEFINES': asan_gyp}})) | 115 'gclient_env': {'GYP_DEFINES': asan_gyp}})) |
115 | 116 |
116 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') | 117 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') |
117 F('linux_asan_dbg', linux().ChromiumASANFactory( | 118 F('linux_asan_dbg', linux().ChromiumASANFactory( |
118 clobber=True, | 119 clobber=True, |
119 target='Debug', | 120 target='Debug', |
120 options=['--compiler=clang', 'chrome', 'dns_fuzz_stub', 'DumpRenderTree', | 121 options=['--compiler=clang', 'chrome', 'dns_fuzz_stub', 'DumpRenderTree', |
121 'content_browsertests'], | 122 'content_browsertests'], |
122 factory_properties={ | 123 factory_properties={ |
123 'asan_archive_build': True, | 124 'asan_archive_build': True, |
124 'gs_bucket': 'gs://chromium-browser-asan', | 125 'gs_bucket': 'gs://chromium-browser-asan', |
125 'gs_acl': 'public-read', | 126 'gs_acl': 'public-read', |
126 'gclient_env': {'GYP_DEFINES': 'asan=1 linux_use_tcmalloc=0 '}})) | 127 'gclient_env': {'GYP_DEFINES': 'asan=1 linux_use_tcmalloc=0 '}})) |
127 | 128 |
128 | 129 |
129 def Update(config, active_master, c): | 130 def Update(config, active_master, c): |
130 return helper.Update(c) | 131 return helper.Update(c) |
OLD | NEW |