diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2019-11-14 13:27:45 +0000 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2019-11-18 17:50:03 +0000 |
commit | fa0aa4a446adb9e9e2de1694dd8ed08d08686ce2 (patch) | |
tree | 1521a79e17c6c9598607554867df9cfe44f6776a /nn/runtime/test/Android.bp | |
parent | 3a27436112f2b79824e32d934765c5f991b75aa2 (diff) | |
download | ml-fa0aa4a446adb9e9e2de1694dd8ed08d08686ce2.tar.gz |
Replace GraphicBuffer with AHardwareBuffer.
In order to remove dependency on libui, CpuExecutor was changed
to use public interface AHardwareBuffer instead of internal
GraphicBuffer.
An AHardwareBuffer is a reinterpreted GraphicBuffer so they behave
identically.
By removing libui dependency, we should further reduce the com.
android.neuralnetworks APEX size.
Test: Flashed pixel device & run NNAPI tests.
Bug: 140440028
Bug: 144488395
Change-Id: I44e7613312d2ce60da8f859557c1c79cd0d7e2be
Diffstat (limited to 'nn/runtime/test/Android.bp')
-rw-r--r-- | nn/runtime/test/Android.bp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nn/runtime/test/Android.bp b/nn/runtime/test/Android.bp index c3c379de4..e212f8db0 100644 --- a/nn/runtime/test/Android.bp +++ b/nn/runtime/test/Android.bp @@ -33,7 +33,6 @@ cc_defaults { "libnativewindow", "libneuralnetworks_packageinfo", "libtextclassifier_hash", - "libui", "libutils", ], static_libs: [ @@ -57,6 +56,8 @@ cc_defaults { // // Changes to this list must be reflected in the "CtsNNAPITests_static" // library to ensure CTS tests coverage. + // TODO(xusongw): Re-enable once b/141294076 is fixed. + // "TestUnspecifiedDimensions.cpp", "TestAssertions.cpp", "TestFree.cpp", "TestGenerated.cpp", @@ -65,8 +66,7 @@ cc_defaults { "TestOperandExtraParams.cpp", "TestTrivialModel.cpp", "TestUnknownDimensions.cpp", - // TODO(xusongw): Re-enable once b/141294076 is fixed. - // "TestUnspecifiedDimensions.cpp", + "TestValidateModel.cpp", "TestValidateOperations.cpp", "TestValidation.cpp", |