summaryrefslogtreecommitdiff
path: root/sdk/bootclasspath_fragment_sdk_test.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-04-26 17:08:38 +0100
committerPaul Duffin <paulduffin@google.com>2021-04-28 09:03:46 +0100
commit2ac45f019be6cd30f1fcaa283c0b1d410a0f0c38 (patch)
tree5aaad6fb39c0ea1dc47de60c28a2bcf19abf3ac7 /sdk/bootclasspath_fragment_sdk_test.go
parentad19d3858ef362b29448247bccbd312de4d31395 (diff)
Remove special handling of frameworks/base/config/boot-profile.txt
Previously, the method was run in repo manifests that did not include the frameworks/base repository so it had to handle the file being missing. However, now that this is being called from platform_bootclasspath which is only defined in frameworks/base that is no longer required. Bug: 177892522 Test: m droid Change-Id: I77fa5a204d1426a6be24a6f0b48e18f48f3dd908
Diffstat (limited to 'sdk/bootclasspath_fragment_sdk_test.go')
-rw-r--r--sdk/bootclasspath_fragment_sdk_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdk/bootclasspath_fragment_sdk_test.go b/sdk/bootclasspath_fragment_sdk_test.go
index dcdf85298..5658f16e3 100644
--- a/sdk/bootclasspath_fragment_sdk_test.go
+++ b/sdk/bootclasspath_fragment_sdk_test.go
@@ -46,6 +46,8 @@ func TestSnapshotWithBootclasspathFragment_ImageName(t *testing.T) {
],
}
`),
+ // Needed for platform_bootclasspath
+ android.FixtureAddFile("frameworks/base/config/boot-profile.txt", nil),
java.FixtureConfigureBootJars("com.android.art:mybootlib"),
android.FixtureWithRootAndroidBp(`