summaryrefslogtreecommitdiff
path: root/simpleperf/Android.mk
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2018-03-28 12:50:15 -0700
committerYabin Cui <yabinc@google.com>2018-03-28 12:50:15 -0700
commit170cb4963a73aa70e31667d94d8efcaabd89ba25 (patch)
treec62e51f5630ae904e089dd8d5e2fedeb54524573 /simpleperf/Android.mk
parent817015ccff8108fff7a9f48e51f5b54639933a9b (diff)
downloadextras-170cb4963a73aa70e31667d94d8efcaabd89ba25.tar.gz
simpleperf: build simpleperf instead of simpleperf32 on gce_x86.
Bug: http://b/77219275 Test: build manually. Change-Id: I9082fee3b31b7eb8e90096262c11d1875cbf4e64
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 7a412516..1a996376 100644
--- a/simpleperf/Android.mk
+++ b/simpleperf/Android.mk
@@ -180,10 +180,12 @@ LOCAL_CFLAGS := $(simpleperf_cflags_target)
LOCAL_SRC_FILES := main.cpp
LOCAL_STATIC_LIBRARIES := libsimpleperf $(simpleperf_static_libraries_with_libc_target)
ifdef TARGET_2ND_ARCH
+ifneq ($(TARGET_TRANSLATE_2ND_ARCH),true)
LOCAL_MULTILIB := both
LOCAL_MODULE_STEM_32 := simpleperf32
LOCAL_MODULE_STEM_64 := simpleperf
endif
+endif
LOCAL_FORCE_STATIC_EXECUTABLE := true
include $(LLVM_DEVICE_BUILD_MK)
include $(BUILD_EXECUTABLE)