summaryrefslogtreecommitdiff
path: root/simpleperf/Android.mk
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2016-06-22 15:30:37 -0700
committerYabin Cui <yabinc@google.com>2016-06-22 15:30:37 -0700
commitbe903f4fe2e84706335d52af1599e1e0ba256b28 (patch)
treed16a8a1e116ce4c734912e7c98bd6562d8d6754f /simpleperf/Android.mk
parentb2fae142fb4f9d039a96dbd34caa371a1e8ce415 (diff)
downloadextras-be903f4fe2e84706335d52af1599e1e0ba256b28.tar.gz
Simpleperf: use libc++_static on host.
Bug: 28911532 Change-Id: I5cc97fc35f5c5225ea81bdaec04cc22d9a99790f Test: Use readelf to make sure simpleperf on host doesn't dynamically link libc++.so.
Diffstat (limited to 'simpleperf/Android.mk')
-rw-r--r--simpleperf/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/simpleperf/Android.mk b/simpleperf/Android.mk
index 847a4cb6..c8632f59 100644
--- a/simpleperf/Android.mk
+++ b/simpleperf/Android.mk
@@ -147,6 +147,7 @@ LOCAL_STATIC_LIBRARIES_linux := $(simpleperf_static_libraries_host_linux)
LOCAL_LDLIBS_linux := $(simpleperf_ldlibs_host_linux)
LOCAL_MULTILIB := first
LOCAL_PROTOC_OPTIMIZE_TYPE := lite-static
+LOCAL_CXX_STL := libc++_static
include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
@@ -186,6 +187,7 @@ LOCAL_STATIC_LIBRARIES := libsimpleperf $(simpleperf_static_libraries_host)
LOCAL_STATIC_LIBRARIES_linux := $(simpleperf_static_libraries_host_linux)
LOCAL_LDLIBS_linux := $(simpleperf_ldlibs_host_linux)
LOCAL_MULTILIB := first
+LOCAL_CXX_STL := libc++_static
include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_EXECUTABLE)