Merge "Fix droiddoc disting when WITHOUT_CHECK_API is true."
This commit is contained in:
@@ -569,6 +569,12 @@ type commonProperties struct {
|
||||
type TaggedDistFiles map[string]Paths
|
||||
|
||||
func MakeDefaultDistFiles(paths ...Path) TaggedDistFiles {
|
||||
for _, path := range paths {
|
||||
if path == nil {
|
||||
panic("The path to a dist file cannot be nil.")
|
||||
}
|
||||
}
|
||||
|
||||
// The default OutputFile tag is the empty "" string.
|
||||
return TaggedDistFiles{"": paths}
|
||||
}
|
||||
|
Reference in New Issue
Block a user