Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: build/split_link_partition.py

Issue 15579003: autofill constants to both sides for split_link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 # they're not on according to the 'parts' split, and then just the obj 118 # they're not on according to the 'parts' split, and then just the obj
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'\bbase\.lib$', r'string_util_constants\.obj$'), 129 (r'\bbase\.lib$', r'string_util_constants\.obj$'),
129 (r'base_static\.lib$', r'base_switches\.obj$'), 130 (r'base_static\.lib$', r'base_switches\.obj$'),
130 (r'\bbase\.lib$', r'file_path_constants\.obj$'), 131 (r'\bbase\.lib$', r'file_path_constants\.obj$'),
131 (r'\bcc\.lib$', r'switches\.obj$'), 132 (r'\bcc\.lib$', r'switches\.obj$'),
132 (r'\bcommon\.lib$', r'extension_constants\.obj$'), 133 (r'\bcommon\.lib$', r'extension_constants\.obj$'),
133 (r'\bcommon\.lib$', r'extension_manifest_constants\.obj$'), 134 (r'\bcommon\.lib$', r'extension_manifest_constants\.obj$'),
134 (r'\bcommon\.lib$', r'url_constants\.obj$'), 135 (r'\bcommon\.lib$', r'url_constants\.obj$'),
135 (r'\bcommon\.lib$', r'view_type\.obj$'), 136 (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 137 # 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. 138 # couple registration/initialization functions that make me a bit nervous.
(...skipping 22 matching lines...) Expand all
160 (r'\bui\.lib$', r'ui_base_switches\.obj$'), 161 (r'\bui\.lib$', r'ui_base_switches\.obj$'),
161 (r'webkit.*plugins_common\.lib$', r'plugin_switches\.obj$'), 162 (r'webkit.*plugins_common\.lib$', r'plugin_switches\.obj$'),
162 (r'webkit.*plugins_common\.lib$', r'plugin_constants'), 163 (r'webkit.*plugins_common\.lib$', r'plugin_constants'),
163 (r'webkit.*storage\.lib$', r'file_permission_policy\.obj$'), 164 (r'webkit.*storage\.lib$', r'file_permission_policy\.obj$'),
164 ], 165 ],
165 166
166 # This manifest will be merged with the intermediate one from the linker, 167 # This manifest will be merged with the intermediate one from the linker,
167 # and embedded in both DLLs. 168 # and embedded in both DLLs.
168 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest' 169 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest'
169 } 170 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698