Michael Butler | bb4ff65 | 2017-07-28 19:53:28 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
Miao Wang | a2d04c8 | 2018-02-05 17:26:54 -0800 | [diff] [blame] | 17 | cc_library_static { |
| 18 | name: "VtsHalNeuralnetworksTest_utils", |
| 19 | srcs: [ |
| 20 | "Callbacks.cpp", |
Miao Wang | a2d04c8 | 2018-02-05 17:26:54 -0800 | [diff] [blame] | 21 | "GeneratedTestHarness.cpp", |
| 22 | ], |
| 23 | defaults: ["VtsHalTargetTestDefaults"], |
| 24 | export_include_dirs: ["."], |
| 25 | static_libs: [ |
| 26 | "android.hardware.neuralnetworks@1.0", |
| 27 | "android.hardware.neuralnetworks@1.1", |
Slava Shklyaev | 871be94 | 2018-09-12 14:52:02 +0100 | [diff] [blame] | 28 | "android.hardware.neuralnetworks@1.2", |
Miao Wang | a2d04c8 | 2018-02-05 17:26:54 -0800 | [diff] [blame] | 29 | "android.hidl.allocator@1.0", |
| 30 | "android.hidl.memory@1.0", |
Michael K. Sanders | 941d61a | 2018-10-19 14:39:09 +0100 | [diff] [blame^] | 31 | "libgmock", |
Miao Wang | a2d04c8 | 2018-02-05 17:26:54 -0800 | [diff] [blame] | 32 | "libhidlmemory", |
| 33 | "libneuralnetworks_utils", |
| 34 | ], |
| 35 | header_libs: [ |
| 36 | "libneuralnetworks_headers", |
| 37 | "libneuralnetworks_generated_test_harness_headers", |
| 38 | "libneuralnetworks_generated_tests", |
| 39 | ], |
| 40 | } |
| 41 | |
Michael Butler | bb4ff65 | 2017-07-28 19:53:28 -0700 | [diff] [blame] | 42 | cc_test { |
| 43 | name: "VtsHalNeuralnetworksV1_0TargetTest", |
Michael Butler | 0e2ac1b | 2017-09-01 10:59:38 -0700 | [diff] [blame] | 44 | srcs: [ |
Michael Butler | f76acd0 | 2018-03-22 16:37:57 -0700 | [diff] [blame] | 45 | "BasicTests.cpp", |
| 46 | "GeneratedTests.cpp", |
| 47 | "ValidateModel.cpp", |
| 48 | "ValidateRequest.cpp", |
| 49 | "ValidationTests.cpp", |
| 50 | "VtsHalNeuralnetworks.cpp", |
Michael Butler | 0e2ac1b | 2017-09-01 10:59:38 -0700 | [diff] [blame] | 51 | ], |
Tri Vo | 0cd9782 | 2017-08-04 10:55:31 -0700 | [diff] [blame] | 52 | defaults: ["VtsHalTargetTestDefaults"], |
| 53 | static_libs: [ |
Michael Butler | f76acd0 | 2018-03-22 16:37:57 -0700 | [diff] [blame] | 54 | "android.hardware.neuralnetworks@1.0", |
Slava Shklyaev | 871be94 | 2018-09-12 14:52:02 +0100 | [diff] [blame] | 55 | "android.hardware.neuralnetworks@1.1", |
| 56 | "android.hardware.neuralnetworks@1.2", |
Michael Butler | bb4ff65 | 2017-07-28 19:53:28 -0700 | [diff] [blame] | 57 | "android.hidl.allocator@1.0", |
| 58 | "android.hidl.memory@1.0", |
Michael K. Sanders | 941d61a | 2018-10-19 14:39:09 +0100 | [diff] [blame^] | 59 | "libgmock", |
Tri Vo | 0cd9782 | 2017-08-04 10:55:31 -0700 | [diff] [blame] | 60 | "libhidlmemory", |
Miao Wang | a2d04c8 | 2018-02-05 17:26:54 -0800 | [diff] [blame] | 61 | "libneuralnetworks_utils", |
| 62 | "VtsHalNeuralnetworksTest_utils", |
Michael Butler | bb4ff65 | 2017-07-28 19:53:28 -0700 | [diff] [blame] | 63 | ], |
I-Jui (Ray) Sung | 2c4e136 | 2017-09-06 02:15:54 -0700 | [diff] [blame] | 64 | header_libs: [ |
Miao Wang | a2d04c8 | 2018-02-05 17:26:54 -0800 | [diff] [blame] | 65 | "libneuralnetworks_headers", |
I-Jui (Ray) Sung | 2c4e136 | 2017-09-06 02:15:54 -0700 | [diff] [blame] | 66 | "libneuralnetworks_generated_test_harness_headers", |
| 67 | "libneuralnetworks_generated_tests", |
| 68 | ], |
Michael Butler | bb4ff65 | 2017-07-28 19:53:28 -0700 | [diff] [blame] | 69 | } |