diff options
author | Colin Cross <ccross@android.com> | 2014-03-19 17:47:39 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-19 17:49:47 -0700 |
commit | 2764fce3a1119599cd231545b16e6a16286e482d (patch) | |
tree | 10afd1b4914b8e5eb448f94514221e93a2167179 /cmds | |
parent | bfc440923ecb8f32448c675095a2096049fe7ebe (diff) | |
download | frameworks_base-2764fce3a1119599cd231545b16e6a16286e482d.zip frameworks_base-2764fce3a1119599cd231545b16e6a16286e482d.tar.gz frameworks_base-2764fce3a1119599cd231545b16e6a16286e482d.tar.bz2 |
build app_process64 on 64-bit targets
On 64-bit platforms builds two copies of app_process, the 32-bit
app_process and 64-bit app_process64.
Change-Id: I59d739b5df398ad0bd040c954c57640ff7ab3e72
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/app_process/Android.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cmds/app_process/Android.mk b/cmds/app_process/Android.mk index b9afe40..cb7e1a0 100644 --- a/cmds/app_process/Android.mk +++ b/cmds/app_process/Android.mk @@ -1,4 +1,6 @@ LOCAL_PATH:= $(call my-dir) + +# 32-bit app_process include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ @@ -12,9 +14,29 @@ LOCAL_SHARED_LIBRARIES := \ libandroid_runtime LOCAL_MODULE:= app_process +LOCAL_32_BIT_ONLY := true +include $(BUILD_EXECUTABLE) + +ifeq ($(TARGET_IS_64_BIT),true) + +# 64-bit app_process64 +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + app_main.cpp + +LOCAL_SHARED_LIBRARIES := \ + libcutils \ + libutils \ + liblog \ + libbinder \ + libandroid_runtime +LOCAL_MODULE:= app_process64 +LOCAL_NO_2ND_ARCH := true include $(BUILD_EXECUTABLE) +endif # TARGET_IS_64_BIT # Build a variant of app_process binary linked with ASan runtime. # ARM-only at the moment. |