Michael Butler | b98aa6d | 2020-02-22 22:37:59 -0800 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | cc_library_static { |
| 18 | name: "neuralnetworks_utils_hal_1_2", |
| 19 | defaults: ["neuralnetworks_utils_defaults"], |
| 20 | srcs: ["src/*"], |
| 21 | local_include_dirs: ["include/nnapi/hal/1.2/"], |
| 22 | export_include_dirs: ["include"], |
Michael Butler | 4b276a7 | 2020-08-06 23:22:35 -0700 | [diff] [blame^] | 23 | cflags: ["-Wthread-safety"], |
Michael Butler | b98aa6d | 2020-02-22 22:37:59 -0800 | [diff] [blame] | 24 | static_libs: [ |
| 25 | "neuralnetworks_types", |
| 26 | "neuralnetworks_utils_hal_common", |
| 27 | "neuralnetworks_utils_hal_1_0", |
| 28 | "neuralnetworks_utils_hal_1_1", |
| 29 | ], |
| 30 | shared_libs: [ |
| 31 | "android.hardware.neuralnetworks@1.0", |
| 32 | "android.hardware.neuralnetworks@1.1", |
| 33 | "android.hardware.neuralnetworks@1.2", |
| 34 | ], |
| 35 | export_static_lib_headers: [ |
| 36 | "neuralnetworks_utils_hal_common", |
| 37 | ], |
| 38 | } |