Skip to content

Commit e7ba1f0

Browse files
Cong LiuLin Sun
authored andcommitted
Fixed build depenency issue for macOS
1 parent 26de7a0 commit e7ba1f0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

BUILD.gn

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ if (is_mac) {
77
import("//build/util/version.gni")
88
import("//components/nacl/features.gni")
99

10-
group("nwjs") {
11-
deps = [
12-
"//chrome",
13-
"//third_party/ffmpeg:ffmpeg"
14-
]
15-
if (is_mac) {
16-
deps += [ ":copy_ffmpeg" ]
10+
if (is_mac) {
11+
group("nwjs") {
12+
deps = [ ":copy_ffmpeg" ]
13+
}
14+
} else {
15+
group("nwjs") {
16+
deps = [
17+
"//chrome",
18+
"//third_party/ffmpeg:ffmpeg"
19+
]
1720
}
1821
if (is_linux) {
1922
deps += [ "//chrome:xdg_mime" ]

0 commit comments

Comments
 (0)