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// Utility code common for all HAL versions. 17cc_library { 18 name: "VtsHalNetNetdTestUtils", 19 srcs: [ 20 "VtsHalNetNetdTestUtils.cpp", 21 ], 22 export_include_dirs: ["."], 23 shared_libs: [ 24 "libandroid_net", 25 "libbase", 26 ], 27 cflags: [ 28 "-Og", 29 "-Wall", 30 "-Werror", 31 ], 32} 33 34// Common build settings for all HAL versions. 35cc_defaults { 36 name: "VtsHalNetNetdTestDefaults", 37 shared_libs: [ 38 "libandroid_net", 39 "libbase", 40 "libhidlbase", 41 "liblog", 42 "libutils", 43 ], 44 static_libs: [ 45 "VtsHalNetNetdTestUtils", 46 ], 47 cflags: [ 48 "-Og", 49 "-Wall", 50 "-Werror", 51 ], 52 defaults: ["VtsHalTargetTestDefaults"], 53} 54