# Copyright 2020 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. | |
import("//build/config/fuchsia/zircon.gni") | |
template("zircon_header_library") { | |
library = target_name | |
include = rebase_path(invoker.include_dirs, ".", zircon_root_build_dir) | |
assert(include == [ include[0] ]) | |
config("$library.config") { | |
include_dirs = include | |
} | |
group(library) { | |
public_configs = [ ":$library.config" ] | |
} | |
} |