Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc30c612 authored by Orion Hodson's avatar Orion Hodson Committed by android-build-merger
Browse files

Make apex_available respect AllowMissingDependencies am: 4b5438a9 am: 2b0d6a86

am: 49599aec

Change-Id: I321101e2470a0dd6f8b199064352294b41708158
parents 4ee6e75a 49599aec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ func (m *ApexModuleBase) checkApexAvailableProperty(mctx BaseModuleContext) {
		if n == availableToPlatform || n == availableToAnyApex {
			continue
		}
		if !mctx.OtherModuleExists(n) {
		if !mctx.OtherModuleExists(n) && !mctx.Config().AllowMissingDependencies() {
			mctx.PropertyErrorf("apex_available", "%q is not a valid module name", n)
		}
	}