Copy the macOS podspec during builds (flutter/engine#9158)

The podspec must be copied to the build output root, otherwise
--local-engine won't work in projects containing plugins.

Mirrors the iOS podspec copy rule.
This commit is contained in:
stuartmorgan
2019-05-31 17:22:09 -07:00
committed by GitHub
parent f6036a8bea
commit ea35ff30c0

View File

@@ -200,9 +200,20 @@ action("_generate_symlinks") {
]
}
copy("copy_framework_podspec") {
visibility = [ ":*" ]
sources = [
"framework/FlutterMacOS.podspec",
]
outputs = [
"$root_out_dir/FlutterMacOS.podspec",
]
}
group("flutter_framework") {
deps = [
":_generate_symlinks",
":copy_framework_podspec",
]
}