Skip to content

aliases attribute does not seem to render aliases with arguments correctly #12

@kaycebasques

Description

@kaycebasques

pigweed.dev migration is almost done!

I was trying to use the top-level aliases attribute to migrate our aliases with arguments over:

doxygen(
    name = "doxygen_build",
    srcs = [
        ":doxygen_srcs",
    ],
    outs = [
        "xml",
    ],
    aliases = [
        "xyz{1}=@verbatim \\1 @endverbatim",
    ],
    # ...
)

(This is a stripped-down repro to isolate the suspected issue.)

Doxygen's XML output was getting very messed up.

The same alias with arguments works as expected when defined within configurations:

doxygen(
    name = "doxygen_build",
    srcs = [
        ":doxygen_srcs",
    ],
    outs = [
        "xml",
    ],
    configurations = [
        "ALIASES = \"xyz{1}=@verbatim \\1 @endverbatim\"",
        # ...
    ],
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions