Loading android/androidmk.go +1 −1 Original line number Diff line number Diff line Loading @@ -845,7 +845,7 @@ func translateAndroidModule(ctx SingletonContext, w io.Writer, mod blueprint.Mod case "*selinux.selinuxContextsModule": // license properties written case "*sysprop.syspropLibrary": // license properties written default: if ctx.Config().IsEnvTrue("ANDROID_REQUIRE_LICENSES") { if !ctx.Config().IsEnvFalse("ANDROID_REQUIRE_LICENSES") { return fmt.Errorf("custom make rules not allowed for %q (%q) module %q", ctx.ModuleType(mod), reflect.TypeOf(mod), ctx.ModuleName(mod)) } } Loading android/licenses.go +1 −1 Original line number Diff line number Diff line Loading @@ -253,7 +253,7 @@ func getLicenses(ctx BaseModuleContext, module Module) []string { primaryProperty := module.base().primaryLicensesProperty if primaryProperty == nil { if ctx.Config().IsEnvTrue("ANDROID_REQUIRE_LICENSES") { if !ctx.Config().IsEnvFalse("ANDROID_REQUIRE_LICENSES") { ctx.ModuleErrorf("module type %q must have an applicable licenses property", ctx.OtherModuleType(module)) } return nil Loading Loading
android/androidmk.go +1 −1 Original line number Diff line number Diff line Loading @@ -845,7 +845,7 @@ func translateAndroidModule(ctx SingletonContext, w io.Writer, mod blueprint.Mod case "*selinux.selinuxContextsModule": // license properties written case "*sysprop.syspropLibrary": // license properties written default: if ctx.Config().IsEnvTrue("ANDROID_REQUIRE_LICENSES") { if !ctx.Config().IsEnvFalse("ANDROID_REQUIRE_LICENSES") { return fmt.Errorf("custom make rules not allowed for %q (%q) module %q", ctx.ModuleType(mod), reflect.TypeOf(mod), ctx.ModuleName(mod)) } } Loading
android/licenses.go +1 −1 Original line number Diff line number Diff line Loading @@ -253,7 +253,7 @@ func getLicenses(ctx BaseModuleContext, module Module) []string { primaryProperty := module.base().primaryLicensesProperty if primaryProperty == nil { if ctx.Config().IsEnvTrue("ANDROID_REQUIRE_LICENSES") { if !ctx.Config().IsEnvFalse("ANDROID_REQUIRE_LICENSES") { ctx.ModuleErrorf("module type %q must have an applicable licenses property", ctx.OtherModuleType(module)) } return nil Loading