diff options
author | 2022-05-20 16:37:26 -0700 | |
---|---|---|
committer | 2022-05-20 16:54:00 -0700 | |
commit | a5ea2479d3e7311face6baf38dbd9d5059c9907a (patch) | |
tree | b3a7534ccad913f29d4c18499c11cc73c1daedf3 /android_sdk | |
parent | 1811ed3764bc5f434f1c2f2d39d337c67f31cf6a (diff) |
Fix bug: allow multiple gen_notice modules.
Test: m cts dist reportmissinglicenses
Change-Id: I07963c83eaddfe363a04871e813b56fe7f1465ad
Diffstat (limited to 'android_sdk')
-rw-r--r-- | android_sdk/sdk_repo_host.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android_sdk/sdk_repo_host.go b/android_sdk/sdk_repo_host.go index c61afcbca..9519be047 100644 --- a/android_sdk/sdk_repo_host.go +++ b/android_sdk/sdk_repo_host.go @@ -124,7 +124,7 @@ func (s *sdkRepoHost) GenerateAndroidBuildActions(ctx android.ModuleContext) { s.CopySpecsToDir(ctx, builder, packageSpecs, dir) noticeFile := android.PathForModuleOut(ctx, "NOTICES.txt") - android.BuildNoticeTextOutputFromLicenseMetadata(ctx, noticeFile, "", outputZipFile.String()) + android.BuildNoticeTextOutputFromLicenseMetadata(ctx, noticeFile, "", "", outputZipFile.String()) builder.Command().Text("cp"). Input(noticeFile). Text(filepath.Join(dir.String(), "NOTICE.txt")) |