• 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_library_static {
18    name: "VtsHalSensorsTargetTestUtils",
19    defaults: ["VtsHalTargetTestDefaults"],
20    cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
21    srcs: [
22        "GrallocWrapper.cpp",
23    ],
24    export_include_dirs: [
25        "include",
26    ],
27    local_include_dirs: [
28        "include/sensors-vts-utils",
29    ],
30    shared_libs: [
31        "libutils",
32    ],
33    static_libs: [
34        "android.hardware.sensors@1.0",
35        "android.hardware.sensors@2.0",
36        "android.hardware.sensors@2.1",
37    ],
38    whole_static_libs: [
39        "android.hardware.graphics.allocator@2.0",
40        "android.hardware.graphics.allocator@3.0",
41        "android.hardware.graphics.allocator@4.0",
42        "android.hardware.graphics.mapper@2.0",
43        "android.hardware.graphics.mapper@2.1",
44        "android.hardware.graphics.mapper@3.0",
45        "android.hardware.graphics.mapper@4.0",
46    ],
47}
48