diff --git a/DEPS b/DEPS index 4c02dc84b8..8663b8affb 100644 --- a/DEPS +++ b/DEPS @@ -141,7 +141,7 @@ deps = { Var('chromium_git') + '/vulkan-deps' + '@' + '23b710f1a0b3c44d51035c6400a554415f95d9c6', 'src/third_party/flatbuffers': - Var('github_git') + '/google/flatbuffers.git' + '@' + '967df08b1dbddc62f867464c2e0d58d8027438ad', + Var('github_git') + '/google/flatbuffers.git' + '@' + '0a80646371179f8a7a5c1f42c31ee1d44dcf6709', 'src/third_party/icu': Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '12de966fcbe1d1a48dba310aee63807856ffeee8', diff --git a/engine/src/flutter/tools/licenses/README.md b/engine/src/flutter/tools/licenses/README.md index 20ca711e97..9619edfede 100644 --- a/engine/src/flutter/tools/licenses/README.md +++ b/engine/src/flutter/tools/licenses/README.md @@ -3,13 +3,17 @@ ## Apply patch generated by CI If you're not working on a Linux box then you can't auto-generate license files. A workaround is provided via CI. -Your build will fail one or more CI checks if your license files are not correct. Open the failing CI check. In the CI output you will find a patch diff that represents the changes that need to be made to your license files. Click `Download full logs` (Github removes lines with only whitespaces, which invalidates the diff). Copy this patch to a temporary patch file wherever you'd like. Then apply the patch to your repo: +Your build will fail one or more CI checks if your license files are not correct. Open the failing CI check. In the CI output you will find a patch diff that represents the changes that need to be made to your license files. + +IF (and only if!) the diff does not change _which_ licenses are being included, but only affects the `FILE:` metadata and so forth in the golden files, then you can click `Download full logs` (Github removes lines with only whitespaces, which invalidates the diff), copy this patch to a temporary patch file wherever you'd like, and then apply the patch to your repo: ``` cd flutter/ci/licenses_golden patch -p2 < my/patch/file ``` +HOWEVER, if the actual content of the licenses changed then you will need to rerun the script from a Linux box to update the actual LICENSE file, as described below. + ## Check for license changes (Only works on Linux) This script has two sets of output files: "goldens", which describe