diff options
| author | 2021-05-11 15:24:06 +0000 | |
|---|---|---|
| committer | 2021-05-11 15:24:06 +0000 | |
| commit | ccbbeb696512dc4b2a9e69167f06afc023dece2a (patch) | |
| tree | 8ca1a5833d65432b84afe8875f63df9d6ed19275 /java/java.go | |
| parent | ed00a40686602a130244663c40373e279c46f105 (diff) | |
| parent | 476b9d6d17aa57fe34b6c46c23bfda1e73efa4ec (diff) | |
Merge "Strict updatability linting against dependencies."
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index d74bf6825..9a5fbfc35 100644 --- a/java/java.go +++ b/java/java.go @@ -1222,6 +1222,13 @@ func (j *Import) LintDepSets() LintDepSets { return LintDepSets{} } +func (j *Import) getStrictUpdatabilityLinting() bool { + return false +} + +func (j *Import) setStrictUpdatabilityLinting(bool) { +} + func (j *Import) DepsMutator(ctx android.BottomUpMutatorContext) { ctx.AddVariationDependencies(nil, libTag, j.properties.Libs...) @@ -1545,6 +1552,13 @@ func (j *DexImport) IsInstallable() bool { return true } +func (j *DexImport) getStrictUpdatabilityLinting() bool { + return false +} + +func (j *DexImport) setStrictUpdatabilityLinting(bool) { +} + func (j *DexImport) GenerateAndroidBuildActions(ctx android.ModuleContext) { if len(j.properties.Jars) != 1 { ctx.PropertyErrorf("jars", "exactly one jar must be provided") |