1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES:= \ 5 app_main.cpp 6 7LOCAL_SHARED_LIBRARIES := \ 8 libcutils \ 9 libutils \ 10 libbinder \ 11 libandroid_runtime 12 13LOCAL_MODULE:= app_process 14 15include $(BUILD_EXECUTABLE) 16 17 18# Build a variant of app_process binary linked with ASan runtime. 19# ARM-only at the moment. 20ifeq ($(TARGET_ARCH),arm) 21 22include $(CLEAR_VARS) 23 24LOCAL_SRC_FILES:= \ 25 app_main.cpp 26 27LOCAL_SHARED_LIBRARIES := \ 28 libcutils \ 29 libutils \ 30 libbinder \ 31 libandroid_runtime 32 33LOCAL_MODULE := app_process__asan 34LOCAL_MODULE_TAGS := eng 35LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/asan 36LOCAL_MODULE_STEM := app_process 37LOCAL_ADDRESS_SANITIZER := true 38 39include $(BUILD_EXECUTABLE) 40 41endif # ifeq($(TARGET_ARCH),arm) 42