1# 2# Copyright (C) 2010 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_SRC_FILES:= \ 22 MtpDataPacket.cpp \ 23 MtpDebug.cpp \ 24 MtpDevice.cpp \ 25 MtpEventPacket.cpp \ 26 MtpDeviceInfo.cpp \ 27 MtpObjectInfo.cpp \ 28 MtpPacket.cpp \ 29 MtpProperty.cpp \ 30 MtpRequestPacket.cpp \ 31 MtpResponsePacket.cpp \ 32 MtpServer.cpp \ 33 MtpStorageInfo.cpp \ 34 MtpStringBuffer.cpp \ 35 MtpStorage.cpp \ 36 MtpUtils.cpp \ 37 38LOCAL_MODULE:= libmtp 39 40LOCAL_CFLAGS := -DMTP_DEVICE -DMTP_HOST -Wall -Wextra -Werror 41 42LOCAL_SHARED_LIBRARIES := libutils libcutils liblog libusbhost libbinder 43 44include $(BUILD_SHARED_LIBRARY) 45