Merge "Fix droiddoc disting when WITHOUT_CHECK_API is true." am: fc16b6684e
am: 46b6b40c7a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1371680 Change-Id: I1d2aaebaaf4e6c153d287e5ccc77cf9d766a42eb
This commit is contained in:
@@ -570,6 +570,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