Lines Matching refs:ctx
27 func sdkMutator(ctx android.BottomUpMutatorContext) {
28 if ctx.Os() != android.Android {
32 switch m := ctx.Module().(type) {
34 ccModule, isCcModule := ctx.Module().(*Module)
37 …ctx.ModuleErrorf("UseSdk() must return true when AlwaysSdk is set, did the factory forget to set S…
39 modules := ctx.CreateVariations("sdk")
42 modules := ctx.CreateVariations("", "sdk")
51 if ctx.Config().UnbundledBuildApps() {
64 ctx.AliasVariation("")
71 ctx.CreateVariations("")
72 ctx.AliasVariation("")
77 ctx.CreateVariations("", "sdk")
79 ctx.CreateVariations("")
81 ctx.AliasVariation("")
84 ccApiVariant, _ := ctx.Module().(*CcApiVariant)
86 ctx.CreateVariations("sdk")
88 ctx.CreateVariations("")