1# Copyright 2017 The Fuchsia Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5LOCAL_DIR := $(GET_LOCAL_DIR)
6
7MODULE := $(LOCAL_DIR)
8
9MODULE_TYPE := driver
10
11MODULE_SRCS := \
12    $(LOCAL_DIR)/binding.c \
13    $(LOCAL_DIR)/device.cpp \
14    $(LOCAL_DIR)/extra.cpp \
15    $(LOCAL_DIR)/worker.cpp \
16
17MODULE_LIBS := \
18    system/ulib/c \
19    system/ulib/zircon \
20    system/ulib/crypto \
21    system/ulib/driver \
22    system/ulib/zxcrypt \
23
24MODULE_STATIC_LIBS := \
25    system/ulib/bitmap \
26    system/ulib/ddk \
27    system/ulib/ddktl \
28    system/ulib/fbl \
29    system/ulib/pretty \
30    system/ulib/zx \
31    system/ulib/zxcpp \
32
33MODULE_COMPILEFLAGS := -fsanitize=integer-divide-by-zero,signed-integer-overflow -fsanitize-undefined-trap-on-error
34
35include make/module.mk
36