• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2018 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
17cc_defaults {
18    name: "VtsHalSensorsV2_XTargetTest-defaults",
19    cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
20    defaults: ["VtsHalTargetTestDefaults"],
21    srcs: [
22        "SensorsHidlEnvironmentV2_X.cpp",
23    ],
24    export_include_dirs: ["."],
25    header_libs: [
26        "android.hardware.sensors@2.X-shared-utils",
27    ],
28    shared_libs: [
29        "libbinder",
30    ],
31    static_libs: [
32        "android.hardware.sensors@1.0",
33        "android.hardware.sensors@1.0-convert",
34        "android.hardware.sensors@2.0",
35        "android.hardware.sensors@2.1",
36        "libfmq",
37        "VtsHalSensorsTargetTestUtils",
38    ],
39}
40
41cc_test_library {
42    name: "VtsHalSensorsV2_0TargetTest-lib",
43    defaults: ["VtsHalSensorsV2_XTargetTest-defaults"],
44}
45
46cc_test_library {
47    name: "VtsHalSensorsV2_1TargetTest-lib",
48    cflags: ["-DSENSORS_HAL_2_1"],
49    defaults: ["VtsHalSensorsV2_XTargetTest-defaults"],
50}
51