blob: cd7423eb04acfcdaf985713c383c122147aa2425 [file] [log] [blame]
# Copyright 2017 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_TYPE := driver
MODULE_SRCS := \
$(LOCAL_DIR)/hid-fifo.c \
$(LOCAL_DIR)/hid-parser-lib.cpp \
$(LOCAL_DIR)/hid.c
MODULE_FIDL_LIBS := system/fidl/fuchsia-hardware-input
MODULE_STATIC_LIBS := \
system/ulib/ddk \
system/ulib/fbl \
system/ulib/zxcpp \
system/ulib/fidl \
system/ulib/hid-parser
MODULE_LIBS := \
system/ulib/driver \
system/ulib/zircon \
system/ulib/c
MODULE_BANJO_LIBS := \
system/banjo/ddk-protocol-hidbus \
ifeq ($(call TOBOOL,$(ENABLE_DRIVER_TRACING)),true)
MODULE_STATIC_LIBS += system/ulib/trace.driver
endif
MODULE_HEADER_DEPS += system/ulib/trace system/ulib/trace-engine
include make/module.mk