[Impeller] Update buildroot with json.hpp and tinygltf (flutter/engine#36402)

This commit is contained in:
Brandon DeRosier
2022-09-26 14:28:05 -07:00
committed by GitHub
parent e41c775200
commit 6a516d118c
4 changed files with 18 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
Signature: 2fb519822786fbfd8d72d8cf704caafd
Signature: eeb0c647625047671a862bb877890a5f

View File

@@ -18,16 +18,19 @@ LicenseType convertLicenseNameToType(String? name) {
case 'Apache':
case 'apache-license-2.0':
case 'LICENSE-APACHE-2.0.txt':
case 'Apache-2.0.txt':
case 'LICENSE.vulkan':
return LicenseType.apache;
case 'BSD':
case 'BSD.txt':
case 'BSD-3-Clause.txt':
return LicenseType.bsd;
case 'LICENSE-LGPL-2':
case 'LICENSE-LGPL-2.1':
case 'COPYING-LGPL-2.1':
return LicenseType.lgpl;
case 'COPYING-GPL-3':
case 'GPL-3.0-only.txt':
return LicenseType.gpl;
case 'FTL.TXT':
return LicenseType.freetype;
@@ -46,6 +49,9 @@ LicenseType convertLicenseNameToType(String? name) {
return LicenseType.mpl;
case 'COPYRIGHT.vulkan':
return LicenseType.vulkan;
case 'LICENSE.MIT':
case 'MIT.txt':
return LicenseType.mit;
// common file names that don't say what the type is
case 'COPYING':
case 'COPYING.txt':

View File

@@ -1021,11 +1021,15 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
return !entry.fullName.endsWith('third_party/gn') &&
!entry.fullName.endsWith('third_party/gradle') &&
!entry.fullName.endsWith('third_party/imgui') &&
!entry.fullName.endsWith('third_party/tinygltf') &&
!entry.fullName.endsWith('third_party/json/docs') &&
!entry.fullName.endsWith('third_party/json/LICENSES') &&
entry.name != '.ccls-cache' &&
entry.name != '.cipd' &&
entry.name != '.git' &&
entry.name != '.github' &&
entry.name != '.gitignore' &&
entry.name != '.reuse' &&
entry.name != '.vscode' &&
entry.name != 'javatests' &&
entry.name != 'fixtures' &&