未验证 提交 2b3a1942 编写于 作者: C Chris Bracken 提交者: GitHub

Update cppwinrt to build 2.0.210304.5 (#24801)

This fixes an issue in CppWinRT related to std::terminate(); the tool
now uses abort() instead.

CppWinRT patch: https://github.com/microsoft/cppwinrt/pull/868

This also fixes a couple bugs in the README.md:
* Uses tmp as the temp dir into which we unpack the nupkg archive rather
  than cppwinrt to avoid confusion with the containing directory, which is
  named cppwinrt.
* Fixes a typo around the directory from which the cipd command should
  be executed.
上级 2d70d5da
......@@ -564,7 +564,7 @@ deps = {
'packages': [
{
'package': 'flutter/cppwinrt/win-amd64',
'version': 'build:2.0.210301.1'
'version': 'build:2.0.210304.5'
}
],
'condition': 'download_windows_deps',
......
# Temp directory into which we unpack the .nupkg archive
cppwinrt
tmp
# nupkg archives
*.nupkg
......@@ -29,10 +29,9 @@ To update the CIPD package, follow these steps:
```
unzip microsoft.windows.cppwinrt.<version_number>.nupkg -d tmp
```
4. `cd` into the `tmp` directory.
4. Create the CIPD package:
```
cipd create --pkg-def ../cppwinrt-win-amd64.cipd.yaml`
cipd create --pkg-def cppwinrt-win-amd64.cipd.yaml
```
The tool should output that the package was successfully uploaded and
verified, including the package path and an identifier SHA.
......@@ -42,7 +41,7 @@ To update the CIPD package, follow these steps:
```
6. Verify the package was successfully created and tagged:
```
cipd describe flutter/cppwinrt/win-amd64 <new_version_sha>
cipd describe flutter/cppwinrt/win-amd64 -version <new_version_sha>
```
7. Delete the archive and temp directory:
```
......
......@@ -2,7 +2,7 @@ package: flutter/cppwinrt/win-amd64
description: C++/WinRT tool used for building WinRT headers for Windows UWP builds
install_mode: copy
# The temp directory into which the nupkg archive is extracted.
root: cppwinrt
root: tmp
data:
# Contents of the cppwinrt/ directory are at the root of the CIPD package.
- dir: .
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册