Export app certificates to Make for apkcerts list

Bug: 70669383
Test: m apkcerts-list contains framework-res.apk
Change-Id: I38af458e4262371c9c8368b5eebcff063a9bc359
This commit is contained in:
Colin Cross
2017-12-14 11:22:55 -08:00
parent 16056060d5
commit e1731a5803
4 changed files with 34 additions and 14 deletions

View File

@@ -180,6 +180,8 @@ func (app *AndroidApp) AndroidMk() android.AndroidMkData {
if Bool(app.appProperties.Privileged) {
fmt.Fprintln(w, "LOCAL_PRIVILEGED_MODULE := true")
}
fmt.Fprintln(w, "LOCAL_CERTIFICATE :=", app.certificate.pem.String())
},
},
}