Skip to content

Commit 2b7fe96

Browse files
authored
Add default_library_type (flutter#188)
Some fuchsia deps are depending on this upstream.
1 parent 2182366 commit 2b7fe96

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build/config/BUILDCONFIG.gn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,14 @@ if (current_os == "win") {
271271
is_win = false
272272
}
273273

274+
# Some library targets may be built as different type depending on the target
275+
# platform. This variable specifies the default library type for each target.
276+
if (is_fuchsia) {
277+
default_library_type = "shared_library"
278+
} else {
279+
default_library_type = "static_library"
280+
}
281+
274282
# =============================================================================
275283
# SOURCES FILTERS
276284
# =============================================================================

0 commit comments

Comments
 (0)