blob: 689707c7982e5d02ba3a64043b0211114655cf2e [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TODO(fxb/58062): Delete after all packages are migrated away from dart_app
# and flutter_app.
group("deprecated_flutter_app_allowlist") {
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
# This is an allowlist of packages that have not migrated to use flutter_component.
# This is only intended to be used as a temporary allowlist. Do not add to this list.
allowlist = [
"//src/experiences/session_shells/ermine/shell:ermine",
"//vendor/google/factory/fctui:fctui",
]
visibility = []
foreach(target, allowlist) {
visibility += [
target,
target + ".pm",
target + "_manifest_dist",
target + "_manifest_dist_generate",
target + "_manifest_dist__hermetic_inputs",
target + "_component_manifests",
]
}
}
# Copies the patched SDK files for the flutter runner
copy("platform_files") {
sources = [
"//prebuilt/third_party/flutter/$target_cpu/release/aot/flutter_runner_patched_sdk/platform_strong.dill",
"//prebuilt/third_party/flutter/$target_cpu/release/aot/flutter_runner_patched_sdk/platform_strong.dill.d",
"//prebuilt/third_party/flutter/$target_cpu/release/aot/flutter_runner_patched_sdk/vm_outline_strong.dill",
]
outputs = [ "$root_out_dir/flutter_runner_patched_sdk/{{source_file_part}}" ]
}