Switch noticeindex from regex to proto.
Bug: 254534552 Test: m droid dist cts alllicensemetadata Test: repo forall -c 'echo -n "$REPO_PATH " && $ANDROID_BUILD_TOP/out/host/linux-x86/bin/compliance_checkmetadata . 2>&1' | fgrep -v PASS Change-Id: I34dfe143cdc88432d6e33abee096409a37ce3b7e
This commit is contained in:
@@ -24,6 +24,7 @@ import (
|
||||
"io/fs"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"android/soong/response"
|
||||
@@ -275,7 +276,8 @@ func htmlNotice(ctx *context, files ...string) error {
|
||||
}
|
||||
fmt.Fprintln(ctx.stdout, "</body></html>")
|
||||
|
||||
*ctx.deps = ni.InputNoticeFiles()
|
||||
*ctx.deps = ni.InputFiles()
|
||||
sort.Strings(*ctx.deps)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user