diff options
author | 2022-03-31 22:16:28 -0700 | |
---|---|---|
committer | 2022-03-31 23:40:28 -0700 | |
commit | 2a5c090c31bf6152f9e5954273c06cd34a21092e (patch) | |
tree | 4079641b569115f02ddd9ae9be2921e1a5178275 /apex/builder.go | |
parent | 43c2dcaef609c4a268bfab6c95ed924af4ead6b1 (diff) |
Fix breakage: bad path join using '/' literal
Typo in filename s/b NOTICE.html.gz not NOTICES.html.gz
Bug: 227682036
Test: TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true vendor/google/build/mainline_modules_bundles.sh -j97
Change-Id: I75cc28e3ef22d975ad46f4e167071f6d82ba253d
Diffstat (limited to 'apex/builder.go')
-rw-r--r-- | apex/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/builder.go b/apex/builder.go index 5d5d1abec..50c8dd122 100644 --- a/apex/builder.go +++ b/apex/builder.go @@ -617,7 +617,7 @@ 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/NOTICES.html.gz") + a.htmlGzNotice = android.PathForModuleOut(ctx, "NOTICE", "NOTICE.html.gz") android.BuildNoticeHtmlOutputFromLicenseMetadata(ctx, a.htmlGzNotice) implicitInputs = append(implicitInputs, a.htmlGzNotice) optFlags = append(optFlags, "--assets_dir "+filepath.Dir(a.htmlGzNotice.String())) |