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

Commit 9f598d15 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

am: 084d9896

Change-Id: I4bf3d80ee203106e02204f32809928252f5fdf2a
parents dc30c612 084d9896
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.