diff options
author | Dan Egnor <egnor@google.com> | 2010-05-06 00:55:09 -0700 |
---|---|---|
committer | Alex Ray <aray@google.com> | 2013-07-30 13:56:53 -0700 |
commit | 88753ae9d8f5432590df5e5338e0906834124c1d (patch) | |
tree | c1b9585cd1fc3d2bd802f0fb111c74043d049545 /libs/utils/Android.mk | |
parent | 88e49600255db6060e56f8633a79fcb24439b109 (diff) | |
download | core-88753ae9d8f5432590df5e5338e0906834124c1d.tar.gz core-88753ae9d8f5432590df5e5338e0906834124c1d.tar.bz2 core-88753ae9d8f5432590df5e5338e0906834124c1d.zip |
Make static versions of libutils and libbinder.
Fix some small static-initialization-order issues (and a static-
initializers-missing issue) that result from doing so. The static
libraries don't actually get used for anything real at the moment --
they're used for perf tests of bug 2660235.
Bug: 2660235
Change-Id: Iee2f38f79cc93b395e8d0a5a144ed92461f5ada0
Diffstat (limited to 'libs/utils/Android.mk')
-rw-r--r-- | libs/utils/Android.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/utils/Android.mk b/libs/utils/Android.mk index d0eedb43a..afecdcb0c 100644 --- a/libs/utils/Android.mk +++ b/libs/utils/Android.mk @@ -104,3 +104,13 @@ endif # sim LOCAL_MODULE:= libutils include $(BUILD_SHARED_LIBRARY) +ifneq ($(TARGET_SIMULATOR),true) +ifeq ($(TARGET_OS),linux) +include $(CLEAR_VARS) +LOCAL_C_INCLUDES += external/zlib external/icu4c/common +LOCAL_LDLIBS := -lrt -ldl -lpthread +LOCAL_MODULE := libutils +LOCAL_SRC_FILES := $(commonSources) BackupData.cpp BackupHelpers.cpp +include $(BUILD_STATIC_LIBRARY) +endif +endif |