概念与术语
函数
规则
原生规则附带 Bazel 二进制文件,并且不需要load
语句。BUILD 文件在全局范围内提供原生规则。在 .bzl 文件中,您可以在 native
模块中找到它们。
如需了解与 Bazel 分开提供的非原生 Starlark 规则,请参阅推荐规则列表。
针对特定语言的原生规则
与语言无关的原生规则
家庭 | 规则 |
---|---|
其他操作 | |
常规 | |
平台 | |
工作区 |
load
语句。BUILD 文件在全局范围内提供原生规则。在 .bzl 文件中,您可以在 native
模块中找到它们。
如需了解与 Bazel 分开提供的非原生 Starlark 规则,请参阅推荐规则列表。
家庭 | 规则 |
---|---|
其他操作 | |
常规 | |
平台 | |
工作区 |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-02-16 UTC.