Tomasz Wasilczyk | 0ec8d63 | 2019-07-12 11:43:44 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 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_defaults { |
| 18 | name: "android.hardware.automotive.can@vts-defaults", |
Tomasz Wasilczyk | f9e869e | 2020-01-02 14:12:21 -0800 | [diff] [blame] | 19 | defaults: [ |
| 20 | "VtsHalTargetTestDefaults", |
| 21 | "android.hardware.automotive.can@defaults", |
| 22 | ], |
Tomasz Wasilczyk | 0ec8d63 | 2019-07-12 11:43:44 -0700 | [diff] [blame] | 23 | header_libs: [ |
| 24 | "android.hardware.automotive.can@hidl-utils-lib", |
Tomasz Wasilczyk | 0ec8d63 | 2019-07-12 11:43:44 -0700 | [diff] [blame] | 25 | ], |
| 26 | static_libs: [ |
| 27 | "android.hardware.automotive.can@1.0", |
Tomasz Wasilczyk | f9e869e | 2020-01-02 14:12:21 -0800 | [diff] [blame] | 28 | "android.hardware.automotive.can@vts-utils-lib", |
Tomasz Wasilczyk | 0ec8d63 | 2019-07-12 11:43:44 -0700 | [diff] [blame] | 29 | "libgmock", |
| 30 | ], |
| 31 | test_suites: ["general-tests"], |
| 32 | } |
| 33 | |
| 34 | cc_test { |
| 35 | name: "VtsHalCanControllerV1_0TargetTest", |
| 36 | defaults: ["android.hardware.automotive.can@vts-defaults"], |
| 37 | srcs: ["VtsHalCanControllerV1_0TargetTest.cpp"], |
| 38 | } |
| 39 | |
| 40 | cc_test { |
| 41 | name: "VtsHalCanBusV1_0TargetTest", |
| 42 | defaults: ["android.hardware.automotive.can@vts-defaults"], |
| 43 | srcs: ["VtsHalCanBusV1_0TargetTest.cpp"], |
| 44 | } |
| 45 | |
| 46 | cc_test { |
| 47 | name: "VtsHalCanBusVirtualV1_0TargetTest", |
| 48 | defaults: ["android.hardware.automotive.can@vts-defaults"], |
| 49 | srcs: ["VtsHalCanBusVirtualV1_0TargetTest.cpp"], |
| 50 | } |