Chromium Code Reviews| Index: build/split_link_partition.json |
| diff --git a/build/split_link_partition.json b/build/split_link_partition.json |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4eb8f6d37b178ada2c4acc298a56677b0e0a554d |
| --- /dev/null |
| +++ b/build/split_link_partition.json |
| @@ -0,0 +1,114 @@ |
| +# This file determines how chrome.dll is split into multiple parts. |
| +{ |
| + 'parts': [ |
| + # These sections are matched in order, and a matching input will go into |
| + # the part for the last block that matches. Inputs are lower()d before |
| + # the regex is run. |
| + |
| + # chrome0.dll. |
| + [ |
| + r'.*', |
| + ], |
| + |
| + # chrome1.dll. |
| + [ |
| + r'\\libwebp\\.*\.lib$', |
| + r'\\media\\.*\.lib$', |
| + r'bindings', |
| + r'content_worker\.lib$', |
| + r'hunspell\.lib$', |
| + r'hyphen\.lib$', |
| + r'renderer\.lib$', |
| + r'v8.*\.lib$', |
| + r'webcore.*\.lib$', |
| + r'webkit.*\.lib$', |
| + r'webkit.*modules\.lib$', |
| + r'wtf\.lib$', |
| + ], |
| + ], |
| + |
| + # These go into all parts. |
| + 'all': [ |
| + # Duplicated code. Be sure that you really want N copies of your code |
| + # before adding it here. Hopefully we don't really need all of these. |
| + #r'_common\.lib$', # TODO: This might be a bit general. |
| + #r'\\base\\base.*\.lib$', |
| + #r'modp_b64\.lib$', |
| + #r'\\icu\\icu.*\.lib$', |
|
M-A Ruel
2013/05/14 00:39:09
It'd be simpler if it used / instead of \\. My que
scottmg
2013/05/14 03:35:07
Yeah, this tool is fundamentally Windows-specific
|
| + #r'\\skia\\skia.*\.lib$', |
| + #r'ipc\.lib$', |
| + ## TODO: These image/coded related things should probably be renderer only? |
| + #r'\\libvpx\\.*\.lib$', |
| + #r'opus\.lib$', |
| + #r'libjpeg\.lib$', |
| + #r'qcms\.lib$', |
| + #r'libpng\.lib$', |
| + #r'zlib\\.*\.lib$', |
| + #r'libxml2\.lib$', |
| + #r'libxslt\.lib$', |
| + #r'\\sdch\\.*\.lib$', |
| + #r'\\net\\.*\.lib$', |
| + #r'\\nss\\.*\.lib$', |
| + #r'\\crypto\\.*\.lib$', |
| + #r'googleurl\.lib$', # TODO: renaming. |
| + #r'\\sql\\.*\.lib$', |
| + #r'sqlite3\.lib$', |
| + |
| + # See comment in .cc for explanation. |
| + r'split_dll_fake_entry\.obj$', |
| + |
| + # To get DLL version information in all. |
| + r'chrome_dll_version.*\.res$', |
| + |
| + # System and third party import libs. |
| + r'^advapi32\.lib$', |
| + r'^atlthunk\.lib$', |
| + r'^chrome\.user32\.delay\.lib$', |
| + r'^comctl32\.lib$', |
| + r'^comdlg32\.lib$', |
| + r'^crypt32\.lib$', |
| + r'^d2d1\.lib$', |
| + r'^d3d9\.lib$', |
| + r'^dbghelp\.lib$', |
| + r'^delayimp\.lib$', |
| + r'^dinput8\.lib$', |
| + r'^dnsapi\.lib$', |
| + r'^dwmapi\.lib$', |
| + r'^dxva2\.lib$', |
| + r'ffmpegsumo\.lib$', |
| + r'^gdi32\.lib$', |
| + r'libcmt\.lib$', # No ^ so it matches gen/allocator, etc. |
| + r'^imm32\.lib$', |
| + r'^iphlpapi\.lib$', |
| + r'^kernel32\.lib$', |
| + r'^locationapi\.lib$', |
| + r'^mf\.lib$', |
| + r'^mfplat\.lib$', |
| + r'^mfreadwrite\.lib$', |
| + r'^mfuuid\.lib$', |
| + r'^msimg32\.lib$', |
| + r'^odbc32\.lib$', |
| + r'^odbccp32\.lib$', |
| + r'^ole32\.lib$', |
| + r'^oleacc\.lib$', |
| + r'^oleaut32\.lib$', |
| + r'^portabledeviceguids\.lib$', |
| + r'^psapi\.lib$', |
| + r'^secur32\.lib$', |
| + r'^sensorsapi\.lib$', |
| + r'^setupapi\.lib$', |
| + r'^shell32\.lib$', |
| + r'^shlwapi\.lib$', |
| + r'^strmiids\.lib$', |
| + r'^user32\.winxp\.lib$', |
| + r'^usp10\.lib$', |
| + r'^uuid\.lib$', |
| + r'^version\.lib$', |
| + r'^wininet\.lib$', |
| + r'^winmm\.lib$', |
| + r'^winspool\.lib$', |
| + r'^ws2_32\.lib$', |
| + ], |
| +} |
| + |
| +# vim: set ft=python: |