summaryrefslogtreecommitdiff
path: root/nn/runtime/test/Android.bp
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2019-09-04 10:36:58 +0100
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2019-09-23 11:38:37 +0100
commit36a1bc7a9f9054ac8c763a850031c625af192474 (patch)
tree9af2bb7f8878543fab5ced00bc8e85a24b58878d /nn/runtime/test/Android.bp
parentad89bca1a002f657c67c4d0b3b6f70f8364e6eee (diff)
downloadml-36a1bc7a9f9054ac8c763a850031c625af192474.tar.gz
Replace libbinder dependency with libneuralnetworks_packageinfo
libbinder communication from APEX is not allowed, because it doesn't form a stable way to communicate. After an update, if system libbinder and APEX libbinder are out of sync, then they may fail to work with each other. libbiner usage is moved into libneuralnetworks_packageinfo library, which is a stable API library. Test: flashed crosshatch / run NNAPI tests Bug: 139282353 Change-Id: Ibe7e01b7f3014aed8390091ff7250611a32bb2ee
Diffstat (limited to 'nn/runtime/test/Android.bp')
-rw-r--r--nn/runtime/test/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nn/runtime/test/Android.bp b/nn/runtime/test/Android.bp
index 7a7dbc2fd..c809ebc26 100644
--- a/nn/runtime/test/Android.bp
+++ b/nn/runtime/test/Android.bp
@@ -28,13 +28,13 @@ cc_defaults {
"android.hidl.memory@1.0",
"libandroid",
"libbase",
- "libbinder",
"libcutils",
"libfmq",
"libhidlbase",
"libhidlmemory",
"liblog",
"libnativewindow",
+ "libneuralnetworks_packageinfo",
"libtextclassifier_hash",
"libui",
"libutils",