commit | 8d72c572dcb169aba4f4ad49888a25a886e45822 | [log] [tgz] |
---|---|---|
author | James Tucker <raggi@google.com> | Thu Jan 11 13:46:12 2018 -0800 |
committer | James Tucker <raggi@google.com> | Thu Jan 11 14:44:23 2018 -0800 |
tree | 0c71d4d04240714f234e71edd822fab4a66d4d90 | |
parent | 854813758b6d5c8f2fa4651fe6ce3d976961b1c6 [diff] |
crypto: build as a static library on host Change-Id: Ia435f7ef5c5744276053a452fd3d7a35a3ae1089
diff --git a/BUILD.gn b/BUILD.gn index 95326fc..654fb94 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -31,7 +31,13 @@ } } -shared_library("crypto") { +if (is_fuchsia) { + library_type = "shared_library" +} else { + library_type = "static_library" +} + +target(library_type, "crypto") { sources = crypto_sources public_configs = [ ":boringssl_config" ] configs += [ ":internal_config" ]