Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acb31ba9 authored by Richard Uhler's avatar Richard Uhler
Browse files

Add make target for shared libcutils on host.

Needed by host dex2oat.

Change-Id: Ia5b53136de3d531c820f03c3f251e58418204be1
parent 8386a726
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ ifneq ($(WINDOWS_HOST_ONLY),1)
endif


# Static library for host
# Shared and static library for host
# ========================================================
LOCAL_MODULE := libcutils
LOCAL_SRC_FILES := $(commonSources) $(commonHostSources) dlmalloc_stubs.c
@@ -76,6 +76,16 @@ LOCAL_MULTILIB := both
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_HOST_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := libcutils
LOCAL_SRC_FILES := $(commonSources) $(commonHostSources) dlmalloc_stubs.c
LOCAL_SHARED_LIBRARIES := liblog
ifneq ($(HOST_OS),windows)
LOCAL_CFLAGS += -Werror
endif
LOCAL_MULTILIB := both
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_HOST_SHARED_LIBRARY)

# Tests for host
# ========================================================