diff options
author | Bill Peckham <bpeckham@google.com> | 2021-01-11 10:58:54 -0800 |
---|---|---|
committer | Bill Peckham <bpeckham@google.com> | 2021-01-19 18:15:03 +0000 |
commit | a41a6963b4a8636a6b5de9b0d4aa746c9a6e99ac (patch) | |
tree | d7db1b9c2ae17dae167ffb1fd299606c5f17f434 /java/java.go | |
parent | bae4749de28b89a5702ed8cdeda1a390ad112e50 (diff) |
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
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 4 |
1 files changed, 4 insertions, 0 deletions
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...) |