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

Side by Side Diff: build/split_link_partition.py

Issue 15310002: Identify data exports during 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 | tools/win/split_link/split_link.py » ('j') | 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 r'^user32\.winxp\.lib$', 107 r'^user32\.winxp\.lib$',
108 r'^usp10\.lib$', 108 r'^usp10\.lib$',
109 r'^uuid\.lib$', 109 r'^uuid\.lib$',
110 r'^version\.lib$', 110 r'^version\.lib$',
111 r'^wininet\.lib$', 111 r'^wininet\.lib$',
112 r'^winmm\.lib$', 112 r'^winmm\.lib$',
113 r'^winspool\.lib$', 113 r'^winspool\.lib$',
114 r'^ws2_32\.lib$', 114 r'^ws2_32\.lib$',
115 ], 115 ],
116 116
117 # objs split out of libs. These will be extracted from whichever side
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
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'.
122 #
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
125 # .lib files.
126 'all_from_libs': [
127 (r'autofill_common\.lib$', r'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$'),
132 (r'\bcommon\.lib$', r'extension_constants\.obj$'),
133 (r'\bcommon\.lib$', r'extension_manifest_constants\.obj$'),
134 (r'\bcommon\.lib$', r'url_constants\.obj$'),
135 (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 # couple registration/initialization functions that make me a bit nervous.
138 (r'common_constants\.lib$', r'chrome_constants\.obj$'),
139 (r'common_constants\.lib$', r'chrome_switches\.obj$'),
140 (r'common_constants\.lib$', r'pref_names\.obj$'),
141 (r'content_common\.lib$', r'browser_plugin_constants\.obj$'),
142 (r'content_common\.lib$', r'content_constants\.obj$'),
143 (r'content_common\.lib$', r'content_switches\.obj$'),
144 (r'content_common\.lib$', r'page_zoom\.obj$'),
145 (r'content_common\.lib$', r'url_constants\.obj$'),
146 (r'gl_wrapper\.lib$', r'gl_switches\.obj$'),
147 # TODO(scottmg): This one is not solely constants, but looks safe.
148 (r'libjingle_webrtc_common\.lib$', r'mediaconstraintsinterface\.obj$'),
149 (r'\bmedia\.lib$', r'media_switches\.obj$'),
150 # TODO(scottmg): This one is not solely constants, but looks safe.
151 (r'\bnet\.lib$', r'http_request_headers\.obj$'),
152 (r'ppapi_shared\.lib$', r'ppapi_switches\.obj$'),
153 (r'printing\.lib$', r'print_job_constants\.obj$'),
154 (r'skia\.lib$', r'skunpremultiply\.obj$'),
155 (r'\bui\.lib$', r'favicon_size\.obj$'),
156 (r'\bui\.lib$', r'ui_base_switches\.obj$'),
157 (r'webkit.*plugins_common\.lib$', r'plugin_switches\.obj$'),
158 (r'webkit.*plugins_common\.lib$', r'plugin_constants'),
159 (r'webkit.*storage\.lib$', r'file_permission_policy\.obj$'),
160 ],
161
117 # 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,
118 # and embedded in both DLLs. 163 # and embedded in both DLLs.
119 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest' 164 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest'
120 } 165 }
OLDNEW
« no previous file with comments | « no previous file | tools/win/split_link/split_link.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698