blob: 1020c2da49faf162362bbfd3eaf9e9ca3afaf4b4 [file] [log] [blame] [edit]
# 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.
import("//build/go/go_binary.gni")
import("//build/go/go_library.gni")
assert(is_host)
go_binary("cppdocgen") {
library = ":main"
}
go_library("main") {
source_dir = "cmd"
sources = [ "main.go" ]
deps = [
"clangdoc",
"docgen",
"//third_party/golibs:gopkg.in/yaml.v2",
]
}
group("tests") {
testonly = true
deps = [
"docgen:test",
# TODO(https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=116354): Re-enable once LLVM has
# rolled and the tests are updated to use the new file naming scheme.
# "e2e_test",
]
}