Support com.android.gki.* in apex_available.

com.android.gki.* matches any APEX with the prefix com.android.gki.,
like com.android.gki.bar.

Test: use it
Bug: 162267963
Change-Id: Ie46fcb08b031611d26b2b6cde157253f51ba9bfc
This commit is contained in:
Yifan Hong
2020-07-28 17:37:46 -07:00
parent 4514d96e18
commit d22a84a88b
2 changed files with 13 additions and 3 deletions

View File

@@ -412,7 +412,14 @@ func TestBasicApex(t *testing.T) {
system_shared_libs: [],
static_executable: true,
stl: "none",
apex_available: [ "myapex" ],
apex_available: [ "myapex", "com.android.gki.*" ],
}
apex {
name: "com.android.gki.fake",
binaries: ["foo"],
key: "myapex.key",
file_contexts: ":myapex-file_contexts",
}
cc_library_shared {