summaryrefslogtreecommitdiff
path: root/java/lint.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2025-02-11 17:02:53 -0800
committer Cole Faust <colefaust@google.com> 2025-02-12 12:32:01 -0800
commita43fb2565c538de1768e8260168c8fd14df3a447 (patch)
treec05a7f0bfb34112bed1d75c5a7c6607b02b15420 /java/lint.go
parentdc170e72fad31a5cef8e3427773d7f9d323c03f9 (diff)
Move dists to GenerateAndroidBuildActions
So that we're not as make-focused by disting in MakeVarsProviders. Bug: 395184523 Test: Verified ninja files were unchanged (on both m nothing and m nothing dist) Change-Id: I5fd94754d644162b355722fbb1e1fd6f085345b9
Diffstat (limited to 'java/lint.go')
-rw-r--r--java/lint.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/java/lint.go b/java/lint.go
index 3838745e4..66f7f8549 100644
--- a/java/lint.go
+++ b/java/lint.go
@@ -704,16 +704,12 @@ func (l *lintSingleton) generateLintReportZips(ctx android.SingletonContext) {
zip(l.referenceBaselineZip, func(l *LintInfo) android.Path { return l.ReferenceBaseline })
ctx.Phony("lint-check", l.htmlZip, l.textZip, l.xmlZip, l.referenceBaselineZip)
-}
-func (l *lintSingleton) MakeVars(ctx android.MakeVarsContext) {
if !ctx.Config().UnbundledBuild() {
ctx.DistForGoal("lint-check", l.htmlZip, l.textZip, l.xmlZip, l.referenceBaselineZip)
}
}
-var _ android.SingletonMakeVarsProvider = (*lintSingleton)(nil)
-
func init() {
android.RegisterParallelSingletonType("lint",
func() android.Singleton { return &lintSingleton{} })