Mark ImmutabilityProcessorTest as unit_test

So that it doesn't require device. Attempt to stop it from running
on device target builds.

Bug: 265439335

Test: atest ImmutabilityProcessorTest

Change-Id: I153106f3d8cdf0a50c427c102c2119a0c2fa4e60
This commit is contained in:
Winson Chiu
2023-01-13 22:03:35 +00:00
parent 08c808e567
commit ec02895dcd

View File

@@ -60,6 +60,9 @@ java_test_host {
java_resources: [":ImmutabilityAnnotationJavaSource"],
test_suites: ["general-tests"],
test_options: {
unit_test: true,
},
javacflags: [
"--add-modules=jdk.compiler",
"--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",