Loading java/gen.go +1 −4 Original line number Diff line number Diff line Loading @@ -78,10 +78,7 @@ func genAidl(ctx android.ModuleContext, aidlFiles android.Paths, aidlFlags strin rule.Command(). Tool(ctx.Config().HostToolPath(ctx, "soong_zip")). // TODO(b/124333557): this can't use -srcjar for now, aidl on parcelables generates java files // without a package statement, which causes -srcjar to put them in the top level of the zip file. // Once aidl skips parcelables we can use -srcjar. //Flag("-srcjar"). Flag("-srcjar"). Flag("-write_if_changed"). FlagWithOutput("-o ", srcJarFile). FlagWithArg("-C ", outDir.String()). Loading java/proto.go +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ func genProto(ctx android.ModuleContext, protoFiles android.Paths, flags android // into a srcjar. rule.Command(). BuiltTool("soong_zip"). Flag("-jar"). Flag("-srcjar"). Flag("-write_if_changed"). FlagWithOutput("-o ", srcJarFile). FlagWithArg("-C ", outDir.String()). Loading Loading
java/gen.go +1 −4 Original line number Diff line number Diff line Loading @@ -78,10 +78,7 @@ func genAidl(ctx android.ModuleContext, aidlFiles android.Paths, aidlFlags strin rule.Command(). Tool(ctx.Config().HostToolPath(ctx, "soong_zip")). // TODO(b/124333557): this can't use -srcjar for now, aidl on parcelables generates java files // without a package statement, which causes -srcjar to put them in the top level of the zip file. // Once aidl skips parcelables we can use -srcjar. //Flag("-srcjar"). Flag("-srcjar"). Flag("-write_if_changed"). FlagWithOutput("-o ", srcJarFile). FlagWithArg("-C ", outDir.String()). Loading
java/proto.go +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ func genProto(ctx android.ModuleContext, protoFiles android.Paths, flags android // into a srcjar. rule.Command(). BuiltTool("soong_zip"). Flag("-jar"). Flag("-srcjar"). Flag("-write_if_changed"). FlagWithOutput("-o ", srcJarFile). FlagWithArg("-C ", outDir.String()). Loading