diff options
author | Bill Peckham <bpeckham@google.com> | 2020-12-23 16:13:04 -0800 |
---|---|---|
committer | Bill Peckham <bpeckham@google.com> | 2020-12-23 16:13:04 -0800 |
commit | ff89ffae0bc80e04ddb5dd216deaf8b52f0e6856 (patch) | |
tree | 9e6781972e32d43b69851091a489f152e89ce73d /java/hiddenapi_singleton_test.go | |
parent | 7dbc5786e3af292c1e2e786e4a9ec82cea93f051 (diff) |
Automatically set uncompress_dex for java_import.
Setting uncompress_dex for java_import in the same way
as java_library enables using a java_import as an art
jar or a boot jar.
Bug: 175619567
Test: m nothing
Test: TestHiddenAPISingletonWithPrebuilt
Change-Id: I0b552a11d1630a014cf978520ccc5977fdf74066
Diffstat (limited to 'java/hiddenapi_singleton_test.go')
-rw-r--r-- | java/hiddenapi_singleton_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/hiddenapi_singleton_test.go b/java/hiddenapi_singleton_test.go index 34a485618..955c73932 100644 --- a/java/hiddenapi_singleton_test.go +++ b/java/hiddenapi_singleton_test.go @@ -85,7 +85,7 @@ func TestHiddenAPISingletonWithPrebuilt(t *testing.T) { hiddenAPI := ctx.SingletonForTests("hiddenapi") hiddenapiRule := hiddenAPI.Rule("hiddenapi") - want := "--boot-dex=" + buildDir + "/.intermediates/foo/android_common/dex/foo.jar" + want := "--boot-dex=" + buildDir + "/.intermediates/foo/android_common/aligned/foo.jar" if !strings.Contains(hiddenapiRule.RuleParams.Command, want) { t.Errorf("Expected %s in hiddenapi command, but it was not present: %s", want, hiddenapiRule.RuleParams.Command) } |