Regenerate FlutterMacOS.xcframework when sources of dependencies change (flutter/engine#51396)

Fixes https://github.com/flutter/flutter/issues/144716.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Victoria Ashworth 2024-03-19 15:37:08 -05:00 committed by GitHub
parent 209c71f96b
commit 9f75a01caa

View File

@ -312,6 +312,14 @@ action("_generate_symlinks") {
}
}
group("universal_flutter_framework") {
visibility = [ ":*" ]
deps = [
":_generate_symlinks",
":_generate_symlinks_and_verify_framework_module",
]
}
action("flutter_framework") {
script = "//flutter/sky/tools/create_xcframework.py"
outputs = [ "$root_out_dir/FlutterMacOS.xcframework" ]
@ -323,7 +331,7 @@ action("flutter_framework") {
"--location",
rebase_path(root_out_dir),
]
deps = [ ":_generate_symlinks_and_verify_framework_module" ]
deps = [ ":universal_flutter_framework" ]
}
if (build_glfw_shell) {