diff options
author | 2022-10-10 13:45:06 -0700 | |
---|---|---|
committer | 2022-10-27 11:19:53 -0700 | |
commit | ca65b40fa02f7103363772c2d020dec04a8f93ec (patch) | |
tree | 16b7db84c348fccee194be806c0725190ef6243f /java/dexpreopt_test.go | |
parent | 3bd8f0a6e6884137525905a4cf125147a0a0a2d9 (diff) |
Generate a default wrapper for device java_binary
Any device java_binary that doesn't have a specific wrapper must
have a main_class property, which is used to generate its default
wrapper. Otherwise its build should fail.
Bug: 250851599
Test: TestDeviceBinaryWrapperGeneration in java_test.go
Change-Id: Ice4c580bcfc1b92f95e217b39e984c55d25a3a02
Diffstat (limited to 'java/dexpreopt_test.go')
-rw-r--r-- | java/dexpreopt_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/dexpreopt_test.go b/java/dexpreopt_test.go index 1c1070add..3d2c5c3a1 100644 --- a/java/dexpreopt_test.go +++ b/java/dexpreopt_test.go @@ -63,6 +63,7 @@ func TestDexpreoptEnabled(t *testing.T) { java_binary { name: "foo", srcs: ["a.java"], + main_class: "foo.bar.jb", }`, enabled: true, }, |