From 585cac22d9126fc094db3ba8963336d98836cee1 Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Mon, 6 Jul 2020 09:12:57 -0700 Subject: [PATCH] Add array type property flags, equivalent to args The property args is currently a string, but represents a collection of arguments to metalava/doclava. This has resulted in variables being used rather than default modules to share arguments. Test: go test java_tests Bug: 145644363 Change-Id: I670235e8f1cf19bfe8909049c4765637d0accd47 --- java/droiddoc.go | 73 ++++++++++++++++++++++++++++++----------------- java/java_test.go | 38 +++++++++++++++++++++++- 2 files changed, 84 insertions(+), 27 deletions(-) diff --git a/java/droiddoc.go b/java/droiddoc.go index 99bfb6dc3..08865b666 100644 --- a/java/droiddoc.go +++ b/java/droiddoc.go @@ -112,13 +112,20 @@ type JavadocProperties struct { // local files that are used within user customized droiddoc options. Arg_files []string `android:"path"` - // user customized droiddoc args. + // user customized droiddoc args. Deprecated, use flags instead. // Available variables for substitution: // // $(location