diff options
author | Jiyong Park <jiyong@google.com> | 2020-04-07 17:16:47 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-05-01 00:38:13 +0000 |
commit | 4ac7511f54a6596f100335cc4a6f72455f2c9aeb (patch) | |
tree | e109e63bc842a86fda8300b0c59cf2a32d755827 /nn/runtime | |
parent | af55ce116ec438bf73c250ba8b9f64631f209608 (diff) | |
download | ml-4ac7511f54a6596f100335cc4a6f72455f2c9aeb.tar.gz |
libneuralnetworks_headers is marked as available to platform
The header lib is depended on by libneuralnetworks_common which is
available to platform. With b/153073816, we will be checking the
availability to the platform as well, i.e. platform-available module
depending on platform-unavailable module will cause a build error.
Prepare for the change by correctly marking that the header lib is also
available to the platform.
Bug: 153073816
Test: m
Exempt-From-Owner-Approval: cherry-pick from AOSP
Merged-In: I31a198068c98e7d6b01b7e2cd6f43e54769f28b1
(cherry picked from commit ddda33ec48ac01e042854c0a017a4ce276172488)
Change-Id: I31a198068c98e7d6b01b7e2cd6f43e54769f28b1
Diffstat (limited to 'nn/runtime')
-rw-r--r-- | nn/runtime/Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nn/runtime/Android.bp b/nn/runtime/Android.bp index 49aa26c17..d5f7787f3 100644 --- a/nn/runtime/Android.bp +++ b/nn/runtime/Android.bp @@ -22,6 +22,9 @@ cc_library_headers { apex_available: [ "com.android.neuralnetworks", "test_com.android.neuralnetworks", + // Due to the dependency from libneuralnetworks_common + // that is available to the platform + "//apex_available:platform", ], } |