Skip to content

Commit

Permalink
Make the Mac target deps look similar to iOS
Browse files Browse the repository at this point in the history
Fixes Mac builds
  • Loading branch information
chinmaygarde committed Jul 24, 2015
1 parent b15dd6a commit bb161ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}
}
Expand Down
4 changes: 2 additions & 2 deletions sky/dist/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down Expand Up @@ -99,7 +99,7 @@ group("dist") {
":sky_viewer",
]

if (!is_ios) {
if (!is_ios && !is_mac) {
deps += [ ":sky_shell" ]
}

Expand Down

0 comments on commit bb161ee

Please sign in to comment.