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 17LOCAL_PATH := $(call my-dir) 18 19include $(CLEAR_VARS) 20 21LOCAL_MODULE := vts_hal_agent 22LOCAL_MODULE_STEM_64 := vts_hal_agent64 23LOCAL_MODULE_STEM_32 := vts_hal_agent32 24LOCAL_MODULE_TAGS := optional 25 26LOCAL_CFLAGS += -Wall -Werror 27 28LOCAL_SRC_FILES := \ 29 VtsAgentMain.cpp \ 30 TcpServerForRunner.cpp \ 31 AgentRequestHandler.cpp \ 32 SocketClientToDriver.cpp \ 33 BinderClientToDriver.cpp \ 34 SocketServerForDriver.cpp \ 35 36LOCAL_SHARED_LIBRARIES := \ 37 libbase \ 38 libutils \ 39 libcutils \ 40 libbinder \ 41 libvts_common \ 42 libc++ \ 43 libvts_multidevice_proto \ 44 libprotobuf-cpp-full \ 45 libvts_drivercomm \ 46 47LOCAL_C_INCLUDES += \ 48 bionic \ 49 external/libcxx/include \ 50 frameworks/native/include \ 51 system/core/include \ 52 test/vts/agents/hal \ 53 test/vts/agents/hal/proto \ 54 test/vts/drivers/hal/common \ 55 test/vts/drivers/libdrivercomm \ 56 external/protobuf/src \ 57 58LOCAL_MULTILIB := both 59 60include $(BUILD_EXECUTABLE) 61