Bug 1325897 - Unship some Universal CRT DLLs. r?glandium draft
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Wed, 28 Dec 2016 18:58:44 +0900
changeset 454456 495a34dad4d4acb8d722bad0fcd7d62650c81615
parent 454351 143bb4b9249e528e658f6ccc449991794b8675f8
child 540711 6fbef89dd8987d9f104ebd6a29afb3a4b31e1c9b
push id39932
push userVYV03354@nifty.ne.jp
push dateThu, 29 Dec 2016 10:30:32 +0000
reviewersglandium
bugs1325897
milestone53.0a1
Bug 1325897 - Unship some Universal CRT DLLs. r?glandium MozReview-Commit-ID: G3ytj1nTuxt
build/win32/moz.build
--- a/build/win32/moz.build
+++ b/build/win32/moz.build
@@ -17,12 +17,22 @@ NO_PGO = True
 
 if CONFIG['WIN32_REDIST_DIR'] and CONFIG['COMPILE_ENVIRONMENT']:
     for f in ['MSVC_C_RUNTIME_DLL', 'MSVC_CXX_RUNTIME_DLL']:
         FINAL_TARGET_FILES += [
             '%%%s/%s' % (CONFIG['WIN32_REDIST_DIR'], CONFIG[f])
         ]
 
 if CONFIG['WIN_UCRT_REDIST_DIR'] and CONFIG['COMPILE_ENVIRONMENT']:
-    for f in ['api-ms-win-*.dll', 'ucrtbase.dll']:
+    win7_ucrt_redists = [
+        '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-crt-*.dll',
+        'ucrtbase.dll',
+    ]
+    for f in win7_ucrt_redists:
         FINAL_TARGET_FILES += [
             '%%%s/%s' % (CONFIG['WIN_UCRT_REDIST_DIR'], f)
         ]