1// 2// Copyright (C) 2017 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 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21cc_library_static { 22 name: "VtsHalHidlTestUtils", 23 srcs : [ 24 "VtsHalHidlTargetCallbackBase.cpp", 25 "VtsCoreUtil.cpp", 26 ], 27 28 vendor_available: true, 29 cflags: ["-Wall", "-Werror"], 30 31 shared_libs: [ 32 "libhidl-gen-utils", 33 "libhidlbase", 34 "liblog", 35 "libcutils", 36 ], 37 38 static_libs : [ 39 "libgtest", 40 "libutils", 41 ], 42 export_include_dirs: ["."], 43 export_static_lib_headers: [ 44 "libgtest", 45 "libutils", 46 ], 47} 48 49// TODO: Delete this library after all tests using VtsHalHidlTargetTestBase 50// are converted or obsoleted. 51cc_library_static { 52 name: "VtsHalHidlTargetTestBase", 53 srcs : [ 54 "VtsHalHidlTargetTestBase.cpp", 55 "VtsHalHidlTargetCallbackBase.cpp", 56 "VtsHalHidlTargetTestEnvBase.cpp", 57 "VtsCoreUtil.cpp", 58 ], 59 60 cflags: ["-Wall", "-Werror"], 61 62 shared_libs: [ 63 "libhidl-gen-utils", 64 "libhidlbase", 65 "liblog", 66 "libcutils", 67 ], 68 69 static_libs : [ 70 "libgtest", 71 "libutils", 72 ], 73 export_include_dirs: ["."], 74 export_static_lib_headers: [ 75 "libgtest", 76 "libutils", 77 ], 78} 79