blob: 58f8d116caa65abf218b9d6089c5cddd91d6471a [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := hwasan_asm_smoke
LOCAL_SRC_FILES := hwasan_oob_test_asm.S hwasan_oob_test_asm.c
LOCAL_CFLAGS := -fsanitize=hwaddress -fno-omit-frame-pointer
# Remove -Wl,-dynamic-linker once https://reviews.llvm.org/D151388 makes it into NDK
LOCAL_LDFLAGS := -fsanitize=hwaddress -Wl,-dynamic-linker,/system/bin/linker_hwasan64
include $(BUILD_EXECUTABLE)
$(call import-module,third_party/googletest)