am b2b06de5: Merge "statically link adb and fastboot against libc++"

* commit 'b2b06de5fc9605919a06d7757c8ef4a7a48f3e87':
  statically link adb and fastboot against libc++
This commit is contained in:
Colin Cross 2015-04-20 18:17:11 +00:00 committed by Android Git Automerger
commit 858cd9db3f
2 changed files with 14 additions and 0 deletions

View File

@ -165,6 +165,13 @@ LOCAL_STATIC_LIBRARIES := \
libcutils \
$(EXTRA_STATIC_LIBS) \
LOCAL_CXX_STL := libc++_static
# Don't add anything here, we don't want additional shared dependencies
# on the host adb tool, and shared libraries that link against libc++
# will violate ODR
LOCAL_SHARED_LIBRARIES :=
include $(BUILD_HOST_EXECUTABLE)
$(call dist-for-goals,dist_files sdk,$(LOCAL_BUILT_MODULE))

View File

@ -74,6 +74,13 @@ LOCAL_REQUIRED_MODULES := libf2fs_fmt_host_dyn
LOCAL_STATIC_LIBRARIES += libf2fs_utils_host libf2fs_ioutils_host libf2fs_dlutils_host
endif
LOCAL_CXX_STL := libc++_static
# Don't add anything here, we don't want additional shared dependencies
# on the host fastboot tool, and shared libraries that link against libc++
# will violate ODR
LOCAL_SHARED_LIBRARIES :=
include $(BUILD_HOST_EXECUTABLE)
my_dist_files := $(LOCAL_BUILT_MODULE)