diff options
author | mtklein <mtklein@chromium.org> | 2016-08-24 17:32:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-24 17:32:30 -0700 |
commit | 9b8583dd1f18657c08eaab047d79288b9f2c61a7 (patch) | |
tree | 3c7ae56a4998e18711df7d1ee48b385c24551cc5 /gn/BUILDCONFIG.gn | |
parent | f84960187ab40281bc4aacf5f6a485579a46f953 (diff) |
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
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r-- | gn/BUILDCONFIG.gn | 3 |
1 files changed, 3 insertions, 0 deletions
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. |