PackageFile for permission/*.xml for sdk_library
Bug: 333311683 Test: build android.bp system image and then check if there is permission xml file for sdk_library Change-Id: If5ac1975a7db10d85a1b11c1cd666051e3da546e
This commit is contained in:
parent
a17792e2eb
commit
00e0991f70
1 changed files with 1 additions and 0 deletions
|
@ -3316,6 +3316,7 @@ func (module *sdkLibraryXml) GenerateAndroidBuildActions(ctx android.ModuleConte
|
|||
android.WriteFileRuleVerbatim(ctx, module.outputFilePath, xmlContent)
|
||||
|
||||
module.installDirPath = android.PathForModuleInstall(ctx, "etc", module.SubDir())
|
||||
ctx.PackageFile(module.installDirPath, libName+".xml", module.outputFilePath)
|
||||
}
|
||||
|
||||
func (module *sdkLibraryXml) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
|
|
Loading…
Reference in a new issue