blob: c774805469170ef69e5191689954960da05dcf0a [file] [log] [blame]
Yi Choufc39c8b2021-10-14 19:48:25 +08001# Copyright 2021 The Chromium OS 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
5import("//common-mk/pkg_config.gni")
6
7group("all") {
8 deps = [ ":libpinweaver" ]
9}
10
11config("target_defaults") {
12 include_dirs = [
13 ".",
14 "eal/tpm_storage",
15 ]
16}
17
18static_library("libpinweaver") {
19 sources = [ "pinweaver.c" ]
20 configs -= [ "//common-mk:use_thin_archive" ]
21 configs += [
22 "//common-mk:nouse_thin_archive",
23 ":target_defaults",
24 ]
Howard Yangaa7a8972022-07-26 16:39:36 +080025 defines = [
26 "BIOMETRICS_DEV=${use.biometrics_dev}",
27 ]
Yi Choufc39c8b2021-10-14 19:48:25 +080028}