From eca4b0fbbcd056afd7dbc62ba6db669b9ad2700d Mon Sep 17 00:00:00 2001 From: Michael Butler Date: Fri, 6 Nov 2020 18:35:35 -0800 Subject: 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) --- nn/common/Android.bp | 3 ++- 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"], } -- cgit v1.2.3