tree: e2a8001b6d092f95fa8c0a5dc6b55d422dbd98b3 [path history] [tgz]
  1. BUILD.bazel
  2. BUILD.gn
  3. OWNERS
  4. README.md
build/bazel/bazel_sdk/docs/README.md

Documentation Generation

This directory contains targets which are used to create the docs for the Fuchsia Bazel Rules.

If you need to add a new top-level bzl file it needs to be added to the @fuchsia_sdk//fuchsia:bzl_srcs target. If you are just adding new interfaces to an existing library then they will automatically be added to the list of symbols that are exported.

If you need to add a new private directory to the source tree you will likely need to add a new filegroup which exports the bzl files and any other deps that are loaded. This library needs to be made visible to the //fuchsia:pkg and added to the @fuchsia_sdk//fuchsia:bzl_srcs target.

filegroup(
    name = "bzl_srcs",
    srcs = glob(["*.bzl"]) + [
        "@rules_license//rules:standard_package",
    ],
    visibility = ["//fuchsia:__pkg__"],
)