diff options
author | mtklein <mtklein@chromium.org> | 2016-07-29 09:10:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-29 09:10:31 -0700 |
commit | 5db44aa2aa4a3a1b9ce1fe7e22c54c8d9b61f51d (patch) | |
tree | 6ece462edf85d7e33e479d20b6cae97bebdc45c9 /gn/BUILDCONFIG.gn | |
parent | a714bc39294f19500269c8ec536139f75c4b1f25 (diff) |
GN: components as static library instead of source set
This also puts the .a in the top-level of the ouptut directory, just
like we do for .so files. It's less required than for .sos, but it
does make it easier to find the .a.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2197633002
Review-Url: https://codereview.chromium.org/2197633002
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r-- | gn/BUILDCONFIG.gn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn index 31056bda5f..681b15b83b 100644 --- a/gn/BUILDCONFIG.gn +++ b/gn/BUILDCONFIG.gn @@ -27,9 +27,9 @@ is_win = current_os == "win" is_posix = !is_win -# A component is either a source_set or a shared_library. +# A component is either a static or a shared library. template("component") { - _component_mode = "source_set" + _component_mode = "static_library" if (is_component_build) { _component_mode = "shared_library" } |