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

Commit 084d9896 authored by Jiyong Park's avatar Jiyong Park Committed by android-build-merger
Browse files

Don't check apex_available for host am: 583a226c

am: 07716974

Change-Id: I7eb4b6c8413e666ffdf69c72983887027a08896e
parents 49599aec 07716974
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -1191,6 +1191,7 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
	})

	// check apex_available requirements
	if !ctx.Host() {
		for _, fi := range filesInfo {
			if am, ok := fi.module.(android.ApexModule); ok {
				if !am.AvailableFor(ctx.ModuleName()) {
@@ -1199,6 +1200,7 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
				}
			}
		}
	}

	// prepend the name of this APEX to the module names. These names will be the names of
	// modules that will be defined if the APEX is flattened.