diff options
author | Ian Rogers <irogers@google.com> | 2014-06-11 12:55:50 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-06-11 12:55:50 -0700 |
commit | deebae596be0dcf7e66f57d9a3c1bf65406c1992 (patch) | |
tree | 4c135f5aec06262d622e8737be40b146d84590d0 /libbacktrace | |
parent | 304d31f05ee76a834209ad837ce78255cf70ae5f (diff) | |
download | system_core-deebae596be0dcf7e66f57d9a3c1bf65406c1992.zip system_core-deebae596be0dcf7e66f57d9a3c1bf65406c1992.tar.gz system_core-deebae596be0dcf7e66f57d9a3c1bf65406c1992.tar.bz2 |
Build the libc++ variant of libbacktrace on the host for Mac.
Bug: 13751317
Change-Id: Iefadec1cd9b3ca109ac436bd5eb7c096c2dcbe40
Diffstat (limited to 'libbacktrace')
-rwxr-xr-x | libbacktrace/Android.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libbacktrace/Android.mk b/libbacktrace/Android.mk index 5a0bc7f..74bae1a 100755 --- a/libbacktrace/Android.mk +++ b/libbacktrace/Android.mk @@ -186,4 +186,21 @@ LOCAL_SRC_FILES := \ include $(BUILD_HOST_SHARED_LIBRARY) +# Don't build for unbundled branches +ifeq (,$(TARGET_BUILD_APPS)) +#------------------------------------------------------------------------- +# The libbacktrace library (libc++) +#------------------------------------------------------------------------- +include $(CLEAR_VARS) + +LOCAL_MODULE := libbacktrace_libc++ +LOCAL_MODULE_TAGS := optional + +LOCAL_SRC_FILES := \ + BacktraceMap.cpp \ + +include $(BUILD_HOST_SHARED_LIBRARY) + +endif # TARGET_BUILD_APPS + endif # HOST_OS-darwin |