Avoid disabling sources assignment filters are these have been removed. (flutter/engine#8954)
This commit is contained in:
2
DEPS
2
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
|
||||
#
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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}}",
|
||||
]
|
||||
|
||||
@@ -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}}",
|
||||
]
|
||||
|
||||
2
engine/src/flutter/third_party/txt/BUILD.gn
vendored
2
engine/src/flutter/third_party/txt/BUILD.gn
vendored
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user