[gn + codesign] add android artifact metadata to legacy build target (flutter/engine#39696)

[gn + codesign] add android artifact metadata to legacy build target
This commit is contained in:
Xilai Zhang
2023-02-27 16:06:46 -08:00
committed by GitHub
parent 4bf5a04e84
commit 067d157989

View File

@@ -625,6 +625,16 @@ if (target_cpu != "x86") {
]
deps = [ "//third_party/dart/runtime/bin:gen_snapshot($host_toolchain)" ]
if (host_os == "mac") {
deps += [ ":android_entitlement_config" ]
files += [
{
source = "$target_gen_dir/android_entitlements.txt"
destination = "entitlements.txt"
},
]
}
}
# TODO(godofredoc): Remove gen_snapshot and rename new_gen_snapshot when v2 migration is complete.