提交 faa4aba8 编写于 作者: P P.Y. Laligand 提交者: GitHub

Don't build the full FlutterTester bundle on Fuchsia. (#3629)

The flutter_tester executable works just fine.
上级 cfcf10bb
......@@ -7,9 +7,13 @@ assert(is_mac || is_ios)
group("darwin") {
if (is_mac) {
deps = [
"desktop:shell_application_bundle",
"desktop:shell_standalone",
]
if (!is_fuchsia_host) {
deps += [
"desktop:shell_application_bundle",
]
}
} else if (is_ios) {
deps = [
"ios:flutter_framework",
......
......@@ -2,8 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/mac/rules.gni")
assert(is_mac)
source_set("mac_desktop_platform") {
......@@ -44,23 +42,28 @@ executable("shell_standalone") {
]
}
resource_copy_mac("mac_desktop_resources") {
app_name = "FlutterTester"
if (is_fuchsia_host) {
resources = [ "//third_party/icu/common/icudtl.dat" ]
} else {
resources = [ "//third_party/icu/android/icudtl.dat" ]
if (!is_fuchsia_host) {
import("//build/config/mac/rules.gni")
resource_copy_mac("mac_desktop_resources") {
app_name = "FlutterTester"
if (is_fuchsia_host) {
resources = [ "//third_party/icu/common/icudtl.dat" ]
} else {
resources = [ "//third_party/icu/android/icudtl.dat" ]
}
bundle_directory = "."
}
bundle_directory = "."
}
mac_app("shell_application_bundle") {
app_name = "FlutterTester"
info_plist = "Info.plist"
xibs = [ "flutter_mac.xib" ]
mac_app("shell_application_bundle") {
app_name = "FlutterTester"
info_plist = "Info.plist"
xibs = [ "flutter_mac.xib" ]
deps = [
":mac_desktop_platform",
":mac_desktop_resources",
]
deps = [
":mac_desktop_platform",
":mac_desktop_resources",
]
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册