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                  AsyncIO.cpp                           \
23                  MtpDataPacket.cpp                     \
24                  MtpDebug.cpp                          \
25                  MtpDevHandle.cpp                      \
26                  MtpDevice.cpp                         \
27                  MtpDeviceInfo.cpp                     \
28                  MtpEventPacket.cpp                    \
29                  MtpFfsHandle.cpp                      \
30                  MtpObjectInfo.cpp                     \
31                  MtpPacket.cpp                         \
32                  MtpProperty.cpp                       \
33                  MtpRequestPacket.cpp                  \
34                  MtpResponsePacket.cpp                 \
35                  MtpServer.cpp                         \
36                  MtpStorage.cpp                        \
37                  MtpStorageInfo.cpp                    \
38                  MtpStringBuffer.cpp                   \
39                  MtpUtils.cpp                          \
40
41LOCAL_MODULE:= libmtp
42
43LOCAL_CFLAGS := -DMTP_DEVICE -DMTP_HOST -Wall -Wextra -Werror
44
45LOCAL_SHARED_LIBRARIES := libbase libutils libcutils liblog libusbhost libbinder
46
47include $(BUILD_SHARED_LIBRARY)
48
49include $(call all-makefiles-under,$(LOCAL_PATH))
50