build: remove unneeded dlls in Windows zip (#41120)
* build: fixup zip manifest check on Windows * build: remove unused dlls
This commit is contained in:
parent
1a0991a9b9
commit
9e630eb66a
3 changed files with 16 additions and 2 deletions
|
@ -177,7 +177,12 @@ for:
|
||||||
# built on CI.
|
# built on CI.
|
||||||
7z a pdb.zip out\Default\*.pdb
|
7z a pdb.zip out\Default\*.pdb
|
||||||
}
|
}
|
||||||
- python3 electron/script/zip_manifests/check-zip-manifest.py out/Default/dist.zip electron/script/zip_manifests/dist_zip.win.%TARGET_ARCH%.manifest
|
- ps: |
|
||||||
|
$manifest_file = "electron/script/zip_manifests/dist_zip.win.$env:TARGET_ARCH.manifest"
|
||||||
|
python3 electron/script/zip_manifests/check-zip-manifest.py out/Default/dist.zip $manifest_file
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
|
throw "Zip contains files not listed in the manifest $manifest_file"
|
||||||
|
}
|
||||||
- ps: |
|
- ps: |
|
||||||
cd C:\projects\src
|
cd C:\projects\src
|
||||||
$missing_artifacts = $false
|
$missing_artifacts = $false
|
||||||
|
|
|
@ -174,7 +174,12 @@ for:
|
||||||
# built on CI.
|
# built on CI.
|
||||||
7z a pdb.zip out\Default\*.pdb
|
7z a pdb.zip out\Default\*.pdb
|
||||||
}
|
}
|
||||||
- python3 electron/script/zip_manifests/check-zip-manifest.py out/Default/dist.zip electron/script/zip_manifests/dist_zip.win.%TARGET_ARCH%.manifest
|
- ps: |
|
||||||
|
$manifest_file = "electron/script/zip_manifests/dist_zip.win.$env:TARGET_ARCH.manifest"
|
||||||
|
python3 electron/script/zip_manifests/check-zip-manifest.py out/Default/dist.zip $manifest_file
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
|
throw "Zip contains files not listed in the manifest $manifest_file"
|
||||||
|
}
|
||||||
- ps: |
|
- ps: |
|
||||||
cd C:\projects\src
|
cd C:\projects\src
|
||||||
$missing_artifacts = $false
|
$missing_artifacts = $false
|
||||||
|
|
|
@ -24,6 +24,10 @@ enable_printing = true
|
||||||
angle_enable_vulkan_validation_layers = false
|
angle_enable_vulkan_validation_layers = false
|
||||||
dawn_enable_vulkan_validation_layers = false
|
dawn_enable_vulkan_validation_layers = false
|
||||||
|
|
||||||
|
# Removes dxc dll's that are only used experimentally.
|
||||||
|
# See https://bugs.chromium.org/p/chromium/issues/detail?id=1474897
|
||||||
|
dawn_use_built_dxc = false
|
||||||
|
|
||||||
# These are disabled because they cause the zip manifest to differ between
|
# These are disabled because they cause the zip manifest to differ between
|
||||||
# testing and release builds.
|
# testing and release builds.
|
||||||
# See https://chromium-review.googlesource.com/c/chromium/src/+/2774898.
|
# See https://chromium-review.googlesource.com/c/chromium/src/+/2774898.
|
||||||
|
|
Loading…
Reference in a new issue