Merge "runtime_resource_overlay can be included in APEXes"

This commit is contained in:
Treehugger Robot
2020-04-28 17:13:26 +00:00
committed by Gerrit Code Review
3 changed files with 56 additions and 0 deletions

View File

@@ -521,6 +521,7 @@ func TestDefaults(t *testing.T) {
native_shared_libs: ["mylib"],
java_libs: ["myjar"],
apps: ["AppFoo"],
rros: ["rro"],
}
prebuilt_etc {
@@ -561,12 +562,19 @@ func TestDefaults(t *testing.T) {
system_modules: "none",
apex_available: [ "myapex" ],
}
runtime_resource_overlay {
name: "rro",
theme: "blue",
}
`)
ensureExactContents(t, ctx, "myapex", "android_common_myapex_image", []string{
"etc/myetc",
"javalib/myjar.jar",
"lib64/mylib.so",
"app/AppFoo/AppFoo.apk",
"overlay/blue/rro.apk",
})
}