diff options
author | 2020-04-24 21:16:36 +0900 | |
---|---|---|
committer | 2020-04-28 22:55:54 +0900 | |
commit | 69aeba99822d891c79bebdafd5101705af280c8c (patch) | |
tree | d22459a34060d1295c6e37b923ed9a8e9ff4b52a /apex/apex_test.go | |
parent | 9105fa385ad628e3da6f8e4e63144f32a925a9c2 (diff) |
runtime_resource_overlay can be included in APEXes
runtime_resource_overlay is put to an APEX via 'apps' property. It is
placed under ./overlay directory in it.
Bug: 154822536
Test: m
Change-Id: I8edf4a26c26368c52fb7b327b2ecc829f21ea148
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r-- | apex/apex_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index 8807d00c4..97d5cf61b 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -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", }) } |