blob: 41d9521173ab2dae2621c79aade856e219d0254e [file] [log] [blame]
Michael Butlerb98aa6d2020-02-22 22:37:59 -08001//
2// Copyright (C) 2020 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
17cc_library_static {
18 name: "neuralnetworks_utils_hal_1_3",
19 defaults: ["neuralnetworks_utils_defaults"],
20 srcs: ["src/*"],
21 local_include_dirs: ["include/nnapi/hal/1.3/"],
22 export_include_dirs: ["include"],
Michael Butler4b276a72020-08-06 23:22:35 -070023 cflags: ["-Wthread-safety"],
Michael Butlerb98aa6d2020-02-22 22:37:59 -080024 static_libs: [
25 "neuralnetworks_types",
26 "neuralnetworks_utils_hal_common",
27 "neuralnetworks_utils_hal_1_0",
28 "neuralnetworks_utils_hal_1_1",
29 "neuralnetworks_utils_hal_1_2",
30 ],
31 shared_libs: [
32 "android.hardware.neuralnetworks@1.0",
33 "android.hardware.neuralnetworks@1.1",
34 "android.hardware.neuralnetworks@1.2",
35 "android.hardware.neuralnetworks@1.3",
36 ],
37 export_static_lib_headers: [
38 "neuralnetworks_utils_hal_common",
39 ],
40}
Michael Butler6e492a62020-12-10 15:38:45 -080041
42cc_test {
43 name: "neuralnetworks_utils_hal_1_3_test",
44 srcs: ["test/*.cpp"],
45 static_libs: [
46 "android.hardware.neuralnetworks@1.0",
47 "android.hardware.neuralnetworks@1.1",
48 "android.hardware.neuralnetworks@1.2",
49 "android.hardware.neuralnetworks@1.3",
50 "libgmock",
51 "libneuralnetworks_common",
52 "neuralnetworks_types",
53 "neuralnetworks_utils_hal_common",
54 "neuralnetworks_utils_hal_1_0",
55 "neuralnetworks_utils_hal_1_1",
56 "neuralnetworks_utils_hal_1_2",
57 "neuralnetworks_utils_hal_1_3",
58 ],
59 shared_libs: [
60 "android.hidl.allocator@1.0",
61 "android.hidl.memory@1.0",
62 "libbase",
63 "libcutils",
64 "libfmq",
65 "libhidlbase",
66 "libhidlmemory",
67 "liblog",
68 "libnativewindow",
69 "libutils",
70 ],
71 test_suites: ["general-tests"],
72}