diff options
author | Michael Butler <butlermichael@google.com> | 2020-11-06 18:35:35 -0800 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2020-11-16 20:54:32 -0800 |
commit | eca4b0fbbcd056afd7dbc62ba6db669b9ad2700d (patch) | |
tree | 0559bdf4c827686a568f8aae73d3b9156541d368 | |
parent | 75ec7d8cc4e55c77e32090215c28f9ecc0d41057 (diff) | |
download | ml-eca4b0fbbcd056afd7dbc62ba6db669b9ad2700d.tar.gz |
Disable NNAPI host build
A host build was enabled for canonical types and tests to ensure that
the canonical types were not introducing new dependencies. Because we
are not focusing on developing a host build for the short term, this CL
disables it, but it's being tracked in b/146324523.
Bug: N/A
Test: mma
Change-Id: Ib96349d17b202b163c4e377515b9c3117cc39b1d
Merged-In: Ib96349d17b202b163c4e377515b9c3117cc39b1d
(cherry picked from commit 7e468dabece62457b38e6c5cffb03f652d5ce3c0)
-rw-r--r-- | nn/common/Android.bp | 3 | ||||
-rw-r--r-- | nn/runtime/test/Android.bp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nn/common/Android.bp b/nn/common/Android.bp index 10f97a219..c6000438f 100644 --- a/nn/common/Android.bp +++ b/nn/common/Android.bp @@ -242,7 +242,8 @@ cc_library_static { cc_defaults { name: "neuralnetworks_utils_defaults", - host_supported: true, + // b/146324523, NNAPI host build capability + host_supported: false, vendor_available: true, apex_available: [ "//apex_available:platform", diff --git a/nn/runtime/test/Android.bp b/nn/runtime/test/Android.bp index ac53b9a10..78bfb89f6 100644 --- a/nn/runtime/test/Android.bp +++ b/nn/runtime/test/Android.bp @@ -393,7 +393,8 @@ cc_library_static { cc_defaults { name: "neuralnetworks_generated_defaults", defaults: ["neuralnetworks_float16"], - host_supported: true, + // b/146324523, NNAPI host build capability + host_supported: false, vendor_available: true, static_libs: ["libneuralnetworks_generated_test_harness"], } |