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