Android.mk revision 57151f37d7c91e031e91f67a83ee49cad33b4867
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 19ifneq ($(TARGET_SIMULATOR),true) 20 21include $(CLEAR_VARS) 22 23LOCAL_SRC_FILES:= \ 24 MtpClient.cpp \ 25 MtpDataPacket.cpp \ 26 MtpDebug.cpp \ 27 MtpDevice.cpp \ 28 MtpEventPacket.cpp \ 29 MtpDeviceInfo.cpp \ 30 MtpObjectInfo.cpp \ 31 MtpPacket.cpp \ 32 MtpProperty.cpp \ 33 MtpRequestPacket.cpp \ 34 MtpResponsePacket.cpp \ 35 MtpServer.cpp \ 36 MtpStorageInfo.cpp \ 37 MtpStringBuffer.cpp \ 38 MtpStorage.cpp \ 39 MtpUtils.cpp \ 40 PtpCursor.cpp \ 41 42LOCAL_MODULE:= libmtp 43 44LOCAL_CFLAGS := -DMTP_DEVICE -DMTP_HOST 45 46include $(BUILD_STATIC_LIBRARY) 47 48endif 49 50