diff options
author | Paul Duffin <paulduffin@google.com> | 2021-05-06 16:33:43 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-05-06 23:13:06 +0100 |
commit | b6b89a40741fbc9a043f3dcc348f111b000de1a7 (patch) | |
tree | 9a3e34e039690bcad8b1bf4bad992953ba6256bc /java/java.go | |
parent | 7c8769231b39e6682a9571342efcf20298734ff9 (diff) |
Add missing calls to InitSdkAwareModule
A follow up change will add methods to SdkBase which requires its
module field to have been initialized.
Bug: 181569894
Test: m nothing
Change-Id: I9b02f260ad3f82316cc7ab3b5717b7e81090b0d8
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index 7258dcefd..cfbe4b07c 100644 --- a/java/java.go +++ b/java/java.go @@ -669,6 +669,7 @@ func LibraryHostFactory() android.Module { module.Module.properties.Installable = proptools.BoolPtr(true) android.InitApexModule(module) + android.InitSdkAwareModule(module) InitJavaModule(module, android.HostSupported) return module } @@ -923,6 +924,7 @@ func TestFactory() android.Module { module.Module.dexpreopter.isTest = true module.Module.linter.test = true + android.InitSdkAwareModule(module) InitJavaModule(module, android.HostAndDeviceSupported) return module } |