aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/docgen/SkylarkDocumentationProcessor.java
diff options
context:
space:
mode:
authorGravatar Akira Baruah <akira.baruah@gmail.com>2017-12-13 08:33:11 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-13 08:35:19 -0800
commite8a83afe35b11385976349fdf421d4a353e6d938 (patch)
treecadc00770ccc9db0d567ddac79d10b63856df686 /src/main/java/com/google/devtools/build/docgen/SkylarkDocumentationProcessor.java
parent918a61165d7d5fee55f692f15c115e71182bdbc3 (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