aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/python/PythonUtils.java
diff options
context:
space:
mode:
authorGravatar juliexxia <juliexxia@google.com>2018-08-14 10:28:35 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-08-14 10:30:04 -0700
commit51215bd922d57f2ddd03deac6295f3e9267c7c3c (patch)
tree52416db9644977b11fbb4865a26a30c7f823481a /src/main/java/com/google/devtools/build/lib/rules/python/PythonUtils.java
parent265f09429d84ecc8ff0f5fdd6eb5eae9f3b5134b (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. PiperOrigin-RevId: 208669663
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/python/PythonUtils.java')
0 files changed, 0 insertions, 0 deletions