aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/py
diff options
context:
space:
mode:
authorGravatar ccalvarin <ccalvarin@google.com>2017-11-09 23:03:39 +0100
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2017-11-10 23:27:38 +0100
commit688ff592223b756f3749f4d6e46a649ec673ebdb (patch)
tree02da24962c611385f890c06d7c5662a820d056ee /third_party/py
parent10b0d8aa6b73a024cc007c5e075cb329add878ef (diff)
Make the config expansion behavior modular.
Reorganize the BlazeOptionHandler to make it easy to exchange out how the config options are expanded using the definitions in the blazerc. Also change the getOptionsMap call to actually structure the rc options in the order that we parse them: we expand them in command order (for the test command, first add all "common" options, then "build," then "test") and then within each command, we expand the options in the rc order. This somewhat simplifies the rc expansion code, and avoids the two-phase regrouping that used to happen. This change should not change the semantics of rc option ordering. A followup change will add an alternative implementation for --config's expansion. RELNOTES: None. PiperOrigin-RevId: 175208971
Diffstat (limited to 'third_party/py')
0 files changed, 0 insertions, 0 deletions