diff --git a/DEPS b/DEPS index e6f0a65331..9a6d6b5a8b 100644 --- a/DEPS +++ b/DEPS @@ -121,7 +121,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'bb316a9e3aaed59f8027c55fbfc64020bf442300', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'c5afcce6d7972b20eded5b090b489b76622e8ff3', # Fuchsia compatibility # diff --git a/engine/src/flutter/fml/BUILD.gn b/engine/src/flutter/fml/BUILD.gn index b70d5963ce..759a152408 100644 --- a/engine/src/flutter/fml/BUILD.gn +++ b/engine/src/flutter/fml/BUILD.gn @@ -136,13 +136,10 @@ source_set("fml") { } if (is_android) { - # Don't filter away these Linux sources on Android. - set_sources_assignment_filter([]) sources += [ "platform/linux/timerfd.cc", "platform/linux/timerfd.h", ] - set_sources_assignment_filter(sources_assignment_filter) } if (is_linux) { diff --git a/engine/src/flutter/shell/platform/darwin/BUILD.gn b/engine/src/flutter/shell/platform/darwin/BUILD.gn index 71cccb6932..858bd39dc1 100644 --- a/engine/src/flutter/shell/platform/darwin/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/BUILD.gn @@ -20,7 +20,6 @@ group("darwin") { } source_set("flutter_channels") { - set_sources_assignment_filter([]) sources = [ "common/buffer_conversions.h", "common/buffer_conversions.mm", @@ -33,7 +32,6 @@ source_set("flutter_channels") { "ios/framework/Source/FlutterStandardCodec.mm", "ios/framework/Source/FlutterStandardCodec_Internal.h", ] - set_sources_assignment_filter(sources_assignment_filter) deps = [ "$flutter_root/common", @@ -49,7 +47,6 @@ source_set("flutter_channels") { # Framework code shared between iOS and macOS. source_set("framework_shared") { - set_sources_assignment_filter([]) sources = [ "ios/framework/Source/FlutterChannels.mm", "ios/framework/Source/FlutterCodecs.mm", @@ -58,7 +55,6 @@ source_set("framework_shared") { ] public = framework_shared_headers - set_sources_assignment_filter(sources_assignment_filter) defines = [ "FLUTTER_FRAMEWORK" ] @@ -68,12 +64,10 @@ source_set("framework_shared") { executable("flutter_channels_unittests") { testonly = true - set_sources_assignment_filter([]) sources = [ "ios/framework/Source/flutter_codecs_unittest.mm", "ios/framework/Source/flutter_standard_codec_unittest.mm", ] - set_sources_assignment_filter(sources_assignment_filter) deps = [ ":flutter_channels", diff --git a/engine/src/flutter/shell/platform/darwin/common/BUILD.gn b/engine/src/flutter/shell/platform/darwin/common/BUILD.gn index 8dd3387b3f..940579fd32 100644 --- a/engine/src/flutter/shell/platform/darwin/common/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/common/BUILD.gn @@ -3,16 +3,12 @@ # found in the LICENSE file. source_set("common") { - # Disable the assignment filter because the files will be used on iOS as well - # as Mac. - set_sources_assignment_filter([]) sources = [ "buffer_conversions.h", "buffer_conversions.mm", "command_line.h", "command_line.mm", ] - set_sources_assignment_filter(sources_assignment_filter) deps = [ "$flutter_root/common", diff --git a/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn b/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn index 009fc4dae1..482865c694 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn @@ -220,11 +220,9 @@ action("copy_framework_headers") { copy("copy_framework_icu") { visibility = [ ":*" ] - set_sources_assignment_filter([]) sources = [ "//third_party/icu/flutter/icudtl.dat", ] - set_sources_assignment_filter(sources_assignment_filter) outputs = [ "$_flutter_framework_dir/{{source_file_part}}", ] diff --git a/engine/src/flutter/shell/platform/darwin/macos/BUILD.gn b/engine/src/flutter/shell/platform/darwin/macos/BUILD.gn index 5a9547639e..72d689ede5 100644 --- a/engine/src/flutter/shell/platform/darwin/macos/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/macos/BUILD.gn @@ -137,7 +137,6 @@ copy("copy_framework_module_map") { action("copy_framework_headers") { script = "$flutter_root/sky/tools/install_framework_headers.py" visibility = [ ":*" ] - set_sources_assignment_filter([]) sources = get_path_info(_flutter_framework_headers, "abspath") + framework_shared_headers outputs = [] @@ -150,16 +149,13 @@ action("copy_framework_headers") { rebase_path("$_flutter_framework_headers_copy_dir"), "--headers", ] + rebase_path(sources, "", "//") - set_sources_assignment_filter(sources_assignment_filter) } copy("copy_framework_icu") { visibility = [ ":*" ] - set_sources_assignment_filter([]) sources = [ "//third_party/icu/flutter/icudtl.dat", ] - set_sources_assignment_filter(sources_assignment_filter) outputs = [ "$_flutter_framework_dir/Versions/A/Resources/{{source_file_part}}", ] diff --git a/engine/src/flutter/third_party/txt/BUILD.gn b/engine/src/flutter/third_party/txt/BUILD.gn index af05631f7d..bc08ff2cf1 100644 --- a/engine/src/flutter/third_party/txt/BUILD.gn +++ b/engine/src/flutter/third_party/txt/BUILD.gn @@ -117,9 +117,7 @@ source_set("txt") { ] if (is_mac || is_ios) { - set_sources_assignment_filter([]) sources += [ "src/txt/platform_mac.mm" ] - set_sources_assignment_filter(sources_assignment_filter) deps += [ "$flutter_root/fml" ] } else if (is_android) { sources += [ "src/txt/platform_android.cc" ]