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