Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Module Registry
Blog
Github
Search...
Navigation
Attribute
About Bazel
Getting started
User guide
Reference
Extending
Community
Concepts
Extension Overview
Writing rules
Rules Tutorial
Creating a Symbolic Macro
Creating a Legacy Macro
Using Macros to Create Custom Verbs
Language
.bzl style guide
Challenges of Writing Rules
Windows
Distributing rules
Testing
Optimizing Performance
Deploying Rules
APIs
One-Page Overview
Global functions
Attribute
Representation of a definition of an attribute. Use the
attr
module to create an Attribute. They are only for use with a
rule
or an
aspect
.
⌘I