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'base_static\.lib$', r'base_switches\.obj$'), | 128 (r'base_static\.lib$', r'base_switches\.obj$'), |
129 # TODO(scottmg): This one is not solely constants, but looks safe. | |
130 (r'browser_extensions\.lib$', r'tab_capture_api\.obj$'), | |
131 (r'\bcc\.lib$', r'switches\.obj$'), | 129 (r'\bcc\.lib$', r'switches\.obj$'), |
132 (r'\bcommon\.lib$', r'extension_constants\.obj$'), | 130 (r'\bcommon\.lib$', r'extension_constants\.obj$'), |
133 (r'\bcommon\.lib$', r'extension_manifest_constants\.obj$'), | 131 (r'\bcommon\.lib$', r'extension_manifest_constants\.obj$'), |
134 (r'\bcommon\.lib$', r'url_constants\.obj$'), | 132 (r'\bcommon\.lib$', r'url_constants\.obj$'), |
135 (r'\bcommon\.lib$', r'view_type\.obj$'), | 133 (r'\bcommon\.lib$', r'view_type\.obj$'), |
136 # It sort of looks like most of this lib could go in 'all', but there's a | 134 # It sort of looks like most of this lib could go in 'all', but there's a |
137 # couple registration/initialization functions that make me a bit nervous. | 135 # couple registration/initialization functions that make me a bit nervous. |
138 (r'common_constants\.lib$', r'chrome_constants\.obj$'), | 136 (r'common_constants\.lib$', r'chrome_constants\.obj$'), |
139 (r'common_constants\.lib$', r'chrome_switches\.obj$'), | 137 (r'common_constants\.lib$', r'chrome_switches\.obj$'), |
140 (r'common_constants\.lib$', r'pref_names\.obj$'), | 138 (r'common_constants\.lib$', r'pref_names\.obj$'), |
141 (r'content_common\.lib$', r'browser_plugin_constants\.obj$'), | 139 (r'content_common\.lib$', r'browser_plugin_constants\.obj$'), |
142 (r'content_common\.lib$', r'content_constants\.obj$'), | 140 (r'content_common\.lib$', r'content_constants\.obj$'), |
143 (r'content_common\.lib$', r'content_switches\.obj$'), | 141 (r'content_common\.lib$', r'content_switches\.obj$'), |
| 142 (r'content_common\.lib$', r'media_stream_options\.obj$'), |
144 (r'content_common\.lib$', r'page_zoom\.obj$'), | 143 (r'content_common\.lib$', r'page_zoom\.obj$'), |
145 (r'content_common\.lib$', r'url_constants\.obj$'), | 144 (r'content_common\.lib$', r'url_constants\.obj$'), |
146 (r'gl_wrapper\.lib$', r'gl_switches\.obj$'), | 145 (r'gl_wrapper\.lib$', r'gl_switches\.obj$'), |
147 # TODO(scottmg): This one is not solely constants, but looks safe. | 146 # TODO(scottmg): This one is not solely constants, but looks safe. |
148 (r'libjingle_webrtc_common\.lib$', r'mediaconstraintsinterface\.obj$'), | 147 (r'libjingle_webrtc_common\.lib$', r'mediaconstraintsinterface\.obj$'), |
| 148 (r'\bmedia\.lib$', r'audio_manager_base\.obj$'), |
149 (r'\bmedia\.lib$', r'media_switches\.obj$'), | 149 (r'\bmedia\.lib$', r'media_switches\.obj$'), |
150 # TODO(scottmg): This one is not solely constants, but looks safe. | 150 # TODO(scottmg): This one is not solely constants, but looks safe. |
151 (r'\bnet\.lib$', r'http_request_headers\.obj$'), | 151 (r'\bnet\.lib$', r'http_request_headers\.obj$'), |
152 (r'ppapi_shared\.lib$', r'ppapi_switches\.obj$'), | 152 (r'ppapi_shared\.lib$', r'ppapi_switches\.obj$'), |
153 (r'printing\.lib$', r'print_job_constants\.obj$'), | 153 (r'printing\.lib$', r'print_job_constants\.obj$'), |
154 (r'skia\.lib$', r'skunpremultiply\.obj$'), | 154 (r'skia\.lib$', r'skunpremultiply\.obj$'), |
155 (r'\bui\.lib$', r'favicon_size\.obj$'), | 155 (r'\bui\.lib$', r'favicon_size\.obj$'), |
156 (r'\bui\.lib$', r'ui_base_switches\.obj$'), | 156 (r'\bui\.lib$', r'ui_base_switches\.obj$'), |
157 (r'webkit.*plugins_common\.lib$', r'plugin_switches\.obj$'), | 157 (r'webkit.*plugins_common\.lib$', r'plugin_switches\.obj$'), |
158 (r'webkit.*plugins_common\.lib$', r'plugin_constants'), | 158 (r'webkit.*plugins_common\.lib$', r'plugin_constants'), |
159 (r'webkit.*storage\.lib$', r'file_permission_policy\.obj$'), | 159 (r'webkit.*storage\.lib$', r'file_permission_policy\.obj$'), |
160 ], | 160 ], |
161 | 161 |
162 # This manifest will be merged with the intermediate one from the linker, | 162 # This manifest will be merged with the intermediate one from the linker, |
163 # and embedded in both DLLs. | 163 # and embedded in both DLLs. |
164 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest' | 164 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest' |
165 } | 165 } |
OLD | NEW |