summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-05-07 12:15:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-05-07 12:15:16 +0000
commit820ed78954f8d33ae2ac13b57c50ea59779a24c8 (patch)
tree4e80d2600c54c99f2c1fb5b2f4be866331acfc6b /java/java.go
parentc76155cd71c50158b3c1e374babb8d2baa510363 (diff)
parentb6b89a40741fbc9a043f3dcc348f111b000de1a7 (diff)
Merge "Add missing calls to InitSdkAwareModule"
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index 9896b578a..d74bf6825 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
}