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

Commit 442532a7 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Gerrit Code Review
Browse files

Merge "bpf: use PwdPrefix() helper"

parents 06223aed 6a288bc7
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import (
	"android/soong/android"
	"android/soong/bazel"
	"android/soong/bazel/cquery"
	"android/soong/cc"

	"github.com/google/blueprint"
	"github.com/google/blueprint/proptools"
@@ -32,9 +33,7 @@ import (
func init() {
	registerBpfBuildComponents(android.InitRegistrationContext)
	pctx.Import("android/soong/cc/config")
	if runtime.GOOS != "darwin" {
		pctx.StaticVariable("relPwd", "PWD=/proc/self/cwd")
	}
	pctx.StaticVariable("relPwd", cc.PwdPrefix())
}

var (