bigbiff | 6e0ca7d | 2021-02-06 19:15:16 -0500 | [diff] [blame] | 1 | package twrp |
2 | |||||
3 | import ( | ||||
4 | "android/soong/android" | ||||
5 | ) | ||||
6 | |||||
7 | func 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 | } |