| # Copyright 2023 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. |
| |
| # At the time of writing, we assume this GN will only be used from Fuchsia |
| # where the vboot_reference repo lives at //third_party/vboot_reference |
| # and build root is the Fuchsia repo. |
| import("//build/cpp/sdk_source_set.gni") |
| config("includes") { |
| include_dirs = [ "include" ] |
| } |
| |
| sdk_source_set("headers") { |
| sdk_name = "vboot_firmware_2lib_headers" |
| category = "experimental" |
| sources = [ |
| "include/2api.h", |
| "include/2common.h", |
| "include/2crc8.h", |
| "include/2crypto.h", |
| "include/2fw_hash_tags.h", |
| "include/2hmac.h", |
| "include/2id.h", |
| "include/2misc.h", |
| "include/2nvstorage.h", |
| "include/2nvstorage_fields.h", |
| "include/2recovery_reasons.h", |
| "include/2return_codes.h", |
| "include/2rsa.h", |
| "include/2secdata.h", |
| "include/2sha.h", |
| "include/2struct.h", |
| "include/2sysincludes.h", |
| "include/2tpm_bootmode.h", |
| ] |
| public_configs = [ ":includes" ] |
| } |