Remove apex_available whitelist for the extservices APEX
The marked library(ies) were available to the APEX via the hand-written whitelist in build/soong/apex/apex.go. Trying to remove the whitelist by adding apex_available property to the Android.bp of the libraries. Bug: 150999716 Test: m Change-Id: I827d604c7e5a469a8b8a6d5a4b7917f2eaca48ca
This commit is contained in:
12
apex/apex.go
12
apex/apex.go
@@ -244,18 +244,6 @@ func makeApexAvailableWhitelist() map[string][]string {
|
|||||||
//
|
//
|
||||||
// Module separator
|
// Module separator
|
||||||
//
|
//
|
||||||
m["com.android.extservices"] = []string{
|
|
||||||
"flatbuffer_headers",
|
|
||||||
"liblua",
|
|
||||||
"libtextclassifier",
|
|
||||||
"libtextclassifier_hash_static",
|
|
||||||
"libtflite_static",
|
|
||||||
"libutf",
|
|
||||||
"tensorflow_headers",
|
|
||||||
}
|
|
||||||
//
|
|
||||||
// Module separator
|
|
||||||
//
|
|
||||||
m["com.android.neuralnetworks"] = []string{
|
m["com.android.neuralnetworks"] = []string{
|
||||||
"android.hardware.neuralnetworks@1.0",
|
"android.hardware.neuralnetworks@1.0",
|
||||||
"android.hardware.neuralnetworks@1.1",
|
"android.hardware.neuralnetworks@1.1",
|
||||||
|
Reference in New Issue
Block a user