[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

8
DEPS
View File

@@ -109,7 +109,7 @@ allowed_hosts = [
]
deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'af893d511e89f93194f86dae8a4ef39e3b3fe59b',
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'c9c2b77c9520903741ccda2fe12f773408a76c94',
# Fuchsia compatibility
#
@@ -510,6 +510,12 @@ deps = {
'src/third_party/imgui':
Var('github_git') + '/ocornut/imgui.git' + '@' + '29d462ebce0275345a6ce4621d8fff0ded57c9e5',
'src/third_party/tinygltf':
Var('github_git') + '/syoyo/tinygltf.git' + '@' + '9bb5806df4055ac973b970ba5b3e27ce27d98148',
'src/third_party/json':
Var('github_git') + '/nlohmann/json.git' + '@' + '17d9eacd248f58b73f4d1be518ef649fe2295642',
'src/third_party/gradle': {
'packages': [
{

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' &&