Add new storage deps in forced read-only mode

Bug: 328444881
Test: m
Change-Id: I26d5d5c96414a62f2f83eb4d725e69cea61214da
This commit is contained in:
Ted Bauer
2024-05-01 00:30:17 +00:00
parent 3210194259
commit c3031c5c7b
2 changed files with 22 additions and 3 deletions

View File

@@ -249,6 +249,22 @@ func TestForceReadOnly(t *testing.T) {
aconfig_declarations: "my_aconfig_declarations",
mode: "force-read-only",
}
cc_library {
name: "libbase",
srcs: ["libbase.cc"],
}
cc_library {
name: "liblog",
srcs: ["liblog.cc"],
}
cc_library {
name: "libaconfig_storage_read_api_cc",
srcs: ["libaconfig_storage_read_api_cc.cc"],
}
`))
module := result.ModuleForTests("my_cc_aconfig_library", "android_arm64_armv8-a_shared").Module()