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

Commit d9d59fb5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "SOONG_* variables are emitted only for the BuildOS variants"

parents 56b584c4 ad429d0c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -86,6 +86,9 @@ func (t *prebuiltBuildTool) GenerateAndroidBuildActions(ctx ModuleContext) {

func (t *prebuiltBuildTool) MakeVars(ctx MakeVarsModuleContext) {
	if makeVar := String(t.properties.Export_to_make_var); makeVar != "" {
		if t.Target().Os != BuildOs {
			return
		}
		ctx.StrictRaw(makeVar, t.toolPath.String())
	}
}