blob: f453ed050821378879cb228191ef3a670c7ecbb4 [file] [log] [blame]
bigbiff6e0ca7d2021-02-06 19:15:16 -05001package twrp
2
3import (
4 "android/soong/android"
5)
6
7func getMakeVars(ctx android.BaseContext, mVar string) string {
8 makeVars := ctx.Config().VendorConfig("makeVarsPlugin")
9 var makeVar = ""
10 if makeVars.IsSet(mVar) {
11 makeVar = makeVars.String(mVar)
12 }
13 return makeVar
14}