summaryrefslogtreecommitdiff
path: root/apex/bootclasspath_fragment_test.go
diff options
context:
space:
mode:
author Qiao Yang <qiaoccolato@google.com> 2023-05-05 16:43:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-05-05 16:43:45 +0000
commit7081aaf874c17404306935e35f7ddf1a24a5f1e0 (patch)
tree9f3975c44f52cfe6ec7ec0776f422f669fdec283 /apex/bootclasspath_fragment_test.go
parent9f196e1f3f48010c868e7e961d21b4a32a470005 (diff)
parent8d8c660710037e87c7094a612246d64e5af74846 (diff)
Merge changes from topic "revert-2574032-XXTWCJDTDQ"
* changes: Revert "Generate boot image profiles even if dexpreopt is disabled." Revert "Generate app profiles even if dexpreopt is disabled."
Diffstat (limited to 'apex/bootclasspath_fragment_test.go')
-rw-r--r--apex/bootclasspath_fragment_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/apex/bootclasspath_fragment_test.go b/apex/bootclasspath_fragment_test.go
index 3e55ccc11..d78481828 100644
--- a/apex/bootclasspath_fragment_test.go
+++ b/apex/bootclasspath_fragment_test.go
@@ -497,26 +497,6 @@ func TestBootclasspathFragmentInArtApex(t *testing.T) {
})
})
- t.Run("generate boot image profile even if dexpreopt is disabled", func(t *testing.T) {
- result := android.GroupFixturePreparers(
- commonPreparer,
-
- // Configure some libraries in the art bootclasspath_fragment that match the source
- // bootclasspath_fragment's contents property.
- java.FixtureConfigureBootJars("com.android.art:foo", "com.android.art:bar"),
- addSource("foo", "bar"),
- java.FixtureSetBootImageInstallDirOnDevice("art", "system/framework"),
- dexpreopt.FixtureDisableDexpreoptBootImages(true),
- ).RunTest(t)
-
- ensureExactContents(t, result.TestContext, "com.android.art", "android_common_com.android.art_image", []string{
- "etc/boot-image.prof",
- "etc/classpaths/bootclasspath.pb",
- "javalib/bar.jar",
- "javalib/foo.jar",
- })
- })
-
t.Run("boot image disable generate profile", func(t *testing.T) {
result := android.GroupFixturePreparers(
commonPreparer,