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_defaults { 18 name: "VtsTestabilityCheckerDefaults", 19 shared_libs: [ 20 "libbase", 21 "libcutils", 22 "libhidlbase", 23 "liblog", 24 "libselinux", 25 "libtinyxml2", 26 "libutils", 27 "libz", 28 ], 29 static_libs: [ 30 "libvintf", 31 "libhidl-gen-utils", 32 ], 33 cflags: [ 34 "-Wall", 35 "-Werror", 36 ], 37} 38 39cc_library { 40 name: "libvts_testability_checker", 41 defaults : ["VtsTestabilityCheckerDefaults"], 42 srcs: ["VtsTestabilityChecker.cpp"], 43} 44 45cc_test { 46 name: "libvts_testability_checker_test", 47 defaults : ["VtsTestabilityCheckerDefaults"], 48 srcs: ["VtsTestabilityCheckerTest.cpp"], 49 50 static_libs: [ 51 "libgmock", 52 "libvts_testability_checker", 53 ], 54} 55 56cc_binary { 57 name: "vts_testability_checker", 58 defaults : ["VtsTestabilityCheckerDefaults"], 59 srcs: ["VtsTestabilityCheckerMain.cpp"], 60 multilib: { 61 lib64: { 62 suffix: "64", 63 }, 64 lib32: { 65 suffix: "32", 66 }, 67 }, 68 compile_multilib: "both", 69 static_libs: [ 70 "libhidl-gen-utils", 71 "libjsoncpp", 72 "libvts_testability_checker", 73 ], 74} 75