The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [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 \ |
Doug Kwan | b1bb6cf | 2009-10-04 19:27:57 -0700 | [diff] [blame] | 10 | libbinder \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 11 | libandroid_runtime |
| 12 | |
| 13 | LOCAL_MODULE:= app_process |
| 14 | |
| 15 | include $(BUILD_EXECUTABLE) |
Evgeniy Stepanov | bb4cd82 | 2012-04-02 16:16:04 +0400 | [diff] [blame] | 16 | |
| 17 | |
| 18 | # Build a variant of app_process binary linked with ASan runtime. |
| 19 | # ARM-only at the moment. |
| 20 | ifeq ($(TARGET_ARCH),arm) |
| 21 | |
| 22 | include $(CLEAR_VARS) |
| 23 | |
| 24 | LOCAL_SRC_FILES:= \ |
| 25 | app_main.cpp |
| 26 | |
| 27 | LOCAL_SHARED_LIBRARIES := \ |
| 28 | libcutils \ |
| 29 | libutils \ |
| 30 | libbinder \ |
| 31 | libandroid_runtime |
| 32 | |
| 33 | LOCAL_MODULE := app_process__asan |
| 34 | LOCAL_MODULE_TAGS := eng |
| 35 | LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/asan |
| 36 | LOCAL_MODULE_STEM := app_process |
| 37 | LOCAL_ADDRESS_SANITIZER := true |
| 38 | |
| 39 | include $(BUILD_EXECUTABLE) |
| 40 | |
| 41 | endif # ifeq($(TARGET_ARCH),arm) |