diff options
author | 2022-03-29 14:43:28 -0700 | |
---|---|---|
committer | 2022-03-31 17:29:01 +0000 | |
commit | 43c2dcaef609c4a268bfab6c95ed924af4ead6b1 (patch) | |
tree | 2f0d97c212ea52075fcb75075368e033db743864 /java/androidmk.go | |
parent | 76ff96f88584282e89c7d5f8f2e73a35710ab358 (diff) |
Build notice files from license metadata.
Switch from generate-notice-files.py and mergenotice.py to htmlnotice.
Bug: 151177513
Bug: 213388645
Bug: 210912771
Test: m droid dist reportmissinglicenses
Change-Id: I6cac049d24f35ec358c6f341a04f4ba6161703bf
Diffstat (limited to 'java/androidmk.go')
-rw-r--r-- | java/androidmk.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/java/androidmk.go b/java/androidmk.go index b930441f3..80b828d45 100644 --- a/java/androidmk.go +++ b/java/androidmk.go @@ -409,22 +409,6 @@ func (app *AndroidApp) AndroidMkEntries() []android.AndroidMkEntries { entries.SetOptionalPaths("LOCAL_SOONG_LINT_REPORTS", app.linter.reports) }, }, - ExtraFooters: []android.AndroidMkExtraFootersFunc{ - func(w io.Writer, name, prefix, moduleDir string) { - if app.noticeOutputs.Merged.Valid() { - fmt.Fprintf(w, "$(call dist-for-goals,%s,%s:%s)\n", - app.installApkName, app.noticeOutputs.Merged.String(), app.installApkName+"_NOTICE") - } - if app.noticeOutputs.TxtOutput.Valid() { - fmt.Fprintf(w, "$(call dist-for-goals,%s,%s:%s)\n", - app.installApkName, app.noticeOutputs.TxtOutput.String(), app.installApkName+"_NOTICE.txt") - } - if app.noticeOutputs.HtmlOutput.Valid() { - fmt.Fprintf(w, "$(call dist-for-goals,%s,%s:%s)\n", - app.installApkName, app.noticeOutputs.HtmlOutput.String(), app.installApkName+"_NOTICE.html") - } - }, - }, }} } |