aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-11-25 15:09:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-11-25 15:09:57 +0000
commitec8897bd227aaa4d2de988b0c1237dca186d4687 (patch)
tree1299a4862e171d8bbda5ee59993ed387550b7a14
parent62fc685b0928b5bbf6b7790a2c1928508cd186b4 (diff)
parent957f41b3553ab12e0010aa0bb5acfd29a0c152d9 (diff)
downloadbuild-ec8897bd227aaa4d2de988b0c1237dca186d4687.tar.gz
Merge "Merge "Export all jdk.compiler packages for host tests" am: f9ff341481" into main-16k
-rw-r--r--core/java_host_unit_test_config_template.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java_host_unit_test_config_template.xml b/core/java_host_unit_test_config_template.xml
index 9a7e9720dd..5d8b254473 100644
--- a/core/java_host_unit_test_config_template.xml
+++ b/core/java_host_unit_test_config_template.xml
@@ -25,5 +25,12 @@
<option name="jar" value="{MODULE}.jar" />
<option name="java-flags" value="--add-modules=jdk.compiler"/>
<option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"/>
</test>
</configuration>