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 "SensorsHidlEnvironmentBase.cpp", 24 "SensorsHidlTestBase.cpp", 25 "SensorsTestSharedMemory.cpp", 26 ], 27 export_include_dirs: [ 28 "include", 29 ], 30 local_include_dirs: [ 31 "include/sensors-vts-utils", 32 ], 33 static_libs: [ 34 "android.hardware.graphics.allocator@2.0", 35 "android.hardware.graphics.allocator@3.0", 36 "android.hardware.graphics.mapper@2.0", 37 "android.hardware.graphics.mapper@2.1", 38 "android.hardware.graphics.mapper@3.0", 39 "android.hardware.sensors@1.0", 40 ], 41} 42