| 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:=                                       \ | 
| Jerry Zhang | 487be61 | 2016-10-24 12:10:41 -0700 | [diff] [blame] | 22 | AsyncIO.cpp                           \ | 
| Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 23 | MtpDataPacket.cpp                     \ | 
|  | 24 | MtpDebug.cpp                          \ | 
| Jerry Zhang | 487be61 | 2016-10-24 12:10:41 -0700 | [diff] [blame] | 25 | MtpDevHandle.cpp                      \ | 
| Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 26 | MtpDevice.cpp                         \ | 
|  | 27 | MtpDeviceInfo.cpp                     \ | 
| Jerry Zhang | 487be61 | 2016-10-24 12:10:41 -0700 | [diff] [blame] | 28 | MtpEventPacket.cpp                    \ | 
|  | 29 | MtpFfsHandle.cpp                      \ | 
| Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 30 | MtpObjectInfo.cpp                     \ | 
| Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 31 | MtpPacket.cpp                         \ | 
| Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 32 | MtpProperty.cpp                       \ | 
| Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 33 | MtpRequestPacket.cpp                  \ | 
|  | 34 | MtpResponsePacket.cpp                 \ | 
|  | 35 | MtpServer.cpp                         \ | 
| Jerry Zhang | 487be61 | 2016-10-24 12:10:41 -0700 | [diff] [blame] | 36 | MtpStorage.cpp                        \ | 
| Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 37 | MtpStorageInfo.cpp                    \ | 
| Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 38 | MtpStringBuffer.cpp                   \ | 
| Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 39 | MtpUtils.cpp                          \ | 
| Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 40 |  | 
| Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 41 | LOCAL_MODULE:= libmtp | 
| Mike Lockwood | 16864ba | 2010-05-11 17:16:59 -0400 | [diff] [blame] | 42 |  | 
| Daichi Hirono | b3be006 | 2016-02-25 12:42:58 +0900 | [diff] [blame] | 43 | LOCAL_CFLAGS := -DMTP_DEVICE -DMTP_HOST -Wall -Wextra -Werror | 
| Mike Lockwood | 05a53a3 | 2010-06-29 16:42:13 -0400 | [diff] [blame] | 44 |  | 
| Jerry Zhang | 487be61 | 2016-10-24 12:10:41 -0700 | [diff] [blame] | 45 | LOCAL_SHARED_LIBRARIES := libbase libutils libcutils liblog libusbhost libbinder | 
| Mike Lockwood | d1b056a | 2010-12-29 08:32:32 -0500 | [diff] [blame] | 46 |  | 
|  | 47 | include $(BUILD_SHARED_LIBRARY) | 
| Jerry Zhang | 487be61 | 2016-10-24 12:10:41 -0700 | [diff] [blame] | 48 |  | 
|  | 49 | include $(call all-makefiles-under,$(LOCAL_PATH)) |