Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 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 | # |
Mike Lockwood | 53fbfed | 2010-07-15 15:01:17 -0400 | [diff] [blame] | 16 | |
Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 17 | LOCAL_PATH:= $(call my-dir) |
| 18 | |
| 19 | include $(CLEAR_VARS) |
| 20 | |
| 21 | LOCAL_SRC_FILES:= \ |
Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 22 | MtpDataPacket.cpp \ |
| 23 | MtpDebug.cpp \ |
Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 24 | MtpDevice.cpp \ |
Mike Lockwood | 873871f | 2010-07-12 18:54:16 -0400 | [diff] [blame] | 25 | MtpEventPacket.cpp \ |
Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 26 | MtpDeviceInfo.cpp \ |
Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 27 | MtpObjectInfo.cpp \ |
Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 28 | MtpPacket.cpp \ |
Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 29 | MtpProperty.cpp \ |
Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 30 | MtpRequestPacket.cpp \ |
| 31 | MtpResponsePacket.cpp \ |
| 32 | MtpServer.cpp \ |
Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 33 | MtpStorageInfo.cpp \ |
Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 34 | MtpStringBuffer.cpp \ |
| 35 | MtpStorage.cpp \ |
| 36 | MtpUtils.cpp \ |
Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 37 | |
Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 38 | LOCAL_MODULE:= libmtp |
Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 39 | |
Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 40 | LOCAL_CFLAGS := -DMTP_DEVICE -DMTP_HOST |
| 41 | |
David 'Digit' Turner | c7a8e24 | 2012-01-13 14:17:29 +0100 | [diff] [blame] | 42 | # Needed for <bionic_time.h> |
| 43 | LOCAL_C_INCLUDES := bionic/libc/private |
| 44 | |
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 45 | LOCAL_SHARED_LIBRARIES := libutils libcutils liblog libusbhost libbinder |
Mike Lockwood | d1b056a | 2010-12-29 08:32:32 -0500 | [diff] [blame] | 46 | |
| 47 | include $(BUILD_SHARED_LIBRARY) |