| # Copyright 2024 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. |
| |
| load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| load("@platforms//host:constraints.bzl", "HOST_CONSTRAINTS") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| go_library( |
| name = "fidlgen_cpp", |
| srcs = [ |
| "alias.go", |
| "bits.go", |
| "codegen_options.go", |
| "const.go", |
| "dep_graph.go", |
| "enum.go", |
| "generator.go", |
| "handles.go", |
| "ir.go", |
| "name_transforms.go", |
| "names.go", |
| "namespace.go", |
| "namespaced_enum.go", |
| "protocol.go", |
| "service.go", |
| "struct.go", |
| "table.go", |
| "template_funcs.go", |
| "union.go", |
| "zircon_names.go", |
| ], |
| importpath = "go.fuchsia.dev/fuchsia/tools/fidl/lib/fidlgen_cpp", |
| target_compatible_with = HOST_CONSTRAINTS, |
| deps = ["//tools/fidl/lib/fidlgen"], |
| ) |