From 677e00c935b2889d7ab50fb50465f41a6f01a069 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 21 Jul 2022 10:06:23 -0700 Subject: [PATCH] Roll to a current version of libcxx (flutter/engine#34720) Also rolls to a buildroot that increases the minimum required macOS version to 10.13 See https://github.com/flutter/flutter/issues/107492 --- DEPS | 7 ++++--- engine/src/flutter/ci/licenses_golden/tool_signature | 2 +- engine/src/flutter/tools/licenses/lib/main.dart | 6 ++++++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/DEPS b/DEPS index aa41362938..210505d672 100644 --- a/DEPS +++ b/DEPS @@ -15,6 +15,7 @@ vars = { 'fuchsia_git': 'https://fuchsia.googlesource.com', 'github_git': 'https://github.com', 'skia_git': 'https://skia.googlesource.com', + 'llvm_git': 'https://llvm.googlesource.com', # OCMock is for testing only so there is no google clone 'ocmock_git': 'https://github.com/erikdoe/ocmock.git', 'skia_revision': '501b767fce684df1081773530bfa8704a8ff5800', @@ -101,7 +102,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + '6af51ff4b86270cc61517bff3fff5c3bb11492e1', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + '633907dfb90f6e8d97ad122aa66cf2d4207cda9b', # Fuchsia compatibility # @@ -116,10 +117,10 @@ deps = { Var('flutter_git') + '/third_party/harfbuzz' + '@' + 'd40d15e994ed60d32bcfc9ab87004dfb028dfbd6', 'src/third_party/libcxx': - Var('fuchsia_git') + '/third_party/libcxx' + '@' + '7524ef50093a376f334a62a7e5cebf5d238d4c99', + Var('llvm_git') + '/llvm-project/libcxx' + '@' + '44079a4cc04cdeffb9cfe8067bfb3c276fb2bab0', 'src/third_party/libcxxabi': - Var('fuchsia_git') + '/third_party/libcxxabi' + '@' + '74d1e602c76350f0760bf6907910e4f3a4fccffe', + Var('llvm_git') + '/llvm-project/libcxxabi' + '@' + '2ce528fb5e0f92e57c97ec3ff53b75359d33af12', 'src/third_party/glfw': Var('fuchsia_git') + '/third_party/glfw' + '@' + '78e6a0063d27ed44c2c4805606309744f6fb29fc', diff --git a/engine/src/flutter/ci/licenses_golden/tool_signature b/engine/src/flutter/ci/licenses_golden/tool_signature index 4ee9f38b11..44320570dd 100644 --- a/engine/src/flutter/ci/licenses_golden/tool_signature +++ b/engine/src/flutter/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: 0be7d6e5107b5c14bae7579aafdcbb7e +Signature: 74a4a38b60ff642fdbf8f9427f6f8532 diff --git a/engine/src/flutter/tools/licenses/lib/main.dart b/engine/src/flutter/tools/licenses/lib/main.dart index 7777e08c27..4d9e414269 100644 --- a/engine/src/flutter/tools/licenses/lib/main.dart +++ b/engine/src/flutter/tools/licenses/lib/main.dart @@ -1666,6 +1666,12 @@ class _RepositoryLibcxxSrcSupportDirectory extends _RepositoryDirectory { class _RepositoryLibcxxabiDirectory extends _RepositoryDirectory { _RepositoryLibcxxabiDirectory(_RepositoryDirectory parent, fs.Directory io) : super(parent, io); + @override + bool shouldRecurse(fs.IoNode entry) { + return entry.name != 'www' + && super.shouldRecurse(entry); + } + @override _RepositoryFile createFile(fs.IoNode entry) { if (entry.name == 'LICENSE.TXT')