Loading aconfig/codegen/java_aconfig_library.go +6 −6 Original line number Diff line number Diff line Loading @@ -92,12 +92,12 @@ func (callbacks *JavaAconfigDeclarationsLibraryCallbacks) GenerateSourceJarBuild if !isModeSupported(mode) { ctx.PropertyErrorf("mode", "%q is not a supported mode", mode) } // TODO: uncomment this part after internal clean up //if mode == "exported" && !declarations.Exportable { // // if mode is exported, the corresponding aconfig_declaration must mark its // // exportable property true // ctx.PropertyErrorf("mode", "exported mode requires its aconfig_declaration has exportable prop true") //} if mode == "exported" && !declarations.Exportable { // if mode is exported, the corresponding aconfig_declaration must mark its // exportable property true ctx.PropertyErrorf("mode", "exported mode requires its aconfig_declaration has exportable prop true") } ctx.Build(pctx, android.BuildParams{ Rule: javaRule, Loading Loading
aconfig/codegen/java_aconfig_library.go +6 −6 Original line number Diff line number Diff line Loading @@ -92,12 +92,12 @@ func (callbacks *JavaAconfigDeclarationsLibraryCallbacks) GenerateSourceJarBuild if !isModeSupported(mode) { ctx.PropertyErrorf("mode", "%q is not a supported mode", mode) } // TODO: uncomment this part after internal clean up //if mode == "exported" && !declarations.Exportable { // // if mode is exported, the corresponding aconfig_declaration must mark its // // exportable property true // ctx.PropertyErrorf("mode", "exported mode requires its aconfig_declaration has exportable prop true") //} if mode == "exported" && !declarations.Exportable { // if mode is exported, the corresponding aconfig_declaration must mark its // exportable property true ctx.PropertyErrorf("mode", "exported mode requires its aconfig_declaration has exportable prop true") } ctx.Build(pctx, android.BuildParams{ Rule: javaRule, Loading