blob: 3e9d5f7e8302842e7f3dc95baa8271e38653f85c [file] [log] [blame]
Michael Butlerbb4ff652017-07-28 19:53:28 -07001//
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 Wang4862d612018-02-05 17:26:54 -080017cc_library_static {
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010018 name: "VtsHalNeuralNetworksV1_0_utils",
Miao Wang4862d612018-02-05 17:26:54 -080019 srcs: [
20 "Callbacks.cpp",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010021 "Utils.cpp",
Miao Wang4862d612018-02-05 17:26:54 -080022 ],
23 defaults: ["VtsHalTargetTestDefaults"],
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010024 export_include_dirs: ["include"],
Miao Wange586a232019-01-22 13:57:14 -080025 shared_libs: [
Michael Butler29471a82019-01-15 11:02:55 -080026 "libfmq",
Miao Wange586a232019-01-22 13:57:14 -080027 "libnativewindow",
28 ],
Miao Wang4862d612018-02-05 17:26:54 -080029 static_libs: [
30 "android.hardware.neuralnetworks@1.0",
Miao Wang4862d612018-02-05 17:26:54 -080031 "android.hidl.allocator@1.0",
32 "android.hidl.memory@1.0",
Michael K. Sandersda3bdbc2018-10-19 14:39:09 +010033 "libgmock",
Miao Wang4862d612018-02-05 17:26:54 -080034 "libhidlmemory",
Xusong Wang7df43062019-08-09 16:38:14 -070035 "libneuralnetworks_generated_test_harness",
Miao Wang4862d612018-02-05 17:26:54 -080036 "libneuralnetworks_utils",
37 ],
38 header_libs: [
39 "libneuralnetworks_headers",
Miao Wang4862d612018-02-05 17:26:54 -080040 ],
41}
42
Michael Butler07633282019-08-29 11:08:25 -070043cc_test {
44 name: "VtsHalNeuralnetworksV1_0TargetTest",
Michael K. Sandersfc2b10e2018-11-07 15:53:28 +000045 defaults: ["VtsHalTargetTestDefaults"],
Michael Butler0e2ac1b2017-09-01 10:59:38 -070046 srcs: [
Michael Butler07633282019-08-29 11:08:25 -070047 "BasicTests.cpp",
Xusong Wangee80b022019-08-22 14:58:16 -070048 "TestAssertions.cpp",
Michael Butler7ed61352018-03-22 16:37:57 -070049 "ValidateModel.cpp",
50 "ValidateRequest.cpp",
Michael Butler7ed61352018-03-22 16:37:57 -070051 "VtsHalNeuralnetworks.cpp",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010052 "GeneratedTestHarness.cpp",
Michael Butler0e2ac1b2017-09-01 10:59:38 -070053 ],
Miao Wange586a232019-01-22 13:57:14 -080054 shared_libs: [
Michael Butler29471a82019-01-15 11:02:55 -080055 "libfmq",
Miao Wange586a232019-01-22 13:57:14 -080056 "libnativewindow",
57 ],
Tri Vo0cd97822017-08-04 10:55:31 -070058 static_libs: [
Michael Butler7ed61352018-03-22 16:37:57 -070059 "android.hardware.neuralnetworks@1.0",
Michael Butlerbb4ff652017-07-28 19:53:28 -070060 "android.hidl.allocator@1.0",
61 "android.hidl.memory@1.0",
Michael K. Sandersda3bdbc2018-10-19 14:39:09 +010062 "libgmock",
Tri Vo0cd97822017-08-04 10:55:31 -070063 "libhidlmemory",
Xusong Wang7df43062019-08-09 16:38:14 -070064 "libneuralnetworks_generated_test_harness",
Miao Wang4862d612018-02-05 17:26:54 -080065 "libneuralnetworks_utils",
Slava Shklyaev73ee79d2019-05-14 14:15:14 +010066 "VtsHalNeuralNetworksV1_0_utils",
Michael Butlerbb4ff652017-07-28 19:53:28 -070067 ],
Michael Butler07633282019-08-29 11:08:25 -070068 whole_static_libs: [
69 "neuralnetworks_generated_V1_0_example",
70 ],
I-Jui (Ray) Sung2c4e1362017-09-06 02:15:54 -070071 header_libs: [
Miao Wang4862d612018-02-05 17:26:54 -080072 "libneuralnetworks_headers",
I-Jui (Ray) Sung2c4e1362017-09-06 02:15:54 -070073 ],
Michael Butler58caa832019-02-07 13:22:30 -080074 test_suites: ["general-tests"],
Michael K. Sandersfc2b10e2018-11-07 15:53:28 +000075}