diff options
author | Richard Uhler | 2015-03-24 16:46:01 -0500 |
---|---|---|
committer | Richard Uhler | 2015-03-24 16:46:01 -0500 |
commit | acb31ba90509ab1c88a6919ca04aaada5c281236 (patch) | |
tree | d33e48dd66d230dd48337821fd92390f00255482 | |
parent | 8386a726d11785dee69a806a0d37147f7bad1e76 (diff) | |
download | platform-system-core-acb31ba90509ab1c88a6919ca04aaada5c281236.tar.gz platform-system-core-acb31ba90509ab1c88a6919ca04aaada5c281236.tar.xz platform-system-core-acb31ba90509ab1c88a6919ca04aaada5c281236.zip |
Add make target for shared libcutils on host.
Needed by host dex2oat.
Change-Id: Ia5b53136de3d531c820f03c3f251e58418204be1
-rw-r--r-- | libcutils/Android.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libcutils/Android.mk b/libcutils/Android.mk index 2c5e351a2..d8903192a 100644 --- a/libcutils/Android.mk +++ b/libcutils/Android.mk | |||
@@ -64,7 +64,7 @@ ifneq ($(WINDOWS_HOST_ONLY),1) | |||
64 | endif | 64 | endif |
65 | 65 | ||
66 | 66 | ||
67 | # Static library for host | 67 | # Shared and static library for host |
68 | # ======================================================== | 68 | # ======================================================== |
69 | LOCAL_MODULE := libcutils | 69 | LOCAL_MODULE := libcutils |
70 | LOCAL_SRC_FILES := $(commonSources) $(commonHostSources) dlmalloc_stubs.c | 70 | LOCAL_SRC_FILES := $(commonSources) $(commonHostSources) dlmalloc_stubs.c |
@@ -76,6 +76,16 @@ LOCAL_MULTILIB := both | |||
76 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 76 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
77 | include $(BUILD_HOST_STATIC_LIBRARY) | 77 | include $(BUILD_HOST_STATIC_LIBRARY) |
78 | 78 | ||
79 | include $(CLEAR_VARS) | ||
80 | LOCAL_MODULE := libcutils | ||
81 | LOCAL_SRC_FILES := $(commonSources) $(commonHostSources) dlmalloc_stubs.c | ||
82 | LOCAL_SHARED_LIBRARIES := liblog | ||
83 | ifneq ($(HOST_OS),windows) | ||
84 | LOCAL_CFLAGS += -Werror | ||
85 | endif | ||
86 | LOCAL_MULTILIB := both | ||
87 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | ||
88 | include $(BUILD_HOST_SHARED_LIBRARY) | ||
79 | 89 | ||
80 | # Tests for host | 90 | # Tests for host |
81 | # ======================================================== | 91 | # ======================================================== |