Pass AAR to make
Pass the output AAR file to make, where it will be copied to the dist directory if requested by an unbundled build. Test: m checkbuild Change-Id: I126a81bd4b8ad0eeade99638ce9c2aa4579935bb
This commit is contained in:
@@ -293,6 +293,9 @@ func (a *AndroidLibrary) AndroidMk() android.AndroidMkData {
|
||||
data := a.Library.AndroidMk()
|
||||
|
||||
data.Extra = append(data.Extra, func(w io.Writer, outputFile android.Path) {
|
||||
if a.aarFile != nil {
|
||||
fmt.Fprintln(w, "LOCAL_SOONG_AAR :=", a.aarFile.String())
|
||||
}
|
||||
if a.proguardDictionary != nil {
|
||||
fmt.Fprintln(w, "LOCAL_SOONG_PROGUARD_DICT :=", a.proguardDictionary.String())
|
||||
}
|
||||
|
Reference in New Issue
Block a user