diff options
author | 2017-12-13 08:33:11 -0800 | |
---|---|---|
committer | 2017-12-13 08:35:19 -0800 | |
commit | e8a83afe35b11385976349fdf421d4a353e6d938 (patch) | |
tree | cadc00770ccc9db0d567ddac79d10b63856df686 /src/main/java/com/google/devtools/build/docgen/SkylarkDocumentationProcessor.java | |
parent | 918a61165d7d5fee55f692f15c115e71182bdbc3 (diff) |
Refactor flag access out of Adb._Exec() and into main().
Rather than access the `extra_adb_arg` command line flag directly, the
`Adb` class now receives the flag value in its constructor, preventing
an error where flags are accessed before they are parsed (prohibited
in `absl.flags`). If the constructor arg isn't passed at all, the
value stored in the `Adb` object defaults to an empty list.
PiperOrigin-RevId: 178906612
Diffstat (limited to 'src/main/java/com/google/devtools/build/docgen/SkylarkDocumentationProcessor.java')
0 files changed, 0 insertions, 0 deletions