1// 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: [ 27 "use_libaidlvintf_gtest_helper_static", 28 "VtsHalSensorsDefaults", 29 "VtsHalTargetTestDefaults", 30 ], 31 srcs: [ 32 "VtsAidlHalSensorsTargetTest.cpp", 33 "SensorsAidlEnvironment.cpp", 34 ], 35 shared_libs: [ 36 "libbinder", 37 "libbinder_ndk", 38 "libvndksupport", 39 "libfmq", 40 "android.hardware.common-V2-ndk", 41 "android.hardware.common.fmq-V1-ndk", 42 ], 43 static_libs: [ 44 "android.hardware.sensors-V2-ndk", 45 "VtsHalSensorsTargetTestUtils", 46 "libaidlcommonsupport", 47 ], 48 test_suites: [ 49 "general-tests", 50 "vts", 51 ], 52} 53