blob: 82e41b50532de53f3591c7ed2d18d94a5c0c9f38 [file] [log] [blame]
# Copyright 2019 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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxbug.dev/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("hid-parser") {
sdk = "static"
sdk_headers = [
"hid-parser/item.h",
"hid-parser/parser.h",
"hid-parser/usages.h",
"hid-parser/descriptor.h",
]
sources = [
"descriptor.cc",
"item.cc",
"parser.cc",
"report.cc",
"units.cc",
]
deps = [ "//zircon/public/lib/fbl" ]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}