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

Unified Diff: build/split_link_partition.py

Issue 14850021: Generate, merge, and embed manifest when doing 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/win/split_link/install_split_link.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/split_link_partition.py
diff --git a/build/split_link_partition.py b/build/split_link_partition.py
index 4f95f8c29a8c626774386ed82f0fb61e59d065ea..60409d23560999dd38e356e987210c7ce36e3f99 100644
--- a/build/split_link_partition.py
+++ b/build/split_link_partition.py
@@ -1,116 +1,120 @@
-# Copyright (c) 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# This dict 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$',
- #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$',
- ],
-}
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This dict 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.
+
+ # chrome.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$',
+ #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$',
+ ],
+
+ # This manifest will be merged with the intermediate one from the linker,
+ # and embedded in both DLLs.
+ 'manifest': '..\\..\\chrome\\app\\chrome.dll.manifest'
+}
« no previous file with comments | « no previous file | tools/win/split_link/install_split_link.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698