blob: b7e1a2a145329e121a5c90da0f64ef5711503d78 [file] [log] [blame]
Mike Lockwood16864ba2010-05-11 17:16:59 -04001#
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 Lockwood53fbfed2010-07-15 15:01:17 -040016
Mike Lockwood16864ba2010-05-11 17:16:59 -040017LOCAL_PATH:= $(call my-dir)
18
Andy McFadden59208db2010-07-20 08:18:43 -070019ifneq ($(TARGET_SIMULATOR),true)
20
Mike Lockwood16864ba2010-05-11 17:16:59 -040021include $(CLEAR_VARS)
22
23LOCAL_SRC_FILES:= \
Mike Lockwood05a53a32010-06-29 16:42:13 -040024 MtpClient.cpp \
Mike Lockwood16864ba2010-05-11 17:16:59 -040025 MtpDataPacket.cpp \
26 MtpDebug.cpp \
Mike Lockwood05a53a32010-06-29 16:42:13 -040027 MtpDevice.cpp \
Mike Lockwood873871f2010-07-12 18:54:16 -040028 MtpEventPacket.cpp \
Mike Lockwood05a53a32010-06-29 16:42:13 -040029 MtpDeviceInfo.cpp \
Mike Lockwood05a53a32010-06-29 16:42:13 -040030 MtpObjectInfo.cpp \
Mike Lockwood16864ba2010-05-11 17:16:59 -040031 MtpPacket.cpp \
Mike Lockwood05a53a32010-06-29 16:42:13 -040032 MtpProperty.cpp \
Mike Lockwood16864ba2010-05-11 17:16:59 -040033 MtpRequestPacket.cpp \
34 MtpResponsePacket.cpp \
35 MtpServer.cpp \
Mike Lockwood05a53a32010-06-29 16:42:13 -040036 MtpStorageInfo.cpp \
Mike Lockwood16864ba2010-05-11 17:16:59 -040037 MtpStringBuffer.cpp \
38 MtpStorage.cpp \
39 MtpUtils.cpp \
Mike Lockwood57151f32010-11-22 12:57:57 -050040 PtpCursor.cpp \
Mike Lockwood16864ba2010-05-11 17:16:59 -040041
Mike Lockwood05a53a32010-06-29 16:42:13 -040042LOCAL_MODULE:= libmtp
Mike Lockwood16864ba2010-05-11 17:16:59 -040043
Mike Lockwood05a53a32010-06-29 16:42:13 -040044LOCAL_CFLAGS := -DMTP_DEVICE -DMTP_HOST
45
46include $(BUILD_STATIC_LIBRARY)
Mike Lockwood53fbfed2010-07-15 15:01:17 -040047
48endif
Mike Lockwoodbe9a95c2010-07-19 09:01:57 -040049