1// 2// Copyright (C) 2016 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_binary { 18 name: "vts_hal_agent", 19 multilib: { 20 lib64: { 21 stem: "vts_hal_agent64", 22 }, 23 lib32: { 24 stem: "vts_hal_agent32", 25 }, 26 }, 27 28 cflags: [ 29 "-Wall", 30 "-Werror", 31 ], 32 33 srcs: [ 34 "VtsAgentMain.cpp", 35 "TcpServerForRunner.cpp", 36 "AgentRequestHandler.cpp", 37 "SocketClientToDriver.cpp", 38 "BinderClientToDriver.cpp", 39 "SocketServerForDriver.cpp", 40 ], 41 42 shared_libs: [ 43 "libbase", 44 "libutils", 45 "libcutils", 46 "libbinder", 47 "libvts_common", 48 "libc++", 49 "libvts_multidevice_proto", 50 "libprotobuf-cpp-full", 51 "libvts_drivercomm", 52 ], 53 54 include_dirs: [ 55 "bionic", 56 "external/libcxx/include", 57 "frameworks/native/include", 58 "system/core/include", 59 "test/vts/agents/hal", 60 "test/vts/drivers/hal/common", 61 "test/vts/drivers/libdrivercomm", 62 "external/protobuf/src", 63 ], 64 65 compile_multilib: "both", 66} 67