diff options
| author | Yuexi Ma <yuexima@google.com> | 2016-10-20 18:08:42 -0700 |
|---|---|---|
| committer | Yuexi Ma <yuexima@google.com> | 2016-12-21 11:06:11 -0800 |
| commit | a1bb8e91bdafe29768095a4867151e1c4ea1c714 (patch) | |
| tree | 605716ca2e8e9c363f5d306a892236ef35495a09 /android/Android.mk | |
| parent | 5e548d93dd288ccf7983650316d13367dbc3fe07 (diff) | |
| download | platform_external_ltp-a1bb8e91bdafe29768095a4867151e1c4ea1c714.tar.gz platform_external_ltp-a1bb8e91bdafe29768095a4867151e1c4ea1c714.tar.bz2 platform_external_ltp-a1bb8e91bdafe29768095a4867151e1c4ea1c714.zip | |
fix build warning for fugu and other devices with single arc
Bug: 30355240
Test: make vts; vts-tradefed; run vts
Change-Id: I0d8e3e1973d93d1de7e723b2f6326e42197462fc
(cherry picked from commit ef16c25fd473af5fa1e55b02532285e341db232d)
Diffstat (limited to 'android/Android.mk')
| -rw-r--r-- | android/Android.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/Android.mk b/android/Android.mk index 6dde90d86..56118ebab 100644 --- a/android/Android.mk +++ b/android/Android.mk @@ -12,6 +12,7 @@ # disabled_target := 0 +target_support_64bit := 0 # TODO: enable LTP for darwin and windows hosts ifneq (linux, $(HOST_OS)) @@ -31,6 +32,15 @@ disabled_target := 1 endif +ifneq (,$(findstring 64, $(TARGET_ARCH))) +target_support_64bit := 1 +endif + +ifneq (,$(findstring 64, $(TARGET_2ND_ARCH))) +target_support_64bit := 1 +endif + + ifeq (0, $(disabled_target)) LOCAL_PATH := $(call my-dir) |
