2018-10-09 18:56:03 +02:00
|
|
|
//
|
|
|
|
// Copyright (C) 2018 The Android Open Source Project
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2021-02-13 05:13:01 +01:00
|
|
|
package {
|
|
|
|
// See: http://go/android-license-faq
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
|
|
// to get the below license kinds:
|
|
|
|
// SPDX-license-identifier-Apache-2.0
|
|
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
|
|
}
|
|
|
|
|
2018-10-09 18:56:03 +02:00
|
|
|
cc_test {
|
|
|
|
name: "VtsHalSensorsV2_0TargetTest",
|
2019-06-20 01:23:02 +02:00
|
|
|
cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
|
2022-06-09 21:37:53 +02:00
|
|
|
defaults: [
|
|
|
|
"VtsHalSensorsDefaults",
|
|
|
|
"VtsHalTargetTestDefaults",
|
|
|
|
],
|
2022-02-18 06:56:13 +01:00
|
|
|
tidy_timeout_srcs: [
|
|
|
|
"VtsHalSensorsV2_0TargetTest.cpp",
|
|
|
|
],
|
2018-10-09 18:56:03 +02:00
|
|
|
srcs: [
|
2020-02-06 01:49:59 +01:00
|
|
|
"VtsHalSensorsV2_0TargetTest.cpp",
|
|
|
|
],
|
|
|
|
header_libs: [
|
|
|
|
"android.hardware.sensors@2.X-shared-utils",
|
2018-10-09 18:56:03 +02:00
|
|
|
],
|
2022-06-09 21:37:53 +02:00
|
|
|
shared_libs: [
|
|
|
|
"libbinder_ndk",
|
|
|
|
],
|
2018-10-09 18:56:03 +02:00
|
|
|
static_libs: [
|
|
|
|
"android.hardware.sensors@1.0",
|
2020-02-06 01:49:59 +01:00
|
|
|
"android.hardware.sensors@1.0-convert",
|
2018-10-09 18:56:03 +02:00
|
|
|
"android.hardware.sensors@2.0",
|
2020-02-06 01:49:59 +01:00
|
|
|
"android.hardware.sensors@2.1",
|
2018-10-10 02:10:01 +02:00
|
|
|
"libfmq",
|
2020-02-19 18:43:57 +01:00
|
|
|
"VtsHalSensorsV2_0TargetTest-lib",
|
2020-02-06 01:49:59 +01:00
|
|
|
],
|
|
|
|
test_suites: [
|
|
|
|
"general-tests",
|
2020-09-26 05:59:17 +02:00
|
|
|
"vts",
|
2018-10-09 18:56:03 +02:00
|
|
|
],
|
|
|
|
}
|