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

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

Make apex_available respect AllowMissingDependencies am: 4b5438a9

am: 2b0d6a86

Change-Id: I5ad6586dbb937b7bb82bdfa2bb799d1a53d33560
parents 0967f3db 2b0d6a86
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)
		}
	}