diff options
author | Ying Wang <wangying@google.com> | 2012-05-15 15:31:41 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2012-05-15 16:12:18 -0700 |
commit | b1a4e4e89e9989b292938c800d234ab1007b848c (patch) | |
tree | 6d75cfade1d363d1c337f572aa7c19e0d55b5472 /core/prebuilt.mk | |
parent | 03b96f54a71a17945230c97c51f7359b086bf1ee (diff) | |
download | build-b1a4e4e89e9989b292938c800d234ab1007b848c.zip build-b1a4e4e89e9989b292938c800d234ab1007b848c.tar.gz build-b1a4e4e89e9989b292938c800d234ab1007b848c.tar.bz2 |
Delete the misleading var TARGET_OUT_STATIC_LIBRARIES.
Which can be replaced by TARGET_OUT_INTERMEDIATE_LIBRARIES.
Change-Id: I965ff1ebe70fc3113c19e4896277c876dcedb6a5
Diffstat (limited to 'core/prebuilt.mk')
-rw-r--r-- | core/prebuilt.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/prebuilt.mk b/core/prebuilt.mk index b06bb6e..f59a17b 100644 --- a/core/prebuilt.mk +++ b/core/prebuilt.mk @@ -35,6 +35,13 @@ else prebuilt_module_is_a_library := endif +# Don't install static libraries by default. +ifndef LOCAL_UNINSTALLABLE_MODULE +ifeq (STATIC_LIBRARIES,$(LOCAL_MODULE_CLASS)) + LOCAL_UNINSTALLABLE_MODULE := true +endif +endif + ifeq ($(LOCAL_STRIP_MODULE),true) ifdef LOCAL_IS_HOST_MODULE $(error Cannot strip host module LOCAL_PATH=$(LOCAL_PATH)) |