blob: f3972ec2a309d586b390336ca6549ba74a734d9c [file] [log] [blame]
Arthur Ishiguroc7ac0b22021-10-13 16:12:37 +00001// Copyright 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
15package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "hardware_interfaces_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["hardware_interfaces_license"],
22}
23
24cc_test {
25 name: "VtsAidlHalSensorsTargetTest",
26 defaults: [
Arthur Ishiguroc7ac0b22021-10-13 16:12:37 +000027 "use_libaidlvintf_gtest_helper_static",
Brian Duddiec3253372022-06-09 12:37:53 -070028 "VtsHalSensorsDefaults",
29 "VtsHalTargetTestDefaults",
Arthur Ishiguroc7ac0b22021-10-13 16:12:37 +000030 ],
31 srcs: [
32 "VtsAidlHalSensorsTargetTest.cpp",
33 "SensorsAidlEnvironment.cpp",
34 ],
35 shared_libs: [
36 "libbinder",
37 "libbinder_ndk",
Grace Cheng629b3a42022-01-06 12:19:17 +000038 "libvndksupport",
Arthur Ishiguroc7ac0b22021-10-13 16:12:37 +000039 "libfmq",
40 "android.hardware.common-V2-ndk",
41 "android.hardware.common.fmq-V1-ndk",
42 ],
43 static_libs: [
44 "android.hardware.sensors-V1-ndk",
45 "VtsHalSensorsTargetTestUtils",
Grace Cheng629b3a42022-01-06 12:19:17 +000046 "libaidlcommonsupport",
Arthur Ishiguroc7ac0b22021-10-13 16:12:37 +000047 ],
48 test_suites: [
49 "general-tests",
50 "vts",
51 ],
52}