| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Declares a number of site-dependent variables for use by scripts. | 6 """Declares a number of site-dependent variables for use by scripts. |
| 7 | 7 |
| 8 A typical use of this module would be | 8 A typical use of this module would be |
| 9 | 9 |
| 10 import chromium_config as config | 10 import chromium_config as config |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 # It really sucks to have to hard-code these here. | 116 # It really sucks to have to hard-code these here. |
| 117 # TODO(cpu): rlz_pdb.dll dropped from list. http://b/1716253 | 117 # TODO(cpu): rlz_pdb.dll dropped from list. http://b/1716253 |
| 118 symbols_to_archive = ['chrome_dll.pdb', 'chrome_exe.pdb', | 118 symbols_to_archive = ['chrome_dll.pdb', 'chrome_exe.pdb', |
| 119 'mini_installer.pdb', 'setup.pdb'] | 119 'mini_installer.pdb', 'setup.pdb'] |
| 120 | 120 |
| 121 # Binary to archive on the source server with the sourcified symbols. | 121 # Binary to archive on the source server with the sourcified symbols. |
| 122 symsrc_binaries = ['chrome.exe', 'chrome.dll'] | 122 symsrc_binaries = ['chrome.exe', 'chrome.dll'] |
| 123 | 123 |
| 124 # List of symbol files to save, but not to upload to the symbol server | 124 # List of symbol files to save, but not to upload to the symbol server |
| 125 # (generally because they have no symbols and thus would produce an error). | 125 # (generally because they have no symbols and thus would produce an error). |
| 126 symbols_to_skip_upload = ['icudt42.dll', 'rlz.dll',] | 126 # TODO(jungshik): make the name of icudt dll independent of the ICU version. |
| 127 # For now, we list both icudt{38,42}.dll because this script is used by |
| 128 # pre-ICU 4.2 builds as well. |
| 129 symbols_to_skip_upload = ['icudt38.dll', 'icudt42.dll', 'rlz.dll',] |
| 127 | 130 |
| 128 if os.environ.get('CHROMIUM_BUILD', '') == '_google_chrome': | 131 if os.environ.get('CHROMIUM_BUILD', '') == '_google_chrome': |
| 129 exes_to_skip_entirely = [] | 132 exes_to_skip_entirely = [] |
| 130 else: | 133 else: |
| 131 # Skip any filenames (exes, symbols, etc.) starting with these strings | 134 # Skip any filenames (exes, symbols, etc.) starting with these strings |
| 132 # entirely, typically because they're not built for this distribution. | 135 # entirely, typically because they're not built for this distribution. |
| 133 exes_to_skip_entirely = ['rlz'] | 136 exes_to_skip_entirely = ['rlz'] |
| 134 | 137 |
| 135 # Extra files to archive in official mode. | 138 # Extra files to archive in official mode. |
| 136 if chromium_utils.IsWindows(): | 139 if chromium_utils.IsWindows(): |
| 137 official_extras = [ | 140 official_extras = [ |
| 138 ['setup.exe'], | 141 ['setup.exe'], |
| 139 ['chrome.packed.7z'], | 142 ['chrome.packed.7z'], |
| 140 ['patch.packed.7z'], | 143 ['patch.packed.7z'], |
| 141 ['obj', 'mini_installer', 'mini_installer_exe_version.rc'], | 144 ['obj', 'mini_installer', 'mini_installer_exe_version.rc'], |
| 142 ['courgette.exe'], | 145 ['courgette.exe'], |
| 143 ] | 146 ] |
| 144 else: | 147 else: |
| 145 official_extras = [] | 148 official_extras = [] |
| 146 | 149 |
| 147 # Installer to archive. | 150 # Installer to archive. |
| 148 installer_exe = Installer.installer_exe | 151 installer_exe = Installer.installer_exe |
| 149 | 152 |
| 150 # Test files to archive. | 153 # Test files to archive. |
| 154 # TODO(jungshik): make the name of icudt dll independent of the ICU version. |
| 155 # For now, we list both icudt{38,42}.dll because this script is used by |
| 156 # pre-ICU 4.2 builds as well. |
| 151 tests_to_archive = ['reliability_tests.exe', | 157 tests_to_archive = ['reliability_tests.exe', |
| 152 'test_shell.exe', | 158 'test_shell.exe', |
| 153 'automated_ui_tests.exe', | 159 'automated_ui_tests.exe', |
| 160 'icudt38.dll', |
| 154 'icudt42.dll', | 161 'icudt42.dll', |
| 155 'plugins\\npapi_layout_test_plugin.dll', | 162 'plugins\\npapi_layout_test_plugin.dll', |
| 156 ] | 163 ] |
| 157 | 164 |
| 158 # Archive everything in these directories, using glob. | 165 # Archive everything in these directories, using glob. |
| 159 test_dirs_to_archive = ['fonts'] | 166 test_dirs_to_archive = ['fonts'] |
| 160 # Create these directories, initially empty, in the archive. | 167 # Create these directories, initially empty, in the archive. |
| 161 test_dirs_to_create = ['plugins', 'fonts'] | 168 test_dirs_to_create = ['plugins', 'fonts'] |
| 162 | 169 |
| 163 # Directories in which to store built files, for dev, official, and full | 170 # Directories in which to store built files, for dev, official, and full |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 204 |
| 198 # Any URLs found in IRC topics will be passed as %s to this format before | 205 # Any URLs found in IRC topics will be passed as %s to this format before |
| 199 # being added to the topic-list page. It must contain exactly one "%s" token. | 206 # being added to the topic-list page. It must contain exactly one "%s" token. |
| 200 # To disable URL mangling, set this to "%s". | 207 # To disable URL mangling, set this to "%s". |
| 201 href_redirect_format = 'http://www.google.com/url?sa=D&q=%s' | 208 href_redirect_format = 'http://www.google.com/url?sa=D&q=%s' |
| 202 | 209 |
| 203 | 210 |
| 204 class Distributed(chromium_config_private.Distributed): | 211 class Distributed(chromium_config_private.Distributed): |
| 205 # File holding current version information. | 212 # File holding current version information. |
| 206 version_file = Installer.version_file | 213 version_file = Installer.version_file |
| OLD | NEW |