Merge "Hard-code apex_available handling for the btservices apex" into tm-dev am: 3bb9d7a8d9
am: bb63423da1
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/18972588 Change-Id: I0686fb0a9f7b4fe48558b63ef49988f23fee0add Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
7b8cb64821
@@ -454,6 +454,7 @@ func CheckAvailableForApex(what string, apex_available []string) bool {
|
||||
}
|
||||
return InList(what, apex_available) ||
|
||||
(what != AvailableToPlatform && InList(AvailableToAnyApex, apex_available)) ||
|
||||
(what == "com.android.btservices" && InList("com.android.bluetooth", apex_available)) ||
|
||||
(strings.HasPrefix(what, "com.android.gki.") && InList(AvailableToGkiApex, apex_available))
|
||||
}
|
||||
|
||||
|
30
apex/apex.go
30
apex/apex.go
@@ -2775,6 +2775,36 @@ func makeApexAvailableBaseline() map[string][]string {
|
||||
//
|
||||
// Module separator
|
||||
//
|
||||
m["com.android.btservices"] = []string{
|
||||
"bluetooth-protos-lite",
|
||||
"internal_include_headers",
|
||||
"libaudio-a2dp-hw-utils",
|
||||
"libaudio-hearing-aid-hw-utils",
|
||||
"libbluetooth",
|
||||
"libbluetooth-types",
|
||||
"libbluetooth-types-header",
|
||||
"libbluetooth_gd",
|
||||
"libbluetooth_headers",
|
||||
"libbluetooth_jni",
|
||||
"libbt-audio-hal-interface",
|
||||
"libbt-bta",
|
||||
"libbt-common",
|
||||
"libbt-hci",
|
||||
"libbt-platform-protos-lite",
|
||||
"libbt-protos-lite",
|
||||
"libbt-sbc-decoder",
|
||||
"libbt-sbc-encoder",
|
||||
"libbt-stack",
|
||||
"libbt-utils",
|
||||
"libbtcore",
|
||||
"libbtdevice",
|
||||
"libbte",
|
||||
"libbtif",
|
||||
"libchrome",
|
||||
}
|
||||
//
|
||||
// Module separator
|
||||
//
|
||||
m["com.android.bluetooth"] = []string{
|
||||
"bluetooth-protos-lite",
|
||||
"internal_include_headers",
|
||||
|
Reference in New Issue
Block a user