Mike Lockwood | e0e9e94 | 2012-10-24 11:52:57 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
Colin Cross | 2764fce | 2014-03-19 17:47:39 -0700 | [diff] [blame] | 2 | |
| 3 | # 32-bit app_process |
Mike Lockwood | e0e9e94 | 2012-10-24 11:52:57 -0700 | [diff] [blame] | 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES:= \ |
| 7 | app_main.cpp |
| 8 | |
| 9 | LOCAL_SHARED_LIBRARIES := \ |
| 10 | libcutils \ |
| 11 | libutils \ |
Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 12 | liblog \ |
Mike Lockwood | e0e9e94 | 2012-10-24 11:52:57 -0700 | [diff] [blame] | 13 | libbinder \ |
| 14 | libandroid_runtime |
| 15 | |
| 16 | LOCAL_MODULE:= app_process |
Colin Cross | f130f0a | 2014-03-27 10:20:29 -0700 | [diff] [blame^] | 17 | LOCAL_MULTILIB := both |
| 18 | LOCAL_MODULE_STEM_32 := app_process |
| 19 | LOCAL_MODULE_STEM_64 := app_process64 |
Mike Lockwood | e0e9e94 | 2012-10-24 11:52:57 -0700 | [diff] [blame] | 20 | include $(BUILD_EXECUTABLE) |
| 21 | |
Mike Lockwood | e0e9e94 | 2012-10-24 11:52:57 -0700 | [diff] [blame] | 22 | # Build a variant of app_process binary linked with ASan runtime. |
| 23 | # ARM-only at the moment. |
| 24 | ifeq ($(TARGET_ARCH),arm) |
| 25 | |
| 26 | include $(CLEAR_VARS) |
| 27 | |
| 28 | LOCAL_SRC_FILES:= \ |
| 29 | app_main.cpp |
| 30 | |
| 31 | LOCAL_SHARED_LIBRARIES := \ |
| 32 | libcutils \ |
| 33 | libutils \ |
Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 34 | liblog \ |
Mike Lockwood | e0e9e94 | 2012-10-24 11:52:57 -0700 | [diff] [blame] | 35 | libbinder \ |
| 36 | libandroid_runtime |
| 37 | |
| 38 | LOCAL_MODULE := app_process__asan |
| 39 | LOCAL_MODULE_TAGS := eng |
| 40 | LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/asan |
| 41 | LOCAL_MODULE_STEM := app_process |
| 42 | LOCAL_ADDRESS_SANITIZER := true |
| 43 | |
| 44 | include $(BUILD_EXECUTABLE) |
| 45 | |
| 46 | endif # ifeq($(TARGET_ARCH),arm) |