mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #276 from chinmaygarde/mac
Make the Mac target deps look similar to iOS
This commit is contained in:
commit
5ee6a42a33
@ -8,8 +8,8 @@ group("default") {
|
||||
deps = [
|
||||
"//sky",
|
||||
]
|
||||
if (!is_ios) {
|
||||
# Mojo shell does not exist on ios
|
||||
if (!is_ios && !is_mac) {
|
||||
# Mojo shell does not exist on iOS or Mac
|
||||
deps += [ "//services/sky" ]
|
||||
}
|
||||
}
|
||||
|
||||
4
engine/src/flutter/sky/dist/BUILD.gn
vendored
4
engine/src/flutter/sky/dist/BUILD.gn
vendored
@ -24,7 +24,7 @@ copy("sky_shell") {
|
||||
deps = [
|
||||
"//sky/shell",
|
||||
]
|
||||
} else if (is_ios) {
|
||||
} else if (is_ios || is_mac) {
|
||||
sources = [
|
||||
"$root_build_dir/Sky.app",
|
||||
]
|
||||
@ -99,7 +99,7 @@ group("dist") {
|
||||
":sky_viewer",
|
||||
]
|
||||
|
||||
if (!is_ios) {
|
||||
if (!is_ios && !is_mac) {
|
||||
deps += [ ":sky_shell" ]
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user