alias | An alias() gives another name to a target. |
build_variants | A build_variants() rule lists the named ways of building one target: for each variant, the target platform to build for, and the buckconfigs, modefiles and modifiers to build with. |
command_alias | The command_alias rule enables you to wrap build rules that create binaries and to pre-apply command-line arguments and environment variables. |
config_setting | config_setting() accepts a list of constraint_values and a list of values (buckconfig keys + expected values) and matches if all of those match. |
configuration_alias | configuration_alias() acts like alias() but for configuration targets. |
configured_alias | A configured_alias() is an alias for a target as it is built for one platform. |
constraint | Unified constraint rule that defines both a constraint setting and its possible values. |
constraint_setting | Deprecated: use constraint() instead. |
constraint_value | Deprecated: use constraint() instead. |
exec_platform_marker_constraint | Special constraint rule for defining execution platform markers. |
export_file | An export_file() takes a single file or folder and exposes it so other rules can use it. |
extract_archive | Extracts an archive into a directory. |
filegroup | This rule provides access to a set of files. |
genrule | A genrule() is used to generate files from a shell command. |
http_archive | An http_archive() rule is used to download and extract archives from the Internet to be used as dependencies for other rules. |
http_file | An http_file() rule is used to download files from the Internet to be used as dependencies for other rules. |
platform | Declares a platform, which is a build configuration composed of constraint values. |
remote_file | A remote_file() rule is used to download files from the Internet to be used as dependencies for other rules. |
test_suite | A test_suite() is used to create a grouping of tests that should all be run by just testing this rule. |
toolchain_alias | toolchain_alias acts like alias but for toolchain rules. |
versioned_alias | |
worker_tool | Some external tools have high startup costs. |
write_file | Writes a text file from lines given in the build file. |
zip_file | A zip_file() allows builds to create basic zip files in a platform-agnostic way. |