From 9b8583dd1f18657c08eaab047d79288b9f2c61a7 Mon Sep 17 00:00:00 2001 From: mtklein Date: Wed, 24 Aug 2016 17:32:30 -0700 Subject: GN: misc - Use options' template pattern for opts too. - Simplify opt's and options' configs... they should all be the same. - When building a static-library component in our GN environment (i.e. libskia.a), make it a complete static lib, fully containing its transitive deps. - It has not proved useful to override ar. TBR=jcgregorio@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2278673002 Review-Url: https://codereview.chromium.org/2278673002 --- gn/BUILDCONFIG.gn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gn/BUILDCONFIG.gn') diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn index 2daba29481..d6833571c8 100644 --- a/gn/BUILDCONFIG.gn +++ b/gn/BUILDCONFIG.gn @@ -73,6 +73,9 @@ set_defaults("shared_library") { set_defaults("component") { configs = default_configs + if (!is_component_build) { + complete_static_lib = true + } } # For now, we support GCC-like toolchains, including Clang. -- cgit v1.2.3