Add Dear ImGui as a test only dependency (flutter/engine#31541)

This commit is contained in:
Brandon DeRosier
2022-02-22 21:54:03 -08:00
committed by GitHub
parent 2ccc8c1af6
commit 3dea7773e3
3 changed files with 6 additions and 2 deletions

5
DEPS
View File

@@ -107,7 +107,7 @@ allowed_hosts = [
]
deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '79643299bd052c53631b8b200bb582e8badb2708',
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'e4cee118fc80c7cd3b8f8959aa02747a67c38a63',
'src/flutter/impeller':
Var('github_git') + '/flutter/impeller' + '@' + '2793516e27224b16e572138cb7cb18cc6b22adc7',
@@ -473,6 +473,9 @@ deps = {
'src/third_party/pkg/vector_math':
Var('github_git') + '/google/vector_math.dart.git' + '@' + 'v2.1.0',
'src/third_party/imgui':
Var('github_git') + '/ocornut/imgui.git' + '@' + '29d462ebce0275345a6ce4621d8fff0ded57c9e5',
'src/gradle': {
'packages': [
{

View File

@@ -1,2 +1,2 @@
Signature: fd70aa1b20bfff1d7147a26138a14a9f
Signature: fb1ee9723a82b06b7333d6cbb23dfe9b

View File

@@ -919,6 +919,7 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
/// directory (a.k.a. buildroot).
bool shouldRecurse(fs.IoNode entry) {
return !entry.fullName.endsWith('third_party/gn') &&
!entry.fullName.endsWith('third_party/imgui') &&
entry.name != '.ccls-cache' &&
entry.name != '.cipd' &&
entry.name != '.git' &&