summaryrefslogtreecommitdiff
path: root/java/support_libraries.go
diff options
context:
space:
mode:
author Tony Mak <tonymak@google.com> 2019-07-18 21:36:44 +0100
committer Tony Mak <tonymak@google.com> 2019-07-19 14:10:05 +0000
commitbd7c2f9a1d66015b4e97fcb59c54cf244a4386cb (patch)
tree17e709731dd7c6797858f3dfed0a2b385a1413ec /java/support_libraries.go
parentf0976d6530e23fa9d50ac96fbade9e436a314e3b (diff)
Allow other module types in androidx
1. Update pom2bp to support "host_support" device module. 2. Allow other module type in support library (The intention is to support the room annotation processor) Test: m Bug: 137918883 Change-Id: I9a8fbcff903cc395d5dc38430774202ce389d6bc
Diffstat (limited to 'java/support_libraries.go')
-rw-r--r--java/support_libraries.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/java/support_libraries.go b/java/support_libraries.go
index 5a72f41a9..af7c3c2a0 100644
--- a/java/support_libraries.go
+++ b/java/support_libraries.go
@@ -52,8 +52,6 @@ func supportLibrariesMakeVarsProvider(ctx android.MakeVarsContext) {
supportAars = append(supportAars, name)
case *Library, *Import:
supportJars = append(supportJars, name)
- default:
- ctx.ModuleErrorf(module, "unknown module type %t", module)
}
})