Convert simpleperf test into dynamic executable
Supporting threads in static executable is too complex when running
non native abi (b/109763896).
Test: cts-tradefed run cts -m CtsSimpleperfTestCases
Bug: 109763896
Change-Id: Ib50ce74f6f4a7d8a63488af139df7d6be1cf5b56
Merged-Id: If6e4914b7f32aecfb2674b58d7f32abfca7b6fc8
(Cherry-picked from a1ee18148884d39b4117df690f5089156ae5b9e0)
diff --git a/tests/tests/simpleperf/Android.mk b/tests/tests/simpleperf/Android.mk
index 164c14d..d611bd3 100644
--- a/tests/tests/simpleperf/Android.mk
+++ b/tests/tests/simpleperf/Android.mk
@@ -36,7 +36,6 @@
libLLVMSupport \
libprotobuf-cpp-lite \
libevent \
- libc \
LOCAL_POST_LINK_CMD = \
TMP_FILE=`mktemp $(OUT_DIR)/simpleperf-post-link-XXXXXXXXXX` && \
@@ -47,7 +46,6 @@
LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
LOCAL_CTS_TEST_PACKAGE := android.simpleperf
-LOCAL_FORCE_STATIC_EXECUTABLE := true
include $(LLVM_DEVICE_BUILD_MK)
include $(BUILD_CTS_EXECUTABLE)