diff --git a/shell/platform/android/BUILD.gn b/shell/platform/android/BUILD.gn index a0d91955a66a6..e1a0b9b7f2b78 100644 --- a/shell/platform/android/BUILD.gn +++ b/shell/platform/android/BUILD.gn @@ -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.