summaryrefslogtreecommitdiff
path: root/apex/apex.go
diff options
context:
space:
mode:
author Jingwen Chen <jingwen@google.com> 2023-03-23 07:06:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-03-23 07:06:45 +0000
commit78d15f2b74c3dc52994b960e033c36a94a9ab2eb (patch)
treed15dc20ce0a9f4b09713a963b908630a3e170d3a /apex/apex.go
parent62d33534341288cba26889363842b4a0d03bb503 (diff)
parentbad4182ddc189407ffc7ca45907c18b7e8497b0b (diff)
Merge "Mixed builds is supported for all apex module types, not just "apex"."
Diffstat (limited to 'apex/apex.go')
-rw-r--r--apex/apex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/apex.go b/apex/apex.go
index ac81885b2..957c94b69 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -1942,7 +1942,7 @@ func (f fsType) string() string {
var _ android.MixedBuildBuildable = (*apexBundle)(nil)
func (a *apexBundle) IsMixedBuildSupported(ctx android.BaseModuleContext) bool {
- return ctx.ModuleType() == "apex" && a.properties.ApexType == imageApex
+ return a.properties.ApexType == imageApex
}
func (a *apexBundle) QueueBazelCall(ctx android.BaseModuleContext) {