Merge "Build updatable-bcp-packages.txt from prebuilts in sdk snapshot" am: d2a23518b4
am: 3caa3a02ee
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1768127 Change-Id: I0f1bd5d1a6d53d12f9af41b46af3453af24c0591
This commit is contained in:
@@ -532,6 +532,12 @@ sdk_snapshot {
|
||||
out/soong/.intermediates/frameworks/base/boot/platform-bootclasspath/android_common/hiddenapi-monolithic/index-from-classes.csv
|
||||
snapshot/hiddenapi/index.csv
|
||||
`, rule)
|
||||
|
||||
// Make sure that the permitted packages from the prebuilts end up in the
|
||||
// updatable-bcp-packages.txt file.
|
||||
rule = module.Output("updatable-bcp-packages.txt")
|
||||
expectedContents := `'mybootlib\nmyothersdklibrary\n'`
|
||||
android.AssertStringEquals(t, "updatable-bcp-packages.txt", expectedContents, rule.Args["content"])
|
||||
}),
|
||||
snapshotTestPreparer(checkSnapshotWithSourcePreferred, preparerForSnapshot),
|
||||
snapshotTestPreparer(checkSnapshotPreferredWithSource, preparerForSnapshot),
|
||||
|
Reference in New Issue
Block a user