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