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

Unified Diff: win_toolchain/package_from_installed.py

Issue 1160683005: Add system crt dlls to win 2015 toolchain package (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win_toolchain/package_from_installed.py
diff --git a/win_toolchain/package_from_installed.py b/win_toolchain/package_from_installed.py
index 6fe606f185c6418ccf9e7dcbf310d58b2c2abc39..f9d5502b73ec9748e8b7b181c20600f4ca087e42 100644
--- a/win_toolchain/package_from_installed.py
+++ b/win_toolchain/package_from_installed.py
@@ -125,6 +125,39 @@ def BuildFileList():
to = os.path.join('ucrt', target, combined[len(src) + 1:])
result.append((combined, to))
+ system_crt_files = [
+ 'api-ms-win-core-file-l1-2-0.dll',
+ 'api-ms-win-core-file-l2-1-0.dll',
+ 'api-ms-win-core-localization-l1-2-0.dll',
+ 'api-ms-win-core-processthreads-l1-1-1.dll',
+ 'api-ms-win-core-synch-l1-2-0.dll',
+ 'api-ms-win-core-timezone-l1-1-0.dll',
+ 'api-ms-win-core-xstate-l2-1-0.dll',
+ 'api-ms-win-crt-conio-l1-1-0.dll',
+ 'api-ms-win-crt-convert-l1-1-0.dll',
+ 'api-ms-win-crt-environment-l1-1-0.dll',
+ 'api-ms-win-crt-filesystem-l1-1-0.dll',
+ 'api-ms-win-crt-heap-l1-1-0.dll',
+ 'api-ms-win-crt-locale-l1-1-0.dll',
+ 'api-ms-win-crt-math-l1-1-0.dll',
+ 'api-ms-win-crt-multibyte-l1-1-0.dll',
+ 'api-ms-win-crt-private-l1-1-0.dll',
+ 'api-ms-win-crt-process-l1-1-0.dll',
+ 'api-ms-win-crt-runtime-l1-1-0.dll',
+ 'api-ms-win-crt-stdio-l1-1-0.dll',
+ 'api-ms-win-crt-string-l1-1-0.dll',
+ 'api-ms-win-crt-time-l1-1-0.dll',
+ 'api-ms-win-crt-utility-l1-1-0.dll',
+ 'api-ms-win-eventing-provider-l1-1-0.dll',
+ 'ucrtbase.dll',
+ 'ucrtbased.dll',
+ ]
+ for system_crt_file in system_crt_files:
+ result.append((os.path.join(r'C:\Windows\SysWOW64', system_crt_file),
+ os.path.join('sys32', system_crt_file)))
+ result.append((os.path.join(r'C:\Windows\System32', system_crt_file),
+ os.path.join('sys64', system_crt_file)))
+
# Generically drop all arm stuff that we don't need.
return [(f, t) for f, t in result if 'arm\\' not in f.lower() and
'arm64\\' not in f.lower()]
« 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