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 := vtssysfuzzer 22LOCAL_MODULE_STEM_64 := fuzzer64 23LOCAL_MODULE_STEM_32 := fuzzer32 24LOCAL_MODULE_TAGS := optional 25LOCAL_CFLAGS += -Wall -Werror 26 27LOCAL_SRC_FILES := \ 28 VtsFuzzerMain.cpp \ 29 BinderServer.cpp \ 30 SocketServer.cpp \ 31 32LOCAL_C_INCLUDES := \ 33 bionic \ 34 libcore \ 35 device/google/gce/include \ 36 external/protobuf/src \ 37 frameworks/native/include \ 38 system/core/include \ 39 system/extras \ 40 test/vts/drivers/hal/common \ 41 test/vts/drivers/hal/framework \ 42 test/vts/drivers/libdrivercomm \ 43 44LOCAL_SHARED_LIBRARIES := \ 45 libutils \ 46 libcutils \ 47 liblog \ 48 libbinder \ 49 libdl \ 50 libandroid_runtime \ 51 libvts_common \ 52 libvts_drivercomm \ 53 libvts_multidevice_proto \ 54 libprotobuf-cpp-full \ 55 56LOCAL_MULTILIB := both 57 58include $(BUILD_EXECUTABLE) 59