OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This dict determines how chrome.dll is split into multiple parts. | 5 # This dict determines how chrome.dll is split into multiple parts. |
6 { | 6 { |
7 'parts': [ | 7 'parts': [ |
8 # These sections are matched in order, and a matching input will go into | 8 # These sections are matched in order, and a matching input will go into |
9 # the part for the last block that matches. Inputs are lower()d before | 9 # the part for the last block that matches. Inputs are lower()d before |
10 # the regex is run. | 10 # the regex is run. |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 # linked into the other side. Each should be a 2-tuple, where the first is | 119 # linked into the other side. Each should be a 2-tuple, where the first is |
120 # a regex for the .lib name, and the second is a regex for the .obj from | 120 # a regex for the .lib name, and the second is a regex for the .obj from |
121 # that lib. The lib should not match anything in 'all'. | 121 # that lib. The lib should not match anything in 'all'. |
122 # | 122 # |
123 # Note: If you're considering adding something that isn't a _switches or a | 123 # Note: If you're considering adding something that isn't a _switches or a |
124 # _constants file, it'd probably be better to break the target into separate | 124 # _constants file, it'd probably be better to break the target into separate |
125 # .lib files. | 125 # .lib files. |
126 'all_from_libs': [ | 126 'all_from_libs': [ |
127 (r'autofill_common\.lib$', r'switches\.obj$'), | 127 (r'autofill_common\.lib$', r'switches\.obj$'), |
128 (r'autofill_common\.lib$', r'autofill_constants\.obj$'), | 128 (r'autofill_common\.lib$', r'autofill_constants\.obj$'), |
| 129 (r'\bbase\.lib$', r'scoped_variant\.obj$'), |
129 (r'\bbase\.lib$', r'string_util_constants\.obj$'), | 130 (r'\bbase\.lib$', r'string_util_constants\.obj$'), |
130 (r'\bbase_i18n\.lib$', r'i18n_constants\.obj$'), | 131 (r'\bbase_i18n\.lib$', r'i18n_constants\.obj$'), |
131 (r'base_static\.lib$', r'base_switches\.obj$'), | 132 (r'base_static\.lib$', r'base_switches\.obj$'), |
132 (r'\bbase\.lib$', r'file_path_constants\.obj$'), | 133 (r'\bbase\.lib$', r'file_path_constants\.obj$'), |
133 (r'\bcc\.lib$', r'switches\.obj$'), | 134 (r'\bcc\.lib$', r'switches\.obj$'), |
134 (r'\bcommon\.lib$', r'constants\.obj$'), | 135 (r'\bcommon\.lib$', r'constants\.obj$'), |
135 (r'\bcommon\.lib$', r'extension_manifest_constants\.obj$'), | 136 (r'\bcommon\.lib$', r'extension_manifest_constants\.obj$'), |
| 137 (r'\bcommon\.lib$', r'localized_error\.obj$'), |
136 (r'\bcommon\.lib$', r'url_constants\.obj$'), | 138 (r'\bcommon\.lib$', r'url_constants\.obj$'), |
137 (r'\bcommon\.lib$', r'view_type\.obj$'), | 139 (r'\bcommon\.lib$', r'view_type\.obj$'), |
138 # It sort of looks like most of this lib could go in 'all', but there's a | 140 # It sort of looks like most of this lib could go in 'all', but there's a |
139 # couple registration/initialization functions that make me a bit nervous. | 141 # couple registration/initialization functions that make me a bit nervous. |
140 (r'common_constants\.lib$', r'chrome_constants\.obj$'), | 142 (r'common_constants\.lib$', r'chrome_constants\.obj$'), |
141 (r'common_constants\.lib$', r'chrome_switches\.obj$'), | 143 (r'common_constants\.lib$', r'chrome_switches\.obj$'), |
142 (r'common_constants\.lib$', r'pref_names\.obj$'), | 144 (r'common_constants\.lib$', r'pref_names\.obj$'), |
143 (r'content_common\.lib$', r'browser_plugin_constants\.obj$'), | 145 (r'content_common\.lib$', r'browser_plugin_constants\.obj$'), |
144 (r'content_common\.lib$', r'content_constants\.obj$'), | 146 (r'content_common\.lib$', r'content_constants\.obj$'), |
145 (r'content_common\.lib$', r'content_switches\.obj$'), | 147 (r'content_common\.lib$', r'content_switches\.obj$'), |
146 (r'content_common\.lib$', r'media_stream_options\.obj$'), | 148 (r'content_common\.lib$', r'media_stream_options\.obj$'), |
147 (r'content_common\.lib$', r'page_zoom\.obj$'), | 149 (r'content_common\.lib$', r'page_zoom\.obj$'), |
148 (r'content_common\.lib$', r'url_constants\.obj$'), | 150 (r'content_common\.lib$', r'url_constants\.obj$'), |
149 (r'gl_wrapper\.lib$', r'gl_switches\.obj$'), | 151 (r'gl_wrapper\.lib$', r'gl_switches\.obj$'), |
150 # TODO(scottmg): These are not solely constants, but look safe. | 152 # TODO(scottmg): These are not solely constants, but look safe. |
151 (r'libjingle_webrtc_common\.lib$', r'localaudiosource\.obj$'), | 153 (r'libjingle_webrtc_common\.lib$', r'localaudiosource\.obj$'), |
152 (r'libjingle_webrtc_common\.lib$', r'mediaconstraintsinterface\.obj$'), | 154 (r'libjingle_webrtc_common\.lib$', r'mediaconstraintsinterface\.obj$'), |
153 (r'\bmedia\.lib$', r'audio_manager_base\.obj$'), | 155 (r'\bmedia\.lib$', r'audio_manager_base\.obj$'), |
154 (r'\bmedia\.lib$', r'media_switches\.obj$'), | 156 (r'\bmedia\.lib$', r'media_switches\.obj$'), |
155 # TODO(scottmg): This one is not solely constants, but looks safe. | 157 # TODO(scottmg): This one is not solely constants, but looks safe. |
156 (r'\bnet\.lib$', r'http_request_headers\.obj$'), | 158 (r'\bnet\.lib$', r'http_request_headers\.obj$'), |
157 (r'\bnet\.lib$', r'net_errors\.obj$'), | 159 (r'\bnet\.lib$', r'net_errors\.obj$'), |
158 (r'ppapi_shared\.lib$', r'id_assignment\.obj$'), | 160 (r'ppapi_shared\.lib$', r'id_assignment\.obj$'), |
159 (r'ppapi_shared\.lib$', r'ppapi_switches\.obj$'), | 161 (r'ppapi_shared\.lib$', r'ppapi_switches\.obj$'), |
| 162 (r'ppapi_shared\.lib$', r'ppb_instance_shared\.obj$'), |
160 (r'ppapi_shared\.lib$', r'net_address_private_impl_constants\.obj$'), | 163 (r'ppapi_shared\.lib$', r'net_address_private_impl_constants\.obj$'), |
161 (r'printing\.lib$', r'print_job_constants\.obj$'), | 164 (r'printing\.lib$', r'print_job_constants\.obj$'), |
| 165 (r'protobuf_lite\.lib$', r'generated_message_util\.obj$'), |
162 (r'skia\.lib$', r'skunpremultiply\.obj$'), | 166 (r'skia\.lib$', r'skunpremultiply\.obj$'), |
| 167 (r'skia\.lib$', r'skblitter\.obj$'), |
163 (r'\bui\.lib$', r'clipboard_constants\.obj$'), | 168 (r'\bui\.lib$', r'clipboard_constants\.obj$'), |
164 (r'\bui\.lib$', r'favicon_size\.obj$'), | 169 (r'\bui\.lib$', r'favicon_size\.obj$'), |
165 (r'\bui\.lib$', r'ui_base_switches\.obj$'), | 170 (r'\bui\.lib$', r'ui_base_switches\.obj$'), |
166 (r'webkit.*plugins_common\.lib$', r'plugin_switches\.obj$'), | 171 (r'webkit.*plugins_common\.lib$', r'plugin_switches\.obj$'), |
167 (r'webkit.*plugins_common\.lib$', r'plugin_constants'), | 172 (r'webkit.*plugins_common\.lib$', r'plugin_constants'), |
| 173 (r'webkit.*storage\.lib$', r'appcache_interfaces\.obj$'), |
| 174 (r'webkit.*storage\.lib$', r'database_tracker\.obj$'), |
| 175 (r'webkit.*storage\.lib$', r'database_util\.obj$'), |
168 (r'webkit.*storage\.lib$', r'file_permission_policy\.obj$'), | 176 (r'webkit.*storage\.lib$', r'file_permission_policy\.obj$'), |
| 177 (r'webkit.*storage\.lib$', r'file_system_task_runners\.obj$'), |
169 ], | 178 ], |
170 | 179 |
171 # This manifest will be merged with the intermediate one from the linker, | 180 # This manifest will be merged with the intermediate one from the linker, |
172 # and embedded in both DLLs. | 181 # and embedded in both DLLs. |
173 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest' | 182 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest' |
174 } | 183 } |
OLD | NEW |