File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -583,7 +583,7 @@ java_library(
583583genrule (
584584 name = "desugar_globals" ,
585585 outs = ["desugar.globals" ],
586- cmd = "$(JAVA) -jar $(location :global_synthetics_generator_deploy.jar) --min-api {} --output $@" .format (min_sdk_version .DEPOT_FLOOR ),
586+ cmd = "$(JAVA) -Dcom.android.tools.r8.disableLambdaMethodAnnotations - jar $(location :global_synthetics_generator_deploy.jar) --min-api {} --output $@" .format (min_sdk_version .DEPOT_FLOOR ),
587587 toolchains = ["//tools/jdk:current_host_java_runtime" ],
588588 tools = [":global_synthetics_generator_deploy.jar" ],
589589 visibility = ["//visibility:public" ],
@@ -604,7 +604,7 @@ genrule(
604604genrule (
605605 name = "desugar_globals_classes" ,
606606 outs = ["desugar_globals_classes.zip" ],
607- cmd = "$(JAVA) -jar $(location :global_synthetics_generator_deploy.jar) --min-api {} --classfile --output $@" .format (min_sdk_version .DEPOT_FLOOR ),
607+ cmd = "$(JAVA) -Dcom.android.tools.r8.disableLambdaMethodAnnotations - jar $(location :global_synthetics_generator_deploy.jar) --min-api {} --classfile --output $@" .format (min_sdk_version .DEPOT_FLOOR ),
608608 toolchains = ["//tools/jdk:current_host_java_runtime" ],
609609 tools = [":global_synthetics_generator_deploy.jar" ],
610610 visibility = ["//visibility:public" ],
You can’t perform that action at this time.
0 commit comments