diff options
author | Dima Zavin <dima@android.com> | 2009-05-27 19:41:07 -0700 |
---|---|---|
committer | Dima Zavin <dima@android.com> | 2009-05-27 20:14:55 -0700 |
commit | 46e9beca50057bd4ff375b35fd5958c05ce5bcb7 (patch) | |
tree | d1c6336ddc9172ba1049e7db88b71a0c3536ccd2 /core/static_library.mk | |
parent | 8b70e8c6574e6e6e80aaa84fe1a9426995fa0a78 (diff) | |
download | build-46e9beca50057bd4ff375b35fd5958c05ce5bcb7.zip build-46e9beca50057bd4ff375b35fd5958c05ce5bcb7.tar.gz build-46e9beca50057bd4ff375b35fd5958c05ce5bcb7.tar.bz2 |
core: Add support for static libraries to include other whole static libs.
Currently, if LOCAL_WHOLE_STATIC_LIBRARIES is specified, its values is
ignored. This patch addresses this limitation and works as follows:
For every whole lib specified, it extracts the archive into a sub-directory
under the target lib's intermediate, and then seeds the initial target
archive with all the members.
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'core/static_library.mk')
-rw-r--r-- | core/static_library.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/static_library.mk b/core/static_library.mk index 252dfd0..2138e46 100644 --- a/core/static_library.mk +++ b/core/static_library.mk @@ -25,5 +25,6 @@ $(all_objects) : TARGET_GLOBAL_CFLAGS := $(all_objects) : TARGET_GLOBAL_CPPFLAGS := endif +$(LOCAL_BUILT_MODULE): $(built_whole_libraries) $(LOCAL_BUILT_MODULE): $(all_objects) $(transform-o-to-static-lib) |