Open java.lang for dokka

Bug: 240421555
Test: m sdk
Change-Id: I38df207ca2c891df24fe32f711b2767cb17195ec
This commit is contained in:
Sorin Basca 2022-09-08 16:48:01 +01:00
parent 0228d27943
commit 1d68e48084

View file

@ -755,6 +755,7 @@ func dokkaCmd(ctx android.ModuleContext, rule *android.RuleBuilder,
return rule.Command().
BuiltTool("dokka").
Flag(config.JavacVmFlags).
Flag("-J--add-opens=java.base/java.lang=ALL-UNNAMED").
Flag(srcJarDir.String()).
FlagWithInputList("-classpath ", dokkaClasspath, ":").
FlagWithArg("-format ", "dac").