Replace aapt support with aapt2
Use aapt2 instead of aapt to compile Android app resources. Also generate all files into srcjars instead of individual sources. Test: m checkbuild Change-Id: I5a67991a0daf0017e8159b46fcff7d5564a91468
This commit is contained in:
@@ -428,6 +428,18 @@ func (p WritablePaths) Strings() []string {
|
||||
return ret
|
||||
}
|
||||
|
||||
// Paths returns the WritablePaths as a Paths
|
||||
func (p WritablePaths) Paths() Paths {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
ret := make(Paths, len(p))
|
||||
for i, path := range p {
|
||||
ret[i] = path
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
type basePath struct {
|
||||
path string
|
||||
config Config
|
||||
|
Reference in New Issue
Block a user