Fix strip_prefix flags to strip install paths.
Bug: 235331488 Test: m droid dist Change-Id: I3cd2af5d90e46a4c983728bc9b2d941d6ffda229
This commit is contained in:
@@ -618,7 +618,12 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
|
||||
|
||||
// Create a NOTICE file, and embed it as an asset file in the APEX.
|
||||
a.htmlGzNotice = android.PathForModuleOut(ctx, "NOTICE.html.gz")
|
||||
android.BuildNoticeHtmlOutputFromLicenseMetadata(ctx, a.htmlGzNotice, "", "", unsignedOutputFile.String())
|
||||
android.BuildNoticeHtmlOutputFromLicenseMetadata(
|
||||
ctx, a.htmlGzNotice, "", "",
|
||||
[]string{
|
||||
android.PathForModuleInstall(ctx).String() + "/",
|
||||
android.PathForModuleInPartitionInstall(ctx, "apex").String() + "/",
|
||||
})
|
||||
noticeAssetPath := android.PathForModuleOut(ctx, "NOTICE", "NOTICE.html.gz")
|
||||
builder := android.NewRuleBuilder(pctx, ctx)
|
||||
builder.Command().Text("cp").
|
||||
|
Reference in New Issue
Block a user