Skip to content

Commit

Permalink
build: [gn] link dwmapi in component build (#13773)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored and MarshallOfSound committed Jul 25, 2018
1 parent 89a9cca commit a01b4d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BUILD.gn
Expand Up @@ -217,6 +217,7 @@ static_library("electron_lib") {
]

defines = []
libs = []

extra_source_filters = []
if (!is_linux) {
Expand Down Expand Up @@ -280,7 +281,7 @@ static_library("electron_lib") {
]
defines += [ "MAS_BUILD" ]
} else {
libs = [
libs += [
"Squirrel.framework",
"ReactiveCocoa.framework",
"Mantle.framework",
Expand Down Expand Up @@ -315,6 +316,7 @@ static_library("electron_lib") {
}
if (is_win) {
sources += filenames_gypi.lib_sources_win
libs += [ "dwmapi.lib" ]
}
if (is_linux || is_win) {
deps += [ "//third_party/breakpad:client" ]
Expand Down

0 comments on commit a01b4d7

Please sign in to comment.