summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2013-04-10 17:27:35 -0700
committerYing Wang <wangying@google.com>2013-04-10 17:33:48 -0700
commitc796ed97466510dd5239008554decbe72825e19c (patch)
tree2ab921256df532b618088b59ae29379a9d3a73ba
parent083b5ccba345ed2b4950454f16bd89c5d86b6b27 (diff)
downloadsystem_core-c796ed97466510dd5239008554decbe72825e19c.zip
system_core-c796ed97466510dd5239008554decbe72825e19c.tar.gz
system_core-c796ed97466510dd5239008554decbe72825e19c.tar.bz2
We need libcutils to include liblog
For some prebuilts were built against libcutils with liblog in it. Unfortunately that means in the future if someone checks in prebuilts that are built against libcutils and they don't explicitly link against liblog, they will again prevent us from removing liblog from libcutils. Bug: 8587800 Bug: 8580410 Change-Id: I2a5ed6233df7e7d542d1e4167bec405750c0e671
-rw-r--r--libcutils/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcutils/Android.mk b/libcutils/Android.mk
index 7931684..4056e8a 100644
--- a/libcutils/Android.mk
+++ b/libcutils/Android.mk
@@ -142,7 +142,9 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libcutils
-LOCAL_WHOLE_STATIC_LIBRARIES := libcutils
+# TODO: remove liblog as whole static library, once we don't have prebuilt that requires
+# liblog symbols present in libcutils.
+LOCAL_WHOLE_STATIC_LIBRARIES := libcutils liblog
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_CFLAGS += $(targetSmpFlag)
LOCAL_C_INCLUDES := $(libcutils_c_includes)