Keith Mok | 4bf09f0 | 2021-08-31 03:59:11 +0000 | [diff] [blame] | 1 | // Copyright (C) 2021 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
| 19 | cc_test { |
| 20 | name: "libvehicle_binding_util_test", |
| 21 | defaults: [ |
| 22 | "vehicle_binding_util_defaults", |
| 23 | ], |
| 24 | test_suites: ["general-tests"], |
| 25 | srcs: [ |
| 26 | "VehicleBindingUtilTests.cpp", |
| 27 | ], |
| 28 | static_libs: [ |
| 29 | "libbase", |
| 30 | "libgmock", |
| 31 | "libgtest", |
| 32 | "libvehicle_binding_util", |
| 33 | ], |
| 34 | } |
| 35 | |
| 36 | cc_test { |
| 37 | name: "vehicle_binding_integration_test", |
| 38 | test_suites: [ |
| 39 | "device-tests", |
| 40 | "vts" |
| 41 | ], |
| 42 | require_root: true, |
| 43 | defaults: ["vehicle_binding_util_defaults"], |
| 44 | tidy: false, |
| 45 | srcs: [ |
| 46 | "VehicleBindingIntegrationTedt.cpp" |
| 47 | ], |
| 48 | shared_libs: [ |
| 49 | "android.hardware.automotive.vehicle@2.0", |
| 50 | "libbase", |
| 51 | "libbinder", |
| 52 | "libhidlbase", |
| 53 | "libutils", |
| 54 | ], |
| 55 | compile_multilib: "both", |
| 56 | multilib: { |
| 57 | lib32: { |
| 58 | suffix: "32", |
| 59 | }, |
| 60 | lib64: { |
| 61 | suffix: "64", |
| 62 | }, |
| 63 | }, |
| 64 | sanitize: { |
| 65 | address: false, |
| 66 | recover: [ "all" ], |
| 67 | }, |
| 68 | } |