commit | 8e35877d930d8a8b28f783091c200c8edb2d3ad1 | [log] [tgz] |
---|---|---|
author | juliexxia <juliexxia@google.com> | Fri Sep 28 14:01:12 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Fri Sep 28 14:02:59 2018 -0700 |
tree | ab74a163dca95bef659e69e0d97711a2c09d5ba4 | |
parent | 20efb2a10940f8323cebad5444960e1e28808c0c [diff] |
Create new config module that is responsible for creating BuildSetting descriptor objects. Build settings are units of configuration i.e. a key/value pair of a setting (e.g. cpu) and a value (e.g. ppc). A build setting descriptor is used to describe what kind of build setting a skylark rule is (if any at all). The BuildSettingDescriptor implementation of the API describes two facets of the build setting rule: the type of the value and whether or not the setting is settable on the command line. The methods exposed here will eventually be hooked up to a new parameter in the <code> rule() </code> function. Validation for these restrictions will also happen in a later CL attached to the same bug. Add a new test config_apis_test for skylark config apis which will be more populated as this work continues. PiperOrigin-RevId: 214991588
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.