From a41a6963b4a8636a6b5de9b0d4aa746c9a6e99ac Mon Sep 17 00:00:00 2001 From: Bill Peckham Date: Mon, 11 Jan 2021 10:58:54 -0800 Subject: Enable an apex to include a java_import. With the addition of the compile_dex property to the java_import module it becomes possible to include a java_import module in an apex. This change allows the dependency and adds a test. Bug: 177228901 Test: m nothing Test: new TestApexWithJavaImport Change-Id: I9336dade1857109e2fd21f7d57e1dc4abc4a402c --- java/java.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'java/java.go') diff --git a/java/java.go b/java/java.go index 3c6146b76..59ec94d5b 100644 --- a/java/java.go +++ b/java/java.go @@ -2831,6 +2831,10 @@ func (a *Import) JacocoReportClassesFile() android.Path { return nil } +func (j *Import) LintDepSets() LintDepSets { + return LintDepSets{} +} + func (j *Import) DepsMutator(ctx android.BottomUpMutatorContext) { ctx.AddVariationDependencies(nil, libTag, j.properties.Libs...) -- cgit v1.2.3-59-g8ed1b